Hierarchy

⤷

⤷

IMG Activity
ID | /SAPSLL/CON_BAD_LCSC | BAdI: Check Within Legal Control |
Transaction Code | /SAPSLL/11000015 | (empty) |
Created on | 20031202 | |
Customizing Attributes | /SAPSLL/CON_BAD_LCSC | BAdI: Check Within Legal Control |
Customizing Activity | /SAPSLL/CON_BAD_LCSC | BAdI: Check Within Legal Control |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /SAPSLL/LCC_DOCUMENT |
Use
SAP Global Trade Services (SAP GTS) performs synchronized import- and export-specific legal controls for every customs document. These legal controls inform you whether a license is required for the customs document or whether there is already a license in the system.
This business add-in (BAdI) enables you to override the results of the legal control, the embargo check, and of sanctioned party list screening.
Requirements
Standard settings
Activities
The BAdI consists of the following four methods:
- ACTIVE_LEGAL_REGULATIONS_GET
This method determines which legal regulations are activated in import and export control. You can implement this method if you want to override the legal control for active legal regulations that is delivered with the standard system.
The following parameters exist:
Importing:
- IV_SRVLL
Individual Service for the Activation of Legal Control - IS_HEADER
Customs Document: Document Header - IS_ITEM
Customs Document: Item - IT_CORPAR
Customs Document: Partner: Standard - Table Type for /SAPSLL/CORPAR
Changing:
- CT_T606G
Active Legal Regulations
- CUSTOMS_PRODUCT_MASTER_GET
This method determines the customs product master. SAP GTS defines export and import list numbers for a specific product in legal control. You can implement this method if you want to override the standard procedure for import and export list number determination for a product.
The following parameters exist:
Importing:
- IS_HEADER
Customs Document: Document Header - IS_ITEM
Customs Document: Item - IT_CORPAR
Customs Document: Partner: Standard - Table Type for /SAPSLL/CORPAR - IV_LGREG
Legal Regulation for Legal Control
Changing:
- CS_PRODUCT
Product Information for License Determination - CV_SUBRC
In the BAdI, you can use this parameter to control if the product master data which the system determined may be used for the current transaction (CV_SUBRC = 0) or not (CV_SUBRC = 4). If CV_SUBRC = 4, the document item is locked.
- LICENSE_TYPES_GET
This method determines the license types that are required for a customs document item. You can implement this method if you want to override the standard logic for license determination.
The following parameters exist:
Importing:
- IS_HEADER
Customs Document: Document Header - IS_ITEM
Customs Document: Item - IT_CORPAR
Customs Document: Partner: Standard - Table Type for /SAPSLL/CORPAR - IV_LGREG
Legal Regulation for Legal Control - IV_SOBJN
Name of Determination Table
Changing:
- CT_T606
Legal Control: Access to License Types
- VALUES_QUANTITY_GET
This method determines the values and quantities that are to be written off by a license. A license is value- and quantity-dependent. Each time you use a license to export or import goods, SAP GTS writes off the quantities and values from the license, dependent on the value and quantity being imported and exported. You can implement this method if you want to change the system response during license determination.
The following parameters exist:
Importing:
- IS_HEADER
Customs Document: Document Header - IS_ITEM
Customs Document: Item - IT_CORPAR
Customs Document: Partner: Standard - Table Type for /SAPSLL/CORPAR - IV_LGREG
Legal Regulation for Legal Control - IV_LICTY
Type of License for Legal Control - IS_T606_CHECK
Type of License for Legal Control
Changing:
- CS_VALUE_QUANTITY
Legal Control: Values and Quantities for Determination
- LICENSES_GET
This method enables you to determine which license the system should choose when it determines licenses and which it should exclude.
The following parameters exist:
Importing:
- IS_HEADER
Customs Document: Document Header - IS_ITEM
Customs Document: Item - IT_CORPAR
Customs Document: Partner: Standard - Table Type for /SAPSLL/CORPAR - IV_LGREG Legal Regulation for Legal Control
- IV_LICTY
License Type for Legal Control
Changing:
- CT_LCLIC
Legal Control: Access to License Types
Example
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20120920 |
SAP Release Created in | 2.00 |