Determination of Data in Sales Documents Dangerous goods regulations are valid for a mode-of-transport category and one or more countries. You define one or more countries as a validity area in the system. This means that in SD documents, dangerous goods checks must be performed for all affected combinations of countries and mode-of-transport categories subject to dangerous goods legal requirements. The system uses this data to determine the dangerous goods master records to be checked. It derives validity areas from the countries and mode-of-transport categories from the shipping types.
The following section describes how the country/mode-of-transport category combinations are determined from sales document data. See also Enhanced Determination of Country and Mode-of-Transport Category Combinations .
You must enter the following data for each item in the sales document:
Shipping point
Ship-to party
Route
When creating the document, the system automatically enters the ship-to party from the sales header in the individual items. You can replace this with another ship-to party at item level.

You edit routes in Customizing for
Sales and Distribution
under
Basic Functions
→
Routes
→
Define Routes
→
Define Routes and Stages
If you enter a route with stages, the system uses the shipping types in the route stages.
If you enter a route that has been defined without stages, you must define the shipping type(s) in the route header. You can enter a different shipping type for the preliminary, main, and subsequent legs.
Ensure that in Customizing for
Sales and Distribution
under
Basic Functions
→
Routes
→
Define Routes
→
Define Shipping Types
Each shipping type used has been assigned a mode of transport
Or in Customizing for
Dangerous Goods Management
in the IMG activity
Assign Relevant Mode-of-Transport Category to Modes of Transport
all modes of transport have been assigned to a mode-of-transport category
Determining the departure country
The system determines the departure country from the address of the shipping point that you must enter when you create a delivery. If you did not enter an address for the shipping point in the IMG activity
Define, Copy, Delete, Check Shipping Point
in Customizing for
Enterprise Structure
, the system uses the country entered under
Location
in the detail screen for the IMG step
Define shipping point
.

Country functions are determined for dangerous goods management. The system distinguishes between the following country functions:
Departure country
Transit country
Destination country
Country functions are taken into account if usage profiles are checked for the check method. For more information, see the IMG activity
Specify Usage Profiles for Dangerous Goods Check Methods
in Customizing for
Dangerous Goods Management
.
Determining the destination country
The system determines the destination country from the address of the ship-to party.

When creating the document, the system automatically transfers the ship-to party from the sales header to the individual items. By choosing
Goto
→
Item
→
Partner
at item level, you can replace the ship-to party with another ship-to party. You can overwrite the address of the ship-to party by choosing
Goto
→
Item
→
Partner
, selecting the ship-to party, and double-clicking to navigate to the dialog box for editing the address.
Determining transit countries
Transit countries are determined depending on how the route is specified:
If stages for the route |
Then the system takes into account |
Have been entered |
The entries you maintained in the IMG activity
You have the option of assigning a route to a data record consisting of departure, destination, and transit country in the transit country table. If the system cannot determine any transit countries from the combination of route, departure country, and destination country, it determines a transit country using the combination of departure and destination country. The transit country table is first read with or without a route, and with departure country and destination country for the route stage. If no data record is found here, it is read with or without route, and with departure and destination country for shipping.
When you edit the IMG activity
|
Have not been entered |
The entries in the transit country table regardless of whether you have set the
Exception:The transit country table is only taken into account for national shipments if the
|
The system must be able to make the exact assignment of country and shipping type from the document. The assignment is dependent on whether the route was entered in Customizing with or without route stages.
For routes without route stages, the shipping types from the route header are relevant.
The system distinguishes between national and international (transfrontier) shipping:
National shipping
If the shipping point country is identical to the ship-to party country, the system assumes the shipping is national.
The system assigns the relevant country all shipping types specified in the route header.
International shipping
If the shipping point country is different than the ship-to party country, the system takes the transit country table into account.
The shipping types, which may be different for the preliminary, main, and subsequent legs in the route header, are assigned to the departure, transit, and destination countries as follows:
If a shipping type is defined for the preliminary leg, it is always assigned to the departure country. If no preliminary shipping type is defined, the departure country is assigned the shipping type for the main leg.
If a shipping type is defined for the subsequent leg, it is always assigned to the destination country. If no subsequent shipping type is defined, the destination country is assigned the shipping type for the main leg.
If a shipping type is defined for the main leg, it is always assigned to the transit countries, providing you have not overridden this using the leg indicator in the transit country table.
The
Sea/air
indicator is taken into account in the transit country table if a main leg shipping type has been entered in the route header that is assigned to the mode-of-transport category
Sea,
Air cargo,
or
Air passenger.
You use the
Sea/air
indicator to specify whether the transit country is the departure or the destination country for one of these mode-of-transport categories. This means that you can take into account dangerous goods regulations for mode-of-transport categories that are specific for particular countries.
If the mode-of-transport categories
Sea,
Air cargo,
or
Air passenger
are used for the main leg shipping type and you have not set the
Sea/air
indicator, the main leg shipping type is assigned automatically to the destination and departure countries for shipping. In this case, the system takes at least one internationally valid regulation for which a dangerous goods master record has been created with the validity area REG_WORLD for the dangerous goods check.

If no entries are found in the transit country table, the shipping types in the route header are assigned to the departure and destination countries.
If no shipping type is entered in the route header, or the main leg shipping type has not been entered, the dangerous goods check is terminated and an error message is displayed.
If routes have been entered with route stages, the countries and shipping types are first determined from these stages. If the
Take transit country table into acc.
indicator has been set in the route header, the system takes into account the transit countries entered there for the shipping route, departure, and destination countries.
One route stage
If the route has been entered with one route stage, all transit countries are assigned the shipping type for this route stage.
If the departure country in the expected delivery is not identical to the departure country in the route stage, the departure country for the shipping is assigned the shipping type for the relevant stage, provided the preliminary leg shipping type has not been filled in the route header.
If the destination country in the expected delivery is not identical to the destination country in the route stage, the destination country for the shipping is assigned the shipping type for the relevant stage, provided the subsequent leg shipping type has not been filled in the route header.
Several route stages
If the route has several route stages, the transit countries are assigned to the route stages in the sequence defined in the transit country table. The countries are assigned the shipping type for each route stage.
If the departure and/or destination countries in the expected delivery are not identical to the departure country in the first route stage or the destination country in the last route stage, the departure or destination country is assigned the shipping type for the relevant route stage, provided neither the preliminary leg nor subsequent leg shipping type has been filled in the route header.
The system uses the appropriate Customizing tables to determine the mode of transport and thus the mode-of-transport categories from the shipping types.
See also: