Show TOC

Process documentationConsidering Dangerous Goods in SAP Transportation Management Locate this document in the navigation structure


You use this process in SAP Transportation Management (SAP TM) to ensure the safe and compliant transportation of dangerous goods (DG). SAP TM checks the transportation business documents for the relevant regulations and ensures that all necessary information is included in the documents. When checking DG, you are checking the product you want to transport against the rules you have defined. This can be a check considering certain aspects of the DG master data or the combination of the goods you want to transport. The checks reflect the national and international regulations regarding the transportation of DG. The regulations depend on the transportation mode and the countries crossed while transporting the goods. SAP Environment, Health & Safety (SAP EH&S) delivers certain checks and you can create customer-specific checks.

The system can perform checks automatically; in addition you can trigger the checks manually. Due to different risks in transporting DG, the system carries out checks in different ways and at different process steps to ensure safety precautions during transportation. For example, the system can perform checks during freight unit (FU) building and vehicle scheduling and routing (VSR) optimization. This ensures the compliance of the resulting FU and freight orders (FOs).

Furthermore, you can perform checks on all relevant business documents. If there are DG errors, you can correct the error and perform the check again.

You can use an SAP EH&S text pattern to print the information that is in relevant business documents.


  • You have classified products as DG in SAP Environment, Health and Safety (EH&S).

  • You have specified environment parameters that control the processes in SAP EH&S in Customizing for SCM Basis under   EH&S Services   Basic Services   Specify Environment Parameters  .

  • SAP uses the SAP EH&S framework to extract DG information in the form of phrases for printing. To enable the SAP EH&S framework, you have set up SAP Phrase Management in SAP EH&S and assigned a text pattern in DG Master. You have also defined phrases in SAP Phrase Management (EHS-BD-PHR).

  • If you want to use the DG Mixed Loading Check functionality, you have activated the SCM_EHS_DG_CI_1 business function.

  • You have created a DG profile to activate DG checks. The profile defines general conditions for the processing of DG, for example, conditions for the display of error messages or if you are allowed to define DG manually. For more information, see Customizing for Transportation Management under   Basic Functions   Dangerous Goods   Define Dangerous Goods Profile  .

  • You have assigned the DG profile to the business document types you use in your business process in Customizing for Transportation Management under the following:

    under   Forwarding Order Management   Forwarding Order   Define Forwarding Order Types  

    under   Forwarding Order Management   Forwarding Quotation   Define Forwarding Quotation Types  

    under   Freight Order Management   Freight Order   Define Freight Order Types  

    under   Freight Order Management   Freight Booking   Define Freight Booking Types  

    under   Planning   Freight Unit   Define Freight Unit Types  

    under   Integration   ERP Logistics Integration   Order-Based Transportation Requirement   Define Order-Based Transportation Requirement Types  

    under   Integration   ERP Logistics Integration   Delivery-Based Transportation Requirement   Define Delivery-Based Transportation Requirement Types  .

  • You have activated general settings for DG processing in Customizing for Transportation Management under   Basic Functions   Dangerous Goods   Define Common Settings for Dangerous Goods Processing  .

  • You can create a DG check according to your needs. Create a function module, assign it, and specify a dangerous goods check method. For more information, see Customizing for SCM Basis under   EH&S Services   Dangerous Goods Management   Dangerous Goods Checks and Dangerous Goods Documents   Dangerous Goods Checks   Specify Dangerous Goods Check Methods  .

    Thereafter, you assign the DG check method to the check schema in Customizing for SCM Basis under   EH&S Services   Dangerous Goods Management   Dangerous Goods Checks and Dangerous Goods Documents   Dangerous Goods Checks   Specify Dangerous Goods Check Schemas  .

  • You have defined the mode of transport in Customizing for Transportation Management under   Master Data   Transportation Network   Transportation Lane   Define Transportation Mode  .

  • You have assigned the methods FUB_DG and VSR_DG to the relevant process controller strategy to use the DG check functionality during FU building and VSR. For more information, see Customizing for SCM Basis under   Process Controller   Assign Method to a Strategy  .

  • You can use the BAdI/SCMTMS/BADI_EHS_DG to change, delete, or extend the input data for the dangerous goods check and for the printing data. For more information, see Customizing for Transportation Management under   Business Add-Ins (BAdIs) for Transportation Management   Basic Functions   Dangerous Goods   BAdI: Definition of Data for Printing and Checking for Dangerous Goods  .


This graphic is explained in the accompanying text.

Sample Process of Dangerous Goods Processing

There are different ways available to perform a DG check. You can perform the check when manually creating a forwarding order or quotation or within an order integrated process. Once you activate the DG check, it starts automatically in the respective process step. To perform the check manually, choose the Check pushbutton or select Check from the menu.

The procedure for DG checks is the same within an SAP ERP logistics integration process and within manual forwarding order management.

