Export control in SD - Fundamentals
The purpose of this wiki page is to give an intorduction on the export/legal contol functionality within SD.
Overview - What is legal control?
Under certain conditions the export of goods is not permitted. It is either fundamentally not possible (embargo or boycott) or a license is required for it by the authorities (license control). In Germany for example it is the Federal Export Office.
What is checked in legal control?
There are 3 levels of checks:
- Customer level - boycott (“May goods be sold to this customer?”)
- Country level - embargo (“Is it allowed to export goods into this country?”)
- Material level - license check (“Is this material subject to licensing? If so, is there a valid license for it?”)
Boycott and embargo can simply be activated/deactivated by setting the relevant indicator in customizing.
The license check at material level represents the core of the legal control. For this a number of settings in customizing are necessary as well as master data maintenance.
The date relevant for the checks is the “Requested delivery date” (VBAK-VDATU) in the sales order header
In the delivery the date of the “Planned goods movement” (LIKP-WADAT) is checked against
How is the export control activated?
In the sales order:
Important: If the export control is to be used it must be activated at the sales order level!
The activation is done for the order type and the order item category:
- Order type: transaction SPRO -> Sales and Distribution -> Foreign Trade -> Legal control -> Document Control -> Legal Control - Order Header, transaction VI57 (table TVAK):
- Order item category: transaction SPRO -> Sales and Distribution -> Foreign Trade -> Legal control -> Document Control -> Legal Control - Order Item, transaction VI58 (table TVAP)
At item level fine-tuning is possible:
a check should be carried out:
- in case of export within the EU
- in case of export outside the EU
- always, except for domestic market
By activating at header level the export control is initiated (call of function module). Within the export control it is then checked whether for the given item category the control is activated.
For scheduling agreements the export control cannot be activated!
If the indicator “Dialog for legal control” (V_TVAK_CON-EXDIA, see first image) is set at header level then after legal control has been performed (but only in in case of negative result!) the log is called up automatically in a sales document of this type. Otherwise no system message is issued.
In the delivery:
Activation at the delivery level is not obligatory.
The activation is done for the delivery type and the delivery item category:
- Delivery type: transaction SPRO -> Sales and Distribution -> Foreign Trade -> Legal control -> Document Control -> Legal Control - Delivery Header (transaction VI59 / table TVLK)
- Delivery item category: transaction SPRO -> Sales and Distribution -> Foreign Trade -> Legal control -> Document Control -> Legal Control - Delivery Item (transaction VI60 / table TVLP):
If the legal control is activated only for the delivery then the export control is processed during the delivery creation and a log is created (“what if…”). No blocking takes place however and the document can be processed in the usual way. No database is updated (table VBEX and license master record).