cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying Expected event date & time

Affan_alavi
Explorer
0 Kudos

Hi,

Can someone give me pointers on how to update the expected event date & time whenever these dates/times are changed in ECC, without the need to trigger an event in EM.

For example suppose we are taking the expected shipment start date & time from the planning section of the shipment document in ECC.

Now if someone changes the planned value of date or time, how do i trasfer it to EM without having to trigger an event in ECC?

Alternatively is there a way to have an event for an event handler but not display it in the list of expected events or unexpected events?

Thanks in Advance..

Regards,

Affan

Accepted Solutions (1)

Accepted Solutions (1)

Berthold_vH
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Affan,

if in your example the Event Handler is not created based on the shipment I don't think there is a way to do it without using an Event Message.

What you can do is the following: Create an Event Message as normal and fill the structure with your updated expected event date and time.

In the rule set on EM side first call the activity EVM_EE_UPDATE to update the expected events and afterwards the activity QUIT_EVM_PROCESSING.

Using this method you will not see the event as an unexpected event in the Event Handler Overview list. But just be aware that still the data will be stored in the DB so don't forget to archive also these Event Messages

Best regards

Berthold

Answers (1)

Answers (1)

former_member583013
Active Contributor
0 Kudos

Affan,

Berthold is correct in his answer but I'll just add that it is the standard way to communicate with SAP EM via an event message. You have 2 ways, 1 to run through the AOT -> EH generation again (not recommended) and the second is via a change event as described by Berthold. This is what you should do - You should not deviate from this - If someone is telling you differently then please refer them to this forum posting and tell them to list the reasons why they feel the need to do it differently.

Thanks

Kevin