Show TOC

Function documentationBRFplus for Charge Management Locate this document in the navigation structure

 

You can use this function in Charge Management to do the following:

  • Define specific business rules for various decisions within an automatic charge calculation process

  • Determine freight agreements (FAs) and forwarding agreements (FWAs) as follows:

    • Automatically by exclusion

    • Independently of built-in next level principle

  • Influence if a certain calculation sheet or calculation sheet item is calculated in a certain business context or if the calculation is only applied for certain logistical data

  • Flexibly determine a rate during charge calculation

  • Use a formula to calculate transportation charges

Features

Linking of Charge Management and BRFplus

Charge Management and BRFplus (Business Rule Framework plus) are linked using rules. For information, see Rules and Conditions for Charge Management.

Any use of BRFplus in the Charge Management component is encapsulated by rules. If you can choose to use BRFplus, you can also use a Business Add-In (BAdI). With a BAdI, you can code a better-performing and simplified decision logic.

Data Source Supply for BRFplus

In SAP Transportation Management (SAP TM), the conditions maintenance manages the data source binding by naming certain fields within a certain business object. However in Charge Management, BRFplus conditions are based on standard calculation bases, therefore you can use all available calculation bases for conditions. All available calculation bases are also available as data access definitions for conditions. The name is the same, with the suffix _TCMC. Charge management conditions can only use these data access definitions; other data access definitions will fail. For example, to define a condition based on source location you must use data access definition SOURCELOC_TCMC, which is mapped to calculation base SOURCELOC.

The calculation bases are in the context of the current resolution base if available, or the document header. The FA and FWA determination rule and the calculation sheet precondition rule are executed on the header level. All other rules are executed on a specific resolution base, as specified in the calculation sheet. In contrast, the system evaluates calculation sheet item precondition rules against the resolution base of the charge item. For example, a resource type code would depend on the resolution base container.

For BRFplus data supply, you have to name all attributes that are necessary for the specific business rule decision within the conditions maintenance.