Skip to Content

In SAP TM 9.1, we can now apply charge types dependent on events. The blog include the function and technical two parts. The function part introduces the process. The technical part would analysis how the function has been achieved in the code.

The “adventure” would be a series to record my research about the new features of TM.

Function:

  1. Create an event profile and map charge types to events

/wp-content/uploads/2014/07/1_497908.png

/wp-content/uploads/2014/07/3_497976.png

  2.   Assign the event profile to the order type

/wp-content/uploads/2014/07/2_497975.png

3.   The forwarding order has two items. Report an event to the one item in the freight order accordingly. The event id and reason code should be the same as the event which assigned in the event profile.

/wp-content/uploads/2014/07/4_497977.png

4.   Calculation charge in forwarding order. The event charge type “DEMMURAGE” would charge in the container which has “DELAYED” event.

/wp-content/uploads/2014/07/5_497997.png

Technical:

  1. Get the execution information from freight order, then maintain them in the communication structure.

/wp-content/uploads/2014/07/7_498011.png

   2.  When resolve TCCS, compare the charge types in TCCS to the event profile.

/wp-content/uploads/2014/07/8_498012.png

   3.  If the charge type is valid, change the resolution base to “EVENT”. Then apply the charge type by the events.

/wp-content/uploads/2014/07/9_498013.png

   4.  In the case we use the “ITEM” calculation level, so the logic would use the events in item to apply charge type. The “<ls_comm_item>-event_assgn” is the communication structure which we maintain before.

/wp-content/uploads/2014/07/11_498014.png

   5.  Finally, the logic would adjust the result of resolve by the event’s id, reason and status.

/wp-content/uploads/2014/07/12_498015.png

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Elizabeth Vail

    Well done presentation.  Interesting that SAP is duplicating functionality already available in Event Management that makes freight costing possible anywhere along the route in either ECC or TM (any release), as long as the routes are defined where the cost can be captured.  Also, using EM gives more flexibility in calculation . . .

    (0) 
  2. vikas chhabra

    Hello Clark,

    Thanks for very good document.

    After activating event based charge calculation, I could calculate charges in FO after the required event was reported. But “Cost Distribution Tab” in my Freight Order stopped showing distributed cost information (CD works very well for me when charges calculation is not event dependent).

    Do you have any idea on this.

    Please advise.

    Thanks and best regards,

    Vikas Chhabra

    (0) 

Leave a Reply