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

DG700004 - EHS-DG: Indv. Determ. of Countries/MTC in Shipping and Sales

DG700004 - EHS-DG: Indv. Determ. of Countries/MTC in Shipping and Sales

Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functions

The function exit DG700004 relates to the individual determination of the country/mode of transport category combination in shipping and sales documents.

In the function module HAZMAT_GET_COUNTRIES_DGMOT, the country/mode of transport category combinations of route, shipping point, and ship-to party are determined in the SAP standard method.

If you have set the Take transit country table into account indicator in the route header, the system also takes into account all transit countries with the corresponding mode of transport categories.

If no route is specified, the dangerous goods checks are canceled and a corresponding warning appears.

The function exit DG700004 provides you with the following additional functions:

  • Individual enhancement for determining the country/mode of transport category combination in shipping and sales documents as an alternative to the SAP standard method.

Description of the parameters for the function exit DG 700004

I_VSTEL

Shipping point (country of departure)

I_KUNNR

Customer number (ship-to party -> country of destination)

I_ROUTE

Route

E_FLG_NO_SENDER

Indicator set if no country of departure can be determined

E_FLG_NO_RECEIVER

Indicator set if no country of destination can be determined

I_SEND_COUNTRY

Country of departure (from shipping point)

I_REC_COUNTRY

Country of destination (from ship-to party)

E_FLG_NO_SECTIONS

Indicator set if no route stages can be determined

E_FLG_NO_CTRY_DGMOT

Indicator set if no countries and mode of transport categories can be determined

E_SENDER_COUNTRY

Country of departure

E_RECEIVER_COUNTRY

Country of destination

E_ROUTTAB_WA

Work area with data for the current route

E_SD_PROFILESTAB

Table containing the mode of transport categories and countries determined

E_ERRORTAB

Table containing the log entries

E_USX_LOGTAB

Table with log entries for further processing (for example, in the dangerous goods check log)

E_FLG_TRANSIT

Indicator set for transfrontier transport

E_FLG_BORDER

Indicator set for transregional transport

E_FLG_NO_ROUTE

Indicator set if no route is specified or if no route can be determined

E_FLG_NO_VSART

Indicator set if no main leg shipping type is specified

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





ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3606 Date: 20200919 Time: 013544     sap01-206 ( 34 ms )