cancel
Showing results for 
Search instead for 
Did you mean: 

Using EVMSTA02 IDOC to Update EE Event

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

kevin_wilson2
Contributor
0 Kudos

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.

Former Member
0 Kudos

Kevin,

Thanks for the reply this provide me with some additional information I was missiong. However, I'm having issues with even getting my IDOC to post. In WE60 I'm getting 'IDoc not posted; check IDoc settings and send the event message again'.

This is the data I'm including in my test IDOC:

kevin_wilson2
Contributor
0 Kudos

You are missing all the details in the Header segment. Here is an example.

If that is still not working - Check your entries in the partner profile match up with the control record of the IDoc.

Former Member
0 Kudos

Hi Jacob,

If you have access to SAP Service Marketplace access then go to this link https://websmp102.sap-ag.de/~sapidb/011000358700002439552003E/EvtMgeInput-SAPEM-40_v11.pdf

Download the PDF and go to page number 41.  You can find all the answers what you need and how to post and mandatory fields.

Go to page no 44 and testing of IDOC section. It can give you required section to fill in the IDOC as well.

Check and let me know.

Regards


GGOPII

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

former_member190756
Active Contributor
0 Kudos

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