Maintaining Rate Tables

Objectives

After completing this lesson, you will be able to:
  • Create Rate Table Templates.
  • Create Rate Table Definitions.
  • Maintain Rate Tables.
  • Update and Mass Maintenance of Rate Tables

Rate Table Templates

This figure shows the Rate Table Templates in the Master Data Structure.

This diagram shows where rate tables and rate table templates reside in the TCM master data structure.

Rate Tables

This image shows the Rate Tables.

A rate table is a grouping of prices for transportation services. It is like a price list. The prices (or rates) are listed by validity period in the rate table.

The rate table is a separate business object (/SCMTMS/TC_RATES) and can be used in various calculation sheets to provide flexible maintenance.

You can maintain up to 14 dimensions in a rate table, however, we do not recommend that you model charge management in that way.

There are many options to reduce the number of dimensions in a table. For example, a rate table determination rule can be created to determine which rate table is to be used for the current charge item.

You can define a rate table manually or automatically by using a rate table template with predefined scales and validity dates. You can also maintain a large rate table, with or without scale items, using Microsoft Excel. ​

Rate Table Template Usage

This image shows how you can use a rate table.

You can use a rate table template to create a rate table with predefined scales, calculation rules, and validity dates.

In the Define Rate Table Templates Customizing activity, you define rate table templates to transport across different systems and use as templates for creating rate tables.​

To define rate table templates, in Customizing, choose Transportation ManagementBasic FunctionsCharge CalculationBasic SettingsTemplatesDefine Rate Table Templates.

Master data templates can be created and used by users who have no authorization to change customizing. In contrast to templates created in customizing, master data templates cannot be transported across different systems. In the SAP Fiori Launchpad Charge Management Worklist, master data and customizing templates are depicted in their own queries.

The following transactions are available in SAP TM.

In the Customizing activity, you can do the following:

  1. Create a rate table template with the following required information:
    • Rate table template
    • Charge type or allow multiple charge types
    • Charge usage
    • Currency
  2. Create a rate table template scales with the following required information:
    • Dimension number (indicates the order of the input scales)
    • Scale template
    • Calculation base code
  3. Create a calculation rule with the following required information (optional - used in the Validity table):
    • Calculation base
    • Unit of measure
    • Quantity

Similar information can be specified when creating a master data template. The main difference is that if you create a master data template, you can also maintain scale items and values for non-numeric scales.

Rate Table Maintenance

This image shows the Master Data in a Rate Table.

A rate table is a grouping of prices for transportation services. It is like a price list. The prices (or rates) are listed by validity period in the rate table.

The rate table is a separate business object (/SCMTMS/TC_RATES) and can be used in various calculation sheets to provide flexible maintenance.

You can maintain up to 14 dimensions in a rate table, however, we do not recommend that you model charge management in that way.

There are many options to reduce the number of dimensions in a table. For example, a rate table determination rule can be created to determine which rate table is to be used for the current charge item.

You can define a rate table manually or automatically by using a rate table template with predefined scales and validity dates. You can also maintain a large rate table, with or without scale items, using Microsoft Excel. ​

Rate Table Definition Versus Maintain Rate Table

This image shows the Rate Table Definition versus Maintain Rate Table.

The figure depicts the basic structure of the rate table and some important fields within each screen area.

Rate Table Maintenance Transactions

The following transactions are available in SAP TM for maintaining rate table information:

  1. Create Rate table Definition: In SAP Fiori Launchpad, choose Charge ManagementCreate Rate Table Definition.
  2. Maintain Rate Table: In SAP Fiori Launchpad, choose Charge ManagementMaintain Rate Table.

    Note

    In the Maintain Rate Table transaction, scale definition is not available.

These transactions enable different users to define rate table definitions and to maintain rate information.

Rate Table Structure

A rate table contains the following tab pages and screen areas.

General Data Tab Page:

FieldDescription
Rate TableThe rate table identifier must be unique to avoid inconsistent rates.
Charge UsageYou can define the rate table to calculate transportation charges billable to your customer or to be billed to you by your carrier. A forwarding agreement, freight agreement, and calculation sheet have the same attribute for this distinction.
Charge TypeThe system only assigns rate tables to a charge item in a calculation sheet if the charge type matches. You can use this field to search for a rate table.

The Scales Tab Page

You select prepared scales to determine the dimensions of the rate table and to create a rate table based on these dimensions.

