Supply Chain Management Blogs by Members
Learn about SAP SCM software from firsthand experiences of community members. Share your own post and join the conversation about supply chain management.
cancel
Showing results for 
Search instead for 
Did you mean: 
jobyjohn
Explorer

TM is based on BOPF and its not always easy to retrieve the records from the tables. Sometime for any validation and for retrieving the records for multiple documents (Freight Units/Freight Orders/Freight Booking etc.) from BOBT using association becomes bit difficult, so we will be required to use Standard tables and relate with multiple associated tables to get the desired records.

In this blog, I am going to cover the tables which are required from the Charge Calculation perspective for the TOR objects and to navigate from the Freight Orders to multiple charge types and vice versa.

 Case-1) Navigating from the Freight Orders to different Charge types: -

Flowchart

Flowchart1.gif

 

 

 

 

 

 

 

 

In this section, I am going to cover the steps and the key values which needs to be passed to display the charge types from the below Freight Orders (#6100000783 and #6100000784).

 

Details from the Freight Orders

jobyjohn_0-1715255384779.png

jobyjohn_1-1715255399098.png

(**Screenshots from Demo System only for explanation purpose) 

Steps to be followed:-

  • Pass the Freight Order(s) number in the table /SCMTMS/D_TORROT (Table for TOR Root Node)

jobyjohn_13-1715254452587.png

  • Get the DB_KEY for the Freight Order(s) from the table /SCMTMS/D_TORROT

jobyjohn_14-1715254469651.png

  • Pass the DB_KEY of the Freight Order obtained from previous steps to table /SCMTMS/D_TCHRGR as HOST_KEY

jobyjohn_15-1715254484904.png

  • Get the DB_KEY from the /SCMTMS/D_TCHRGR (Table for Transportation Charges Root)

jobyjohn_16-1715254502396.png

  • Pass the DB_KEY obtained from the previous step as PARENT_KET in table /SCMTMS/D_TCHRGI (Table for Charge Items)

jobyjohn_17-1715254520207.png

  • Get the DB_KEY from the table /SCMTMS/D_TCHRGI

jobyjohn_18-1715254536072.png

  • Pass the DB_KEY obtained from the previous step as PARENT_KEY in the table /SCMTMS/D_TCHRGE (Table for Item Charge Element)

jobyjohn_19-1715254553270.png

  • This will display all the charge types with all the details for the Freight Order(s)

jobyjohn_20-1715254576244.png

jobyjohn_21-1715254593689.png

Case-2) Navigating from the Charge types to relevant Freight Orders/Freight Booking/Freight Settlement Documents: -

Flowchart-

Flowchart2.gif

 

 

 

 

 

 

Steps to be followed: -

  • Pass the Charge type(s) for which we want to determine the corresponding Freight Order/Freight Booking/Freight Settlement Documents in the table /SCMTMS/D_TCHRGE (Table for Item Charge Element)

jobyjohn_4-1715254239061.png

  • Get the PARENT_KEY from the table /SCMTMS/D_TCHRGE

jobyjohn_5-1715254258003.png

  • Pass the PARENT_KEY obtained from the previous step as DB_KEY in the table /SCMTMS/D_TCHRGI (Table for Charge Items)

jobyjohn_3-1715254204493.png

  • Get the HOST_KEY from the table /SCMTMS/D_TCHRGI

jobyjohn_2-1715254171930.png

  • HOST_KEY refers to the Freight Order/Freight Booking and the corresponding Freight Settlement Documents

jobyjohn_7-1715254311386.png

  • Pass the HOST_KEY for the entries which is having REF_KEY as null to /SCMTMS/D_TORROT as DB_KEY to get TOR_ID which refers to Freight Order(s)/Freight Booking(s)

jobyjohn_2-1715255470067.png

jobyjohn_3-1715255487724.png

  • Pass the HOST_KEY for the entries which is having REF_KEY as not equal to null (pointing to corresponding TOR objects) to /SCMTMS/D_SF_ROT to get SFIR_ID which refers to Freight Settlement Document(s)

jobyjohn_10-1715254379172.png

Some of the additional useful Tables from the Transportation Charge Management perspective

Table Name

Short Text

/SCMTMS/D_SCAH1

Transportation Scales Header

/SCMTMS/D_SCAIT2

Transportation Scales Item

/SCMTMS/D_TCSCTX

Scale Texts

/SCMTMS/D_TCRATE

Transportation Charges Rates

/SCMTMS/D_RATCTR

Rate contractors

/SCMTMS/D_TCRTTX

Rate Table Texts

/SCMTMS/D_TCRTSR

Rate Scale Reference

/SCMTMS/D_TCRTUC

Rate Scale Calc Method

/SCMTMS/D_TCRTVP

Validity Period For Rate

/SCMTMS/D_TCCSRT

Calculation Sheet Root

/SCMTMS/D_TCCSIT

Calculation Sheet Item

/SCMTMS/D_TCRULE

Calculation Rule

/SCMTMS/D_TCFRT

Freight Term for Calculation Sheet

/SCMTMS/D_TCINCT

Incoterm

/SCMTMS/D_TCCSTX

TCCS Texts

/SCMTMS/D_FAGROT

Freight Agreement Root Node

/SCMTMS/D_FAGITM

Freight Agreement Item

/SCMTMS/D_FAGPTY

Freight Agreement Party

/SCMTMS/D_TCHRA

Amount Rate Assignment

/SCMTMS/D_CHXRAT

Charge Element Exchange Rates

/SCMTMS/D_SF_ITM

SFIR Item Details

/SCMTMS/D_SF_APP

SFIR App log reference

/SCMTMS/D_SF_PTY

SFIR Party Details

/SCMTMS/D_SF_WFL

SFIR Workflow Items

/SCMTMS/D_SFIDOC

Document Reference for Item

 

Labels in this area