on 07-14-2015 12:08 PM
hi experts,
when posting the Standard Event LOAD_END using Fm /SAPTRX/BAPI_EH_ADDEVENTMSG_02,, the Event is posted correctly against the expected Event in the FU, but the execution Status is not updated. Also, the Event is not propagated to the related freight order.
have run the Trigger Report /SCMTMS/PROCESS_TRIGGER_BGD, but no effect. But, when I select the same Event and choose "Report Event", all updates happen as they should be.
What field in the BAPI do I have to fill, so that this "Report Event" is done in Background while posting automatically?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Petra,
for me this sounds as if the propagation from EM to TM did not happen. In this case you will still be able to see "green status" for the expected event in TM execution tab - but the execution info is read from SAP EM and not persisted in SAP TM. Can you check this? -> field "Source of Exec. Information" on the TM execution tab.
If this is the case this can have several root causes. have you already checked the TM inbound queues starting with EM*? Please check the troubleshooting guide for more info, on what could be the root cause: http://scn.sap.com/docs/DOC-61452
Best regards, Daniel
Daniel,
yes, have checked the Queue. No entries for this FU. The source of the info is propagated from SAP EM. The Event info is persisted correctly into the EXECUTIONINFORMATION_TR Node. Have checked that as advised in your guide. When I post "Report Event" manually, all Status updates happen and the Propagation to the FO too. It seems I must have Chosen a wrong entry in the BAPI. Have set it as synchronous. Is that ok?
Daniel,
I am using BAPI /SAPTRX/BAPI_EH_ADDEVENTMSG_02 to post the events. We are using TM and EM on the same machine. Have read your guide and checked all the customizing and the rest of the tips. But, the customizing is as described in your guide. The event looks correct on the exec tab and the node is there. But, the Status updates do not happen without pressing "Report Event".
Regards
Petra
Hi,
you have mentioned above that "The Event info is persisted correctly into the EXECUTIONINFORMATION_TR" -> this is a transient node, so nothing will be persisted here. Please check node EXECUTIONINFORMATION (you can reach it via association EXEC) instead.
Can you please explain in more detail, when/how this coding is executed. Maybe the COMMIT is missing? Is this only used for test purposes? How is it called?
Best regards, Daniel
Hi Daniel,
Have checked the FU and node EXEC and indeed there is nothing in node EXEC. This report is used to set events to loaded automatically when a certain time is reached. We use it in a first phase to have the load events and the related statuses updated as loaded on the same time as they were planned in the schedule. Maybe, the commit is missing. Which coding would I have to add to it to test this idea. the developper will only work tomorrow morning, but I can change the coding to test if this works. We are already live and this has to work "yesterday".
Thanks so much for your on-going help.
Regards
Petra
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.