Function documentationFunction Modules for Dangerous Goods Checks

 

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

  • DG63_CHECK_DG_RELEASE

  • DG63_HU_CHK_INIT_MPACK

  • DG63_HU_CHK_MPACK

Features

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

Note Note

For the check method with the function module HAZMAT_CHK_VARIOUS, you MUST enter sequence 1 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.

End of the note.

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 has been entered, the system processes the reaction set up in the check schema.

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. The function module collects all dangerous goods master records and packaging data records for the current document.

Note Note

The check method with the function module DG63_CHK_INIT_HEADER MUST be 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.

End of the note.

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

The function module DG63_CHECK_DG_RELEASE checks the RELEASED (Product Is Released) indicator for transport in the product release.

Function module DG63_HU_CHK_INIT_MPACK is the initialization module for the simplified mixed packing check.

Note Note

The check method with the function module DG63_CHK_INIT_HEADER MUST be before the header check method DG63_HU_CHK_MPACK.

The check method with the function module DG63_HU_CHK_INIT_MPACK is only called when handling unit integration is activated in the shipping document.

End of the note.

Function module DG63_HU_CHK_MPACK checks for the field with the type of identification number and the identification number in the dangerous goods master. Only those dangerous goods with the same type of identification number and identification number can be packed together in a handling unit.

Note Note

The check method with the function module DG63_HU_CHK_MPACK is only called when handling unit integration is activated in the shipping document.

End of the note.
Note

Note Note

To call a function module, choose Start of the navigation path Tools Next navigation step ABAP Workbench Next navigation step Development Next navigation step Function Builder. End of the navigation pathEnter 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.

End of the note.