Entering content frame

Process documentation Dangerous Goods Checks in Sales Documents Locate the document in its SAP Library structure

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 Component Material 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

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.

SAP Component Dangerous 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 Status in Customizing for Dangerous Goods Management

·        For which the Inactive indicator is not set

Customizing for Dangerous Goods Management

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

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, the function module you change must be entered with sequence 1.

Customizing for Sales and Distribution

Dangerous goods regulations are valid for a mode-of-transport category and one or more countries. You 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 also Determination of Data in Sales Documents

For this, edit the appropriate routes under Basic Functions ® Routes ® Define Routes ® Define Routes and Stages.

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 specify the route stages in outline and define the additional transit countries required in the IMG activity Specify Transit Countries.

SAP Component Sales

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.

Process Flow

Dangerous goods checks comprise the following steps:

...

       1.      Starting of Dangerous Goods Checks in Sales Documents

       2.      Determination of Expected Deliveries

       3.      Determination of Data for Dangerous Goods Checks for Expected Deliveries

       4.      Execution of Check Methods

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 This graphic is explained in the accompanying text pushbutton is displayed, and you decide whether the document should be saved.

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.

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

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.

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 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

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

·        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

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 Ma 10011 fix indicator (or the Ch.1136 fix indicator; see Dangerous Goods Structure Reform) is set in the IMG activity Specify DG Management Profiles for SD Documents are available. These profiles cannot therefore 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 only created in the document if the profile can be used for all expected deliveries.

The system determines the following data and enters it in the sales document under Schedule lines ® Dang.gds.

·        Selection date

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.

·        If you have implemented the corresponding dangerous goods check methods, the following indicators can be determined and stored:

         Excepted quantity

         Reportable quantities

         Exemption - highly viscous

         Listed goods

 

Leaving content frame