Currently Being Moderated

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

1.png

3.png

 

  2.   Assign the event profile to the order type

2.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.

4.png

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

5.png

 

Technical:

 

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

7.png

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

8.png

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

 

9.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.

 

11.png

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

12.png

Comments

Actions

Filter Blog

By author:
By date:
By tag: