Quantcast
Channel: SCN : Unanswered Discussions - Supply Chain Management (SAP SCM)
Viewing all articles
Browse latest Browse all 5579

Required Event Message Count after posting Event

$
0
0

Hi Gurus,

 

        I need total number of event message posted for Event handler if its exceeds the limit(Example 25 Event Message).I need to trigger an alert.

I hope we can do this by rule set.

 

1.   I got existing event handlers information form the below code

 

       wa_eh_data = i_eai-eh_model->eh_data( it_tables ) .

 

2.In wa_eh_data-EVMSG i got all the existing event message but not the current one.

 

3.we get current event message information from i_eai-event_msg

 

4.we can sum up

  Total no of Event message =   wa_eh_data-Evmsg( Existing event message) + i_eai-event_msg (Current Event Message)

 

5.if Total no of Event message > 25 Alert is triggered

 

6.My concern here is after 25 message.If multiple event message is posted.Mail will get triggered for each message as per rule set.

 

7.Is there any possibility to control this ? multiple event message ?

 

Please let me know my approach is correct.


Viewing all articles
Browse latest Browse all 5579

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>