cancel
Showing results for 
Search instead for 
Did you mean: 

How to Post an Expected Event Message from RuleSet

Former Member
0 Kudos

Hello.

I receive an unexpected event.

In my RuleSet I want to use this event to update another Expected Event with the same reported (actual) date to the same AOT.

I tried Activity Function 'RESEND' but can't get it to work so far.

Any ideas?

Thanks.

Zenon.

Accepted Solutions (1)

Accepted Solutions (1)

former_member190756
Active Contributor
0 Kudos

Hello Zenon,

Event Messages from the Rule Set are only working if you sent them to different EH (architectural reasons there are reuse of some instance for performance). If you want to change data on the same EH an own activity is the better solution.

Best regards,

Steffen

Former Member
0 Kudos

I'll create an Activity that calls /SAPTRX/BAPI_EH_ADDEVENTMSG_2  with the Expected Event Message.   It looks like this is what RESEND is doing, so I guess I'm going to have problems.

former_member190756
Active Contributor
0 Kudos

If you try to send the message to the same EH you will get problems.

Former Member
0 Kudos

I created a custom activity that calls  /SAPTRX/BAPI_EH_ADDEVENTMSG_2  as a Background Task.

Looks ok so far..  Testing, testing, testing..

Answers (0)