FieldDescription
DimensionYou add each dimension on which you want your rate to be defined and looked up. For example, if you want the rate to be defined based on destination location and weight, add a dimension for destination location and for weight.
ScaleA scale defines the dimension of your rate table.
Calculation BaseYou can define the calculation base for the scale. The calculation base is the actual base or the factor on which the charge calculation happens.
Minimum Value or Maximum ValueIf you select these checkboxes, you can maintain a minimum or maximum value for the calculated rate. The system determines a certain rate in the rate table and multiplies this rate based on the calculation rule. Usually, the value of this multiplication result is the final amount for this specific charge, which is the actual amount equals the charge. If you set a minimum or maximum value, the system checks if the calculated value is lower than the minimum or greater than the maximum. If so, the minimum or maximum value is charged.
Rel. Calc. Method (Relevant for Calculation Method)If you select this checkbox, you are defining whether you want the system to apply a special calculation method, such as break-weight or clipping, to the rate table on the level of a charge item. This charge item then only considers those rate tables that you designated for such a special calculation method.

Dates and Values Tab Page

FieldDescription
Valid From and Valid ToThese fields define the validity period of the rate table.
Rounding ProfileYou define if and how the calculated amount or charge is rounded.

Calculation Rules Tab Page

Here you determine the values with which the single rate is to be multiplied. If there is more than one charge calculation rule, the system multiplies the determined rate with each of the given entries. You must select the Relative Scale Items Only checkbox for at least one charge calculation rule if a relative scale is involved in the rate table dimensions.

Rate Values

You can maintain single rate values or upload and download complete Microsoft Excel sheets. We recommend the following process flow:

  1. Create an empty rate table in SAP TM.
  2. Download this rate table from SAP TM to an xlsx file (default file type).
  3. Open this xlsx file with Microsoft Excel and maintain all the rates there.
  4. Save this xlsx file and upload it to SAP TM.

Multiple Scales within a Rate Table

This figure shows multiple scales with initial value allowed in the Rate Table.

Master data maintenance in many organizations is a layered process, taking place at different levels of abstraction. For example, when a logistics service provider (LSP) starts operating in a new trade lane, it may offer some carrier-specific rates, as well as some carrier-agnostic rates. Sometimes, LSP may have only incomplete rate data.

In such cases, business users upload generic rates where the actual scale values are not available. For example, users may upload carrier-specific and carrier-agnostic rates in the same rate table. If no specific rate for the carrier exists, the normal business use is to pick up the carrier-agnostic rate.

The rate determinations in the examples in the figure are as follows:

  • Example 1:

    The rate is not specified for the destination zone or the carrier, so the rate is determined from the generic entry for Zone 1.

  • Example 2:

    The rate is not specified for the carrier, so the rate is determined from the rate table entry for the origin and destination zones.

  • Example 3:

    The rates are specified for each of the three scales in the table.

There may be multiple instances when rate-relevant information is missing, which must be considered during charge calculation.

The No Value Allowed flag allows for the uploading of rates that are generic across multiple dimensions. The No Value Allowed flag is given priority from the last dimension scale to the first dimension scale of the rate table. The No Value Allowed feature is available only for same-scale.

Approval Workflow

This figure shows the Approval Workflow.

In certain situations, new or changed rates must be approved by a Senior Rate Administrator to become effective. An approval workflow can be activated for each rate table type. Instead of releasing the rate table for usage, the rate administrator can request an approval. The status of the rate table validity interval then switches to "Awaiting Approval". Using SAP Business Workflow, an approval task is triggered and a notification is sent to a manager. The manager receives an approval request. Once approved, the validity interval will then be released and can be used. To use the approval process, the organizational model must be maintained.

Microsoft Excel Integration

This figure shows the Rate Table Integration with MS Excel.

You can maintain a large rate table, with or without scale items, using Microsoft Excel. You can enter the rates and scales into a Microsoft Excel file and upload the file to your SAP TM system.

Alternatively, you can define an empty reference rate table with validity periods in SAP TM and download it to Microsoft Excel. You can then maintain the rate table in the Microsoft Excel file and upload it to your SAP TM system.

Download Options

You can download a rate table to Microsoft Excel in one of the following ways:

  • Rates for all validity periods in the rate table (scale ranges not included)
  • Rates for one validity period and selected scale ranges
  • Rates for multiple validity periods (scale ranges not included)
  • Rates of the current validity period with scale ranges

You can view non-numeric scale items in the downloaded Excel file.

You can choose to upload all the rates and scale items of a rate table from Microsoft Excel to SAP TM.

The system provides you with a list of the created rate tables and also of those that were not created successfully.

Mass Creation of Rates Tables Using Microsoft Excel

You can create multiple rate tables in Microsoft Excel using rate table templates and upload them to SAP TM. You use the mass creation of rate tables (/SCMTMS/TCC_RATE_MASS_CREATE) report to download the Microsoft Excel template, in which you enter the new rate table details, and then you upload the new rate table details to SAP TM.

Template Options

In the Microsoft Excel template, you can specify the following for each row in Microsoft Excel:

  • The way you want the name of the rate tables to be generated, that is, by the system, by using the rate table template name, or by using a rate table name that you provide.
  • Whether you want to provide a rate table name. If you do so, you must enter the rate table name in the rate table column. The system adds a number to the end of the name of each rate table to avoid any duplication.
  • The rate table template on which to base the rate tables.
  • The rate table template to enable the system to create the rate tables. This must be specified.
  • The quantity of rate tables. The system creates one rate table if you do not enter a quantity.

