Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

SAP Knowledge Base Article

2430252 - Rate is not fetched from the Rate Table using Calculation Method
Component: TM-CF-CC (Transportation Management (no software transports) > Cross Functions > Charge
Calculation), Version: 2, Released On: 30.06.2021

Symptom
The rates are not getting fetched as the custom Calculation Methods(Z Calculation methods) has been defined which
system uses to calculate the charges in SAP Transportation Management.
Calculation Method is not used to fetch the Rates from the external systems like SMC3.
Rate is automatically cleared after manual input of a charge line that is using calculation method type 'External System'.

Environment
SAP Transportation Management 8.0~9.6
SAP Transportation Management embedded in SAP S/4HANA 1709+

Reproducing the Issue


The Calculation Method is defined using the Calculation Method Type 'External'.
SPRO Customization:
Logon to SAP TM system and enter the transaction: SPRO
PATH: SPRO->IMG->SAP Transportation Management->Transportation Management->Basic Functions->Charge
Calculation->Enhancements to Charge Calculation Engine->Define Calculation Methods
The Calculation method type is External.

Cause
Standard behavior.

Resolution
Solution 1: If the calculation method defined as External System are not fetching rates from an external system, then
change the method type as "Other" and change it in the calculation sheet as well.
SPRO Customization:
Logon to SAP TM system and enter the transaction: SPRO
PATH: SPRO->IMG->SAP Transportation Management->Transportation Management->Basic Functions->Charge
Calculation->Enhancements to Charge Calculation Engine->Define Calculation Methods
Click 'New Entries' button.
Choose the Calculation Method type as 'Other(Extension)' from the dropdown.
Enter the name of the Calculation Method.
Enter the Calculation Method Class and description and Click Save.

TCCS set-up:
Logon to SAP TM system via NWBC or Fiori.
PATH: Master Data->Charge Management and Service Product Catalogs->Calculation Sheets->Create/Edit/Display
Calculation Sheet. (For Fiori UI, please go to 'Charge Management' tab)
Open the existing Calculation Sheet, insert a new standard charge line and enter the charge type.
Either maintain the Amount or Rate Table and Currency.
Select the newly inserted 'Standard Charge Line', go to 'Basic Data' tab and maintain the Calculation Method Type as
'Other' and maintain the relevant Calculation Method.
Solution 2:
If the Solution 1 cannot be implemented, then you can inherit the class /SCMTMS/CL_TCC_GET_RATE_EXT to your
existing external method classes.
This will solve the issue. But then you need to write the customer own logic in "Calculate_Multi" of the class.

See Also
SAP Help Portal - Calculation Methods

Keywords
Rates, Rate Table, Rate Table Determination, Calculation Method Enhancements, SAP TM, External Calculation Method.

Products
Products

SAP Transportation Management 8.0

SAP Transportation Management 8.1

SAP Transportation Management 9.0

SAP Transportation Management 9.1

SAP Transportation Management 9.2

SAP Transportation Management 9.3

SAP Transportation Management 9.4

SAP Transportation Management 9.5

This document refers to


SAP Note/KBA Component Title

Calculation Methods

You might also like