It is possible to check DG compatibilities automatically during FU building and therefore avoid the system building incompatible FUs at an early phase. In addition, or if you do not use DG compatibility checks during freight unit building, you can check FU for DG incompatibilities. In both cases, the products that are combined in one freight unit are identified as DG products and the Dangerous Goods checkbox is selected. If there are DG errors in the freight units, the system blocks the FU for planning and execution.

To carry out DG checks for the transit countries as well, in the freight order, you can add these countries for certain stages on the Transit Countries tab page.

DG Checks Within ERP Logistics Integration

The integration of SAP TM is based, for example, on sales orders or deliveries.

  1. During, for example, order entry in the ERP system, the system carries out a DG check.

    SAP TM creates an order-based transportation requirement. The ERP system transfers the information of whether the business document contains DG or not. Typically, a DG check is not required on the transportation requirement. If a DG check is performed on the transportation requirement and an error occurs, the business document is forwarded to Forward Error Handling and the system stops the process.

  2. SAP TM creates the freight units.

    The system can check DG during freight unit building, for example, by using the mixed loading check in SAP EH&S. The system analyzes the items regarding their possible combination during transportation. The system considers incompatibilities for the affected items. If the DG check returns errors, the system prevents these items from being transported in the same freight unit. On the Statuses tab, in the Blocking Information group box, you can see a green or a red traffic light. In the details, you find further information concerning all performed checks; the DG check is just one of many others.

    Blocking Statuses of Dangerous Goods Check

    DG Check OK

    Blocking status remains

    DG Check Error

    Blocking status is red

    Not Relevant

    Blocking status remains

  3. The SAP TM system checks the freight units after they are created.

    This check is also carried out each time the FU is changed.

    The system selects the Dangerous Goods checkbox when it identifies DG. The system blocks the FU if there are DG errors.

  4. The SAP TM system can perform checks during VSR planning and checks the resulting FO.

    • Checking the transportation proposal during VSR planning

      During VSR optimization the system assigns FUs to vehicle resources and creates freight orders. When creating the transportation proposals, the system carries out the DG check and offers alternative transportation proposal. In batch processing, the system selects the first solution that does not contain DG errors.

      With the mixed-loading check, you can check incompatible FUs that should not be transported together. You avoid planned FOs containing freight units with DG that are incompatible with certain resources by setting up a freight unit -vehicle check.

      The system indicates whether it found any DG errors in the transportation proposal.

      Dangerous Goods Information on the Transportation Proposal

      Dangerous Goods

      Dangerous goods in the transportation proposal

      Dangerous Goods Check Errors Occurred

      The system returns DG errors.

      Dangerous Goods Check Without Errors

      The system returns no DG errors.

      As a result the system incorporates the incompatibilities into the VSR optimization run. For more information about planning FO, see Planning.

    • Checking the FO

      The system checks the resulting FOs after the VSR optimization run. The system also performs this check each time the FO is changed.

      During manual planning, the system checks the FO at any time you or the system save it, or on manual request.

  5. SAP TM triggers SAP ERP deliveries. If errors occur during delivery creation, SAP ERP communicates them back to SAP TM. You can see the errors in the application log in SAP TM.

For more information about the ERP logistics integration process, see ERP Logistics Integration.

DG Checks Without ERP Logistics Integration

If you create the forwarding order manually, you can carry out the check at any time. The system also performs a DG check when you save the data.

  1. You execute the DG check for the forwarding order.

    If the system identifies DGs, the system selects the Dangerous Goods checkbox and blocks the forwarding order.

  2. This process proceed in the same way as step 2 to step 4 in the section DG Checks With ERP Logistics Integration.

For more information about forwarding order management, see Forwarding Order Management.


You can see the information about DG processing on the following user interfaces:

  • Forwarding Order

  • Transportation Requirement

  • Freight Unit

  • Freight Order

  • Transportation Proposal

You can see the DG check result on the business document.

You find further DG information for the related product on item level, on the Dangerous Goods tab page.

You can print the following business document with DG information:

  • Forwarding order

  • Freight order

In the application log (object /SCMTMS/TMS and subobject DG), you can display messages that occur during DGs checks carried out during freight FU building and VSR optimization. To open the application log, on the SAP Easy Access screen, choose   SCM Basis   Integration   Application Log  .

More Information

For more information about Dangerous Goods Management, see SAP Help Portal at   SAP Business Suite   SAP Supply Chain Management   Application Help   SCM Basis   EH&S Services in SCM Basis  .

For more information about Phrase Management, see SAP Help Portal at   SAP ERP Central Component   SAP ERP Central Component   Environment, Health and Safety (EHS)   Basic Data and Tools (EHS-BD)   Phrase Management (EHS-BD-PHR)  .

For more information about Error and Conflict Handler, see SAP Help Portal at   SAP ERP   SAP ERP Central Component   SAP ERP Enhancement Packages   Processes and Tools for Enterprise Applications(CA-EPT)   Error and Conflict Handler (AC-FS-ECH)  .

Interactive Planning

Creation and Editing of Freight Units


Freight Order