Function documentationCalculation of Transportation Costs

 

During route determination, the system calculates the transportation costs for each of the trips that are determined. For more information, see Route Determination.

Features

The system first adds up the following costs to produce a total cost value:

  • The penalty costs for premature or delayed delivery, or for premature or delayed pickup for each trip, dependent on the following values:

    • Period of time of the earliness or delay

    • Priority of the location where the earliness or delay occurred

  • The fixed transportation costs for each leg of a trip, dependent on the following values:

    • Carrier for the leg (if you have assigned one)

    • Means of transport for the leg

  • The following costs for two consecutive locations along a leg:

    • Distance-dependent costs, dependent on the following values:

      • Carrier for the leg (if you have assigned one)

      • Means of transport for the leg

      • Transportation distance between the two locations

    • Time-dependent costs

      • Carrier for the leg (if you have assigned one)

      • Means of transport for the leg

      • Transportation duration between the two locations

    • Weight-dependent costs

      • Carrier for the leg (if you have assigned one)

      • Means of transport for the leg

      • Total weight of the products transported between the two locations

      • Transportation distance between the two locations

The system requires a cost value or cost factor to calculate these costs. You define the cost value or cost factor in one of the following places:

  • In the carrier profile

  • In the general transportation cost profile

  • In the relevant transportation lane

The system searches for a cost value or cost factor in these three places in the sequence specified. As soon as it finds an entry, it terminates the search and performs the cost calculation. When calculating transportation costs, the system takes into account hierarchical relationships between means of transport. For more information, see Hierarchical Relationships Between Means of Transport.

Example Example

During route determination, the system has determined a trip with one leg with means of transport M and carrier F. If you have not defined a cost factor for the means of transport M in the transportation cost profile for carrier F but have defined a cost factor for a means of transport superior to M, the system also takes into account this cost factor for M.

End of the example.

Note Note

You can use the Business Add-In (BAdI) Cost Determination in Route Determination (/SCTM/EX_RG_COST) to determine alternative values or to adjust the values found by the routing guide.

End of the note.