Skip to Content
author's profile photo Former Member
Former Member

Freight Order Update with Execution Information

Hello Experts,

We need to update the Freight Order document with the Execution information stored through a Z-Table , we need to update through the Execution tab in Freight Order , is there a standard Function module that can help in such Requirement.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2014 at 07:43 AM

    Hi,

    Z - Table contains the following fields:

    Freight Order number , Source Location , Destination Location , Source location coordinates (Longitude & latitude) Actual Departure , Actual Arrival , whereas a customized job run to compare the truck actual coordinates coming from a GPS tracking system from /SCMTMS/RES_POS with Coordinates of Source and destination as to calculate the Actual arrival time and Departure.

    when such calculation is done we need to update the /SCMTMS/D_TOREXE with actual departure and arrival through a standard way.


    Reference to the document attached , /SCMTMS/CL_TOR_A_PROC_EXEC could be used with method /BOBF/IF_FRW_ACTION~EXECUTE. .


    Just to Check is such method used to update /SCMTMS/D_TOREXE with the Execution information., if not what is the method for that.


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      methods of class /SCMTMS/CL_TOR_A_PROC_EXEC (actions EXECUTIONINFORMATION->PROCESS_EXEC_INFO and EXECUTIONINFORMATION->PROPAGATE_EXEC_INFO) are used to process the standard updates triggered by new/updated execution information and to propagate it to related freight documents.

      If you want to create new entries in EXECUTIONINFORMATION (and therefore in /SCMTMS/D_TOREXE) you can try tu use action EXECUTIONINFORMATION_TR->REPORT_EVENT (class /SCMTMS/CL_TOR_A_EXI_REP_EVENT). This is the action that is used in the standard, when events are reported from the execution tab.

      You have to build up new entry in transient node EXECUTIONINFORMATION and then call the action for this.

      Best regards, Daniel

  • Posted on Dec 08, 2014 at 11:57 AM

    Hi,

    can you maybe explain a few more details on this?

    You want to report an event (execution information -> NODE EXECUTIONINFORMATION) on the freight order execution tab. The Z-Table you mention is related to the event or to the freight order? Which data (nodes) should be updated in the freight order as reaction to the new execution information?

    Best regards, Daniel

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      what do you mean with combination of locations exactly? What exactly is the gap to the standard solution , in which you report e.g. a Departure for a specific location (stop) of a freight order?

      Are you using integration with SAP Event Management for the execution data or TM only?

      If you are interested in possibilities on how to trigger additional actions as reaction to update/creation of EXECUTIONINFORMATION, please refer to chapter "Updating data in TM triggered by new execution event" in this document: http://scn.sap.com/docs/DOC-33550

      Best regards, Daniel

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.