on 07-15-2015 4:56 PM
Hi experts,
In this first Project Phase and before interfacing the System with external suppliers, we are using a custom program that posts LOAD-END events on the FUs on the expected event date (as coming from regular schedules). We are calling BAPI /SAPTRX/BAPI_EH_ADDEVENTMSG_02 and calling BAPI_TRANSACTION_COMMIT, but the Event of the FU does not get persisted on node EXEC.
Have debugged the coding and it goes through all the event postings and it looks like the event is there. But, no Status updates and no Propagation to the FO. FU type has the correct propagation and EM settings. When you choose manually the button "Report Event", the execution Status on the FU is set to "loading in process" and the FO receives a load Event for the same stop and the execution Status is set to "loading in process" (only one FU for this stop).
Please can you give me a tip what to Change in my coding, so that I can get the event into the node. I will reward Points quickly for correct answers.
Thanks
Petra
Hi Petra,
normally this should work like this. The call of 'BAPI_TRANSACTION_COMMIT' should take care that the remote function call of FM '/SCMTMS/EXECINFO_PROCESS' is executed in SAP TM, which will persist the execution information, which should trigger the propagation...
Did you now already check the inbound queue in SAP TM (TA: SMQ2)? Any pending entries? 'EM*' queues are activated?
Best regards, Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Daniel,
we had a few Errors and we deleted those entries. Then, we re-processed a new example. Again a Queue entry was created. When we re-processed this entry manually, the statuses were updated. We need to achieve this automatically. How can we achieve that the Queues are processed without a Manual Trigger? Why does te whole Queue get locked when an error has happened on a previous Queue? Is it correct to keep the EM Queues de-registered. Shall I only register it when I want to debug?
Thanks so much for your on-going help and advise. Ist highly appreciated.
Petra
My findings:
Queue has to be registered.
Add a Task that checks for duplicate processing in the Event tasks
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.