Skip to Content
avatar image
Former Member

automatic triggering of events

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 12, 2013 at 08:14 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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