Skip to Content
avatar image
Former Member

Using EVMSTA02 IDOC to Update EE Event

Could I please get an example EVMSTA02 IDOC of what is required to update the Expected Event Date on an EE? I've attempted a few attempts  with no success.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 21, 2015 at 03:49 PM

    Jacob,

    Here is a snippet of the IDoc mapping template I put together to map a shipment status notification message to the idoc. The E1EVMEEM segment carriers the new ETA date that updates the corresponding SHP_DELIVERED event.

    The key fields required are as follows:

    1. MODCNT = 1 (If there is only 1 Expected Event to change for this event - Otherwise increment accordingly)
    2. EVTID - The Event ID you wish to update
    3. EVTACT = U : Update
    4. ETXDAT, ETXTIM, ETXZON - Event date, time and zone
    5. MSGDAT, MSGTIM, MSGZON - Message date, time and zone

    Also be sure to run activity EVM_EE_UPDATE in your ruleset for the event that is to make the EE change.

    If you are still experiencing issues then look at the return code for EVM_EE_UPDATE and go from there.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 24, 2015 at 06:29 AM

    Hi Jacob,

    go to transaction /N/SAPTRX/TSC0TR and check docu of activity method EVM_EE_UPDATE.

    There you find also an example.

    Best regards,

    Steffen

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 24, 2015 at 02:45 PM

    I realized that I was misunderstanding how the EE would need to get updated. I was trying to utilize the same same internal event code in order to update the EE date and time. However in order to do this we would have to have rules in place to only post when the IDOC doesn't contain any EE information.

    What appears to make more sense is to have an Update_EE_Date event that will be posted as an unexpected event and then using the ruleset will update the specified EE data.

    Thanks for the help and understanding. 😊

    Add comment
    10|10000 characters needed characters exceeded