We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

DG200001 -

DG200001 -

General Material Data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module exit DG200001 allows the individual selection of dangerous goods master records. By activating this enhancement, the SAP-specific algorithm for selecting dangerous goods master records is replaced in the function module HAZMAT_RECORD_READ_FROM_DB and therefore no longer processed.

The restricting selection criteria are passed in the import table I_RDGMDSEL_TAB. The dangerous goods master records determined based on these criteria are returned to the calling program in the export table E_BUFTAB. As a template for individual selection of dangerous goods master records, the function module HAZMAT_RECORD_READ_FROM_DB can be used.

If no dangerous goods master record can be selected in at least one of the entries in the selection table I_RDGMDSEL_TAB, the exception 'NO_RECORDS_FOR_ALL_ENTRIES' must be raised. If a dangerous goods master record could not be read for any entries in the table I_RDGMDSEL_TAB, the exception 'NO_RECORDS_FOUND' must be raised.

Note

The selection of dangerous goods master records plays a central role in the integration of Dangerous Goods Management in logistics processes that exists in the SAP standard system. Changes that are made at this point have an immediate effect on the dangerous goods checks and output of dangerous goods data (for example, on delivery notes, EDI, or tremcards) in the logistics environment.

Description of the Parameters of the Function Module Exit DG200001

I_FLG_READ_UNDELETED_ONLY

Indicator to restrict selection to undeleted data records

I_RDGMDSEL_TAB

Structure with selection criteria

X_SD_PROFILESTAB

SD data for DG documents/checks

E_BUFTAB

Buffer table to be filled





PERFORM Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 2005 Date: 20200920 Time: 100559     sap01-206 ( 223 ms )