We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
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.
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.