cancel
Showing results for 
Search instead for 
Did you mean: 

automatic triggering of events

former_member193027
Participant
0 Kudos

hi,

We have a requirement that when a certain activity is performed in TM business object , automatically an event should be generated.

How do we crater to such requirement

Accepted Solutions (1)

Accepted Solutions (1)

former_member186607
Active Contributor
0 Kudos

Hi Dipak,

to create a new event a new instance of EXECUTIONINFORMATION node has to be created. You can check helper method /SCMTMS/CL_TOR_HELPER_EVENT=>REPORT_EVENT if this helper method fits for your purpose. If you provide all the necessary data, new events can then be created by this helper method. The method then coud e.g. be called in a "After Modify" determination to react on a certain change.

Best regards, Daniel

former_member193027
Participant
0 Kudos

hi,

thanks for the response.

However can you provide some examples to understand the same.

Lastly is there any configuration which we need to update to achive this functionality.

former_member186607
Active Contributor
0 Kudos

Hi Dipak,

if you want to send these events to SAP EM as well, the corresponding event types have to be defined for the business process type in the TM customizing "Define Used Business Process Types" (transaction /SAPTRX/ASC0AO).

The event that you generate should be defined in the TM customizing "Define Transportation Activities for Tracking and Tracing".

Best regards, Daniel

Answers (0)