The system provides you with a list of rate tables created, and also of those that were not created successfully.

SMC3 Integration for Rate Tables

This image shows SMC3 Integration.

In some use-cases, the integration of an external rate management system is required. In the U.S., RateWare by SMC3 is often used to manage LTL rates according to industry standards. Instead of replicating all rate information to the SAP TM database (which requires significant ongoing maintenance effort), integrating the data is advantageous. It is possible to combine the rates provided by RateWare with additional or manual charges calculated in SAP TM: for example, LTL base rates from SMC3, minimum charges, surcharges, and carrier-specific discounts in SAP TM.

The technical integration is done using Web-Services. SAP Note 1636870 describes the configuration steps for technical integration.

In the SAP TM calculation sheet, a specific calculation method must be assigned to a charge item to call the external system during charge calculation. For SMC3 integration, you can use the calculation method CALL_SMC3, which is part of the TM standard. View cluster /SCMTMS/VC_SMC3 can be used for basic configuration (detailed instructions are also contained in the SAP Note). In the same view cluster, you can map SMC3 parameters to SAP TM calculation bases.

The External Ref. Number maintained in the TM Freight Agreement Header must contain the SMC3 contract ID, if rates from a specific contract are to be calculated.

Mass Maintenance of Rates

In this section, we look at several aspects of the mass maintenance of rates.

Mass Maintenance: Updating Rates

  • A rate can be increased or decreased by a percentage or an amount.

  • You must specify a scale range, for example, source location, to enable the system to change only the rates in a particular scale range.

    Only scale ranges that are already specified in an existing validity period of an existing rate can be specified.

  • Rates can be updated based on the calculation type of the scale items (for example, absolute or relative, or both absolute and relative).

    For example, you can update the rates for relative scale items with one rate change and the rates for absolute scale items with a different rate change.

Management of Validity Periods

  • Values for one period, multiple periods, or all periods in an existing validity period can be changed.

  • If the validity period to be updated is not already specified in the existing validity periods, you can create a new validity period in which the rate change applies.

    • Specify a new validity period within the date ranges already specified in the existing validity periods.

    • Specify a new validity period that is outside the existing validity periods in the rate table.

    • By default, the system uses the rate, calculation rule, and scale item settings in the latest validity period when it creates the new validity period.

    • For new validity periods, you can also automatically set the status to Released during the rate table update.

Integration of Mass Maintenance

  • Mass Maintenance is integrated in rate table maintenance.

  • Integration occurs into the master data cockpit query.

  • Integration is done using a batch report.

You can use the /SCMTMS/RATE_MASS_UPDATE program to change the values in a single rate table or in multiple rate tables at the same time.

Rate tables for forwarding, freight, and internal agreements are accessible from the master data cockpit query.

To access the master data cockpit, in the SAP Fiori Launchpad, choose Charge ManagementCharge Management-WorklistMaster Data Cockpit

Choose the relevant agreement type query and enter your search criteria (Purchasing Org and Carrier).

In the personal object worklist result, when you select a line item that contains both a rate table and a calculation sheet, the system opens the Update Rates function when you choose Update Rates/Calculation Sheet Amounts. The system automatically includes the rate table from the selected line item in the update criteria when you open the function.

When you select a line item that contains a rate table and a different line item that contains a calculation sheet only, and choose Update Rates/Calculation Sheet Amounts, the system opens both the Update Rates and Update Calculation Sheet Amounts functions on the same screen.

Mass Update of Rates - Example

This image shows an example of a mass update of Rates.

An example of the mass update of rates is described here.

You want to create a new validity period that contains new rates.

The following table describes the settings in the first existing validity period of January 1, 2021 to December 31, 2021:

Rates Table

Source LocationDestination LocationValue (USD)
NYCPHI100
NYCCHI120
NYCSFO340

You must create a new validity period with new rates to cover the period December 1, 2021 to December 31, 2021. The following table describes your inputs to the Update Rates function:

Selection Criteria

SettingAttribute
New validity period setting from01.12.2021
New validity period setting to31.12.2021
Source locationNYC
Destination locationPHI, CHI
Percentage+10%

The system creates a new validity period for December 1, 2021 to December 31, 2021 with new rates. It keeps the old validity period for 2021, but changes the validity dates to January 1, 2021 to November 1, 2021. The following tables describe the new validity periods:

Validity 1: January 1, 2021 to November 1, 2021

Source LocationDestination LocationValue (USD)
NYCPHI100
NYCCHI120
NYCSFO340

Validity 2: December 1, 2021 to December 31, 2021

Source LocationDestination LocationValue (USD)
NYCPHI110
NYCCHI132
NYCSFO340

The system did not update the rate from NYC to SFO, since it was not included in the selection criteria.