Entering content frame

Function documentation Function Module for Dangerous Goods Checks Locate the document in its SAP Library structure

Purpose

The following function modules for dangerous goods checks are delivered with the standard system:

·        HAZMAT_CHK_VARIOUS

·        HAZMAT_CHK_MOT

·        HAZMAT_CHK_PIH

·        DG63_CHK_INIT_HEADER

·        DG63_CHK_MLOAD

Features

The function module HAZMAT_CHK_VARIOUS checks the completeness of the data. Errors are handled if, for example, no route was specified in the delivery header or if no dangerous goods master record could be determined.

Note

For the check method with the function module HAZMAT_CHK_VARIOUS the sequence 1 must be specified in each dangerous goods check schema. No usage profile is required for this check method. If you define a usage profile it will not be taken into account. See also Assigning a Function Module to a Dangerous Goods Check Method.

The function module HAZMAT_CHK_MOT checks whether shipment of the selected material with the mode-of-transport category determined from the SD document is permitted in the validity area. The check is performed using the Transport not permitted indicator in the dangerous goods master.

If the mode-of-transport category is not permitted, a preset message defined in Customizing for Dangerous Goods Management is output.

The function module HAZMAT_CHK_PIH checks against the Hazard zone field in the dangerous goods master. If a hazard zone is specified, the reaction set in the check schema is processed.

The function module DG63_CHK_INIT_HEADER serves as the initialization module for header check methods, that is dangerous goods check methods for which all dangerous goods master records of the current document must be available, such as mixed loading checks. This function module collects all dangerous goods master records and packaging data records of the current document.

Note

The check method with the function module DG63_CHK_INIT_HEADER must come before the first header check method.

It only makes sense to assign a usage profile to the check method with the function module DG63_CHK_INIT_HEADER if the same usage profile is available for the underlying header check method, otherwise the dangerous goods master records are not available for all validity areas.

The function module DG63_CHK_MLOAD is used to check for mixed loading prohibitions.

Note

Note

To call a function module, choose Tools ® ABAP Workbench ® Development ® Function Builder. Enter the name of the function module in the Function module field. Choose Display.

If you want to create your own function module for a dangerous goods check, see the corresponding note in the function module documentation (choose the Function module doc. pushbutton) in the documentation for interface parameters.

 

Leaving content frame