Ansicht
Dokumentation
DG700001 - EHS DG: Enhanc. for cntry/mode of trans. cat. determination
General Data in Customer Master rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
In the function modules HAZMAT_GET_COUNTRIES_DGMOT (shipping and sales documents) and HAZMAT_GET_CTRYS_DGMOT_TRANS (shipment documents), all country/mode of transport category combinations are determined from the route for shipping and sales documents and from the shipment leg for shipment documents.
If you have set the indicator Take transit country table into account, the system takes all transit countries with the respective mode of transport categories into account.
The function exit DG70001 provides you with the following additional functions:
- You can add additional country/mode of transport category combinations.
-
Depending on your business process, you can add additional country/mode of transport category combinations in the table E_SD_PROFILESTAB.
- You can set data records as relevant for checks and documents.
- Using the DGCHECK and DGPAP fields in the E_SD_PROFILESTAB table, the system controls whether a data record is relevant for checks or documents. You can set whether, for example, data records should be neither checked nor printed on the delivery note, or whether they should be printed but not checked.
The customer exit DG 700001 is located in the function group XD71. You will find the standard handling (if the customer exit is not activated) in the function module HAZMAT_STANDARD_PROFILES.
Description of the Customer Exit Parameters for DG700001
I_VSTEL
- Shipping point for the current delivery (delivery document) to be checked or the current expected delivery (sales document) to be checked. You do not need to specify the parameter I_VSTEL if you run the dangerous goods check in the shipment document.
I_KUNNR
- Customer number of the current delivery (delivery document) to be checked or the current expected delivery (sales document) to be checked. You do not need to specify the parameter I_KUNNR if you run the dangerous goods check in the shipment document.
I_ROUTE
- Route of the current delivery (delivery document) to be checked or the current expected delivery (sales document) to be checked. You do not need to specify the parameter I_ROUTE if you run the dangerous goods check in the shipment document.
I_SEND_COUNTRY
- Country of departure of the current delivery (delivery document) to be checked or the current expected delivery (sales document) to be checked. You do not need to specify the parameter I_SEND_COUNTRY if you run the dangerous goods check in the shipment document.
I_REC_COUNTRY
- Destination country of the current delivery (delivery document) to be checked or the current expected delivery (sales document) to be checked. You do not need to specify the parameter I_REC_COUNTRY if you run the dangerous goods check in the shipment document.
I_VTTKVB_WA
- Work area in which the header data for the current transport to be checked is located. You do not need to specify the parameter I_VTTKVB_WA if you run the dangerous goods check in the shipping and sales documents.
I_VTTSVBTAB
- Table in which the shipment legs of the current transport to be checked are located. You do not need to specify the parameter I_VTTSVBTAB if you run the dangerous goods check in the shipping and sales documents.
I_VTSPVBTAB
- Table in which the assignment of the shipment legs to the transport items is located, meaning which deliveries are transported in which legs. You do not need to specify the parameter I_VTSPVBTAB if you run the dangerous goods check in the shipping and sales documents.
I_VTRLKTAB
- Table in which the header data for the deliveries belonging to the shipment document is located. You do not need to specify the parameter I_VTRLKTAB if you run the dangerous goods check in the shipping and sales documents.
E_SD_PROFILESTAB
- Table in which the countries and mode of transport categories determined are located. You can add additional entries to the table via the user exit or, using the DGCHECK and DGPAP fields, you can control whether the corresponding data record is relevant for checks or documents.
E_ERRORTAB
- Table in which log entries are located
E_USX_LOGTAB
- Table with log entries for further processing (to the log for dangerous goods checks, for example)
I_DG_CHK_START
- Start mode for dangerous goods checks
I_FILL_USX_LOG
- Indicator that specifies whether messages have to be written to the table E_USX_LOGTAB
Notes
If you have set the mode of transport category 20 (pipeline) as document-relevant, you must also have entered dangerous goods master records. If no dangerous goods master records exist, the system terminates the creation of the delivery note, for example.
RFUMSV00 - Advance Return for Tax on Sales/Purchases PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 5582 Date: 20240427 Time: 053946 sap01-206 ( 100 ms )