Show TOC

 Dangerous Goods Checks in Sales Documents

Purpose

This process enables you to check sales documents with regard to dangerous goods legal criteria that you entered in the corresponding dangerous goods master data.

Dangerous goods checks in sales documents support the following sales document categories:

  • Inquiry

  • Quotation

  • Order

  • Scheduling agreement

  • Scheduling agreement with external agent

  • Contract

  • Order without charge

Prerequisites

SAP ComponentMaterial Master

If you have set the DIs rel. for checks indicator in the IMG activity Activate Dangerous Goods Checks in Customizing for Dangerous Goods Management , only materials in the sales document that are relevant for the check are then checked. You mark materials as relevant for checking by assigning them a dangerous goods indicator profile in the Basic Data 2 view in the material master. You must have set this indicator profile as relevant for dangerous goods checks in Customizing for Dangerous Goods Management in the IMG activity Specify Indicator Profiles for the Material Master . Indicator profiles that are set only as dangerous goods are for information purposes only.

Note Note

You edit the required dangerous goods indicator profiles in the IMG activity Specify Indicator Profiles for the Material Master in Customizing for Dangerous Goods Management .

When you create a sales document, the dangerous goods indicator profile in the material master is transferred from the material master to the sales document item, and displayed there. If you change the profile in the material master, the changes are not made automatically in the sales document.

End of the note.
SAP ComponentDangerous Goods Management

You have created dangerous goods master records for the materials. Dangerous goods checks only use dangerous goods master records:

  • That have a processing status for which the Release Status indicator has been set in the IMG activity Specify Processing Statuses in Customizing for Dangerous Goods Management

  • For which the Inactive indicator is not set

Customizing forDangerous Goods Management

You have edited the necessary IMG activities in the Dangerous Goods Checks and Dangerous Goods Documents/EDI section.

Note Note

The check method (or in other words the function module HAZMAT_CHK_VARIOUS with sequence 1) for the completeness check must be entered in each check schema. If you want to change this function module, you must enter sequence 1 for the function module you changed.

End of the note.
Customizing forSales and Distribution

Dangerous goods regulations are valid for a mode-of-transport category and one or more countries. You can define one or more countries as a validity area in the system. This means that in SD documents, dangerous goods checks must be performed for all affected combinations of countries and mode-of-transport categories subject to dangerous goods legal requirements. The system uses this data to determine the dangerous goods master records to be checked.

See: Determination of Data in Sales Documents

For this, edit the appropriate routes under Start of the navigation path Basic Functions Next navigation step Routes Next navigation step Define Routes Next navigation step Define Routes and Stages End of the navigation path .

Note Note

According to your requirements, you can define routes with stages in Customizing for Sales and Distribution or edit the IMG activity Specify Transit Countries in Customizing for Dangerous Goods Management . You can also roughly specify the route stages and define the additional transit countries required in the IMG activity Specify Transit Countries .

End of the note.
SAP ComponentSales

When you create a sales document, the following entries are required for the dangerous goods check:

  • Shipping point

  • Sales organization

  • Order type

  • Ship-to party

  • Route

  • SD document date

    Engineering change management is used in the dangerous goods master. Dangerous goods master records can therefore have different versions. To ensure that the valid dangerous goods master records can be determined for the checked shipping document, you specify which document date is to be used to read the dangerous goods master records in the IMG activity Specify Date for Determination of DG Master Data in Customizing for Dangerous Goods Management . If the date is not entered in the sales document, the current date is used.

Result

Dialog Box

After the dangerous goods checks have been executed, a dialog box is displayed with the message for the check method that determines the complete reaction for the check schema.

If there are log entries, you can access them in the check log from the dialog box. If the SaOnli (save online) indicator is set in Customizing for the check method that determines the complete reaction, the pushbutton and quick info text Save are displayed, and you decide whether the document should be saved.

Note Note

If no check method reacts, no log entries are written and the dialog box is not displayed when the document is saved. If you start the check manually, a success message is displayed.

When you create a sales document using a BAPI or when transferring data for the first time, a dialog box is not displayed. The check log is, however, returned to the sales document and integrated into the corresponding logs in sales.

End of the note.
Check Log

All messages that are collected for each individual expected delivery during the execution of dangerous goods checks are displayed in the check log and the expected deliveries are sorted according to the goods issue date. The log is not stored in the database, but it can be printed.

Note Note

The log can list positive and negative check results. If you branch to the log, it first displays the messages with the highest priority only. If you choose All messages , the system displays all messages.

End of the note.
Processing Documents Further

The document is processed further according to the Customizing settings for the complete reaction. If you have specified in Customizing for Dangerous Goods Management that the document should only be saved with a document block ( DocBlk indicator set), the system makes an entry in the incompleteness log and prevents you from creating a delivery with reference to this sales document. If you have specified in Customizing for Dangerous Goods Management that the sales document may not be saved if the overall reaction is negative ( SaOnli (Save Online) indicator is not set), you cannot save the sales document.

For more information, see the IMG section Incompleteness Control for SD Documents in Customizing for Dangerous Goods Management .

Returning Data to the Document

The system determines the following data and enters it in the sales document header under Shipping .

  • The Contains DG ( document contains dangerous goods ) indicator is set automatically in the document header if the SD document contains at least one material for which the Not Dangerous Goods indicator is not set in the dangerous goods master. This means that the document contains at least one item of dangerous goods.

    Note Note

    The Contains DG ( document contains dangerous goods ) indicator is for information purposes only.

    End of the note.
  • The dangerous goods management profile for SD documents can be determined by a check method if you have developed a corresponding check method yourself.

    Note Note

    This dangerous goods management profile can be used by the Dangerous Goods Documents component to output texts on transport documents or to transmit them using EDI. You edit and manage these texts in the Basic Data and Tools component.

    You can also set the indicator manually. When using manual assignment in the standard system, only DG management profiles for which the indicator Ch.1136 fix is set in the IMG activity Specify DG Management Profiles for SD Documents are available. These profiles therefore cannot be overwritten by the dangerous goods checks, if the check method ensures this. You must first check the check method to find out whether a manually fixed DG management profile has already been assigned in the document header.

    If the DG management profile is determined by means of a check method, an entry is created in the document only if the profile can be used for all expected deliveries.

    End of the note.

The system determines the following data and enters it in the sales document under Start of the navigation path Schedule lines Next navigation step Dang.gds End of the navigation path .

  • Selection date

    Note Note

    The selection date is determined according to the settings in the IMG activity Specify Date for Determination of DG Master Data and is used to read the dangerous goods master records. If you have chosen two date fields for selecting the dangerous goods master record in this IMG activity, two entries for the date are displayed. Here the date is for information purposes only.

    The selection date is also set and updated when you call the Dangerous Goods screen in the sales document. Otherwise, the selection date is always set and updated during the dangerous goods checks.

    End of the note.
  • If you have implemented the corresponding dangerous goods check methods, the following indicators can be determined and stored:

    • Exemption

    • Reportable quantities

    • Exemption – highly viscous

    • Listed goods