on 11-26-2014 11:04 AM
Hi,
I have requirement to create a Function Module to update dates and status of events like PGI, POD from SAP EM to SAP TM. I am referring to standard function module in EM, /SAPTRX/TMS_CHANGE_EXEC_INF. How to run and this standard function module? Please let me know how to do the same?
With Regards
Gaurav
Hi Gaurav,
You will have to delete the value of parameter LV_IN_BACKGROUND, only then you will be able to execute this in foreground.
As per my knowledge this function module is only for the event 'Delay', you will have to enhance this FM for PGI and POD.
Regards,
Prabhav Tandon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
rule set activity TM_MAINTAIN_EXEC_INF can in general be used to propagate any event message from EM to TM (and not only DELAYED event messages). Therefore nothing special has to be done to propagate PGI and POD event messages as well - of course the rule set has to be configured accordinlgy. Check out what has been done to propagate the standard event message like DEPARTURE - similar set-up should work for PGI and POD as well.
The idea behing the local variable LV_IN_BACKGROUND, which is set to 'X' is the following:
Why the described dump occurs, I cannot say. But I do not think that this is an issue specific for the EM-TM integration.
Cheers, Daniel
Hi Denial,
My requirement is, i have set of events that i have to post from EM to TM. I have to create custom function module for the same. One option is to copy this standard function module TM_MAINTAIN_EXEC_INF add my custom events as done for delay. As i have understood that this function module run in background. How will i debug this function module, to it sure that its working fine?
With Regards
Gaurav
Hi Daniel,
I am posting event POD(proof of Delivery) from EM to TM. Its giving me dump "QOUT_QIN_MODE_MISMATCH". How to resolve this issue?
With Regards
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
When POD send, it would have called QOUT and QIN within the application in a LUW that has the same destination.
Can you check this OSS note 584926 - QOUT_QIN_MODE_MISMATCH short dump.
Regards
GGOPII
Hi,
the standard rule set activity TM_MAINTAIN_EXEC_INF (which is based on FM /SAPTRX/TMS_CHANGE_EXEC_INF) can be used to propagate event messages to a related freight document (TOR) in SAP TM. This will create or update entries in the node EXECUTIONINFORMATION of the TOR object. If you only want to propagate these events from SAP EM to SAP TM, the rule set activity can be used straightforward. You can check one of the delivered multitask activities, e.g. ODT30_TO_DEPART, how this can be done.
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.
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.