Product Information
SAP S/4HANA International Trade – Managing Licenses
Business Scenario
Licences are managed centrally in SAP S/4HANA International trade. At the time of creation of Sales Order, Business would like to review the available valid licenses automatically as per the legal regulation of the Company code, Country, Business Partner, Product, Control class etc (in a flexible way). If a valid license is found, Sales document shall be released for further processing (Delivery and Billing). Otherwise The sales document will have to be kept on block for further processing. Trade compliance specialist can review the blocked documents and can release them either by assigning a new valid license or an exception licence to release them for further processing.
SAP S/4HANA Product Coverage on International Trade
S/4 International trade covers the following functional areas.
(1) Classification for International Trade
(2) International Trade Compliance
(2.1) Legal Control
(2.1.1) Control of legal regulations for import and export.
(2.1.2) Managing of licenses in accordance with legal control
(2.1.3) Managing and release of blocked legal control documents
(2.2) Embargo
(3) Intrastat
This blog focuses on managing of license checks (Green Highlighted above) at the time of sales processing.
Configuration
Step C.1 : SPRO → Governance, Risk and Compliance → International Trade → General Settings → Trade Compliance → Activate Trade Compliance for Sales Order Document
Activate trade compliance for document type.
Step C.2 : SPRO→ Governance, Risk and Compliance → International Trade → General Settings → Trade Compliance → Activate checks for company codes
Activate Check for Company Codes at “Company code / Document type Level” and activate flag “Legal Control”
Add the relevant document type and flag “Legal Control” (if activation level is company code / document type level)
Step C.3 : SPRO→ Governance, Risk and Compliance → International Trade → General Settings → Trade Compliance → Switch off Subsequent function in SD Processes
This configuration node allows to decide what are the follow-on process permitted when the sales document is blocked because of no valid license availability
Note : The blocked sales document generally will be set with status “Decision Pending”.
Step C.4 : SPRO→ Governance, Risk and Compliance → International Trade → General Settings → Partner Roles → Define Partner Roles
Step C.5 : SPRO→ Governance, Risk and Compliance → International Trade → General Settings → Partner Roles → Mapping of Partner function to Partner roles
Step C.6 : SPRO→ Governance, Risk and Compliance → International Trade → General Settings → Legal regulations → Define Legal Regulations
Step C.7 : SPRO→ Governance, Risk and Compliance → International Trade → Legal control → Activate Legal regulation
Step C.8 : Before you can create rules for legal control, please see SAP Note 2748526.
This contains all the necessary information about how the application and the rules of the Business Rules Framework (BRF+) can be imported into the system. This is a pre-requisite to complete configuration in Step C.9.
(Use the transaction Code : /SAPSLL/BRF_LCC or Fiori app : Manage Legal control rules to maintain the sequence / licence type determination)
Step C.9 : SPRO→ Governance, Risk and Compliance → International Trade → Legal control → Control Setting for Legal Regulations
Note : (Optional) If you want license check should be activated only for specific Product, Please change the option for Product Maint. to “B-Only specifically selected products are relevant for checks”. You however will have to activate the Control Relevance in Fiori App: F2390 (Classify Products – Legal Control) for the specific products
Step C.10 : SPRO→ Governance, Risk and Compliance → International Trade → Legal control → Define Number Ranges for Licenses
Step C.11 : SPRO→ Governance, Risk and Compliance → International Trade → Legal control → Define License Type
Note : General Attribute controls the license master data views. It is used in determination of right license during sales order creation.
Roles
To use the International Trade Compliance apps, the following roles must be assigned to the user:
· SAP_BR_TRD_CLS_SPECIALIST (Classification Specialist)
· SAP_BR_TRD_CMPLNC_SPECIALIST (Trade Compliance Specialist)
SAP Fiori Apps
App ID | App Name | Role |
F2545 | Manage Licenses | SAP_BR_TRD_CMPLNC_SPECIALIST |
F2792 | Resolve Blocked Documents | SAP_BR_TRD_CMPLNC_SPECIALIST |
F2826 | Manage Documents | SAP_BR_TRD_CMPLNC_SPECIALIST |
W0127 | Manage Legal Control Rules | SAP_BR_TRD_CMPLNC_SPECIALIST |
F2390 | Manage Legal Control Rules | SAP_BR_TRD_CLS_SPECIALIST |
F2391 | Reclassify Products | SAP_BR_TRD_CLS_SPECIALIST |
Process flow
Master Data (License)
Note
During sales order creation, License will be determined considering the validity (1) and available amount (2) and quantity (3). Also Configuration step (C.11) general attribute decides the parameters (4) that can be maintained in license and also it is used while automatic determination of license during sales order creation. Please maintain all the parameters in license as flagged in the license type configuration. (In this example, Company code, Country, Partner, Product is maintained)
Set the License to Expiry by Clicking to continue the Scenario 1
This will change the license to Status “License Expired (C)”
Scenario 1 (S1) : License is expired.
Sales order created but set to blocked status, as there is no valid license available (License Expired). User manually extends the license and assigns to Sales document and releases for further processing.
Step S1.1 : Create Sales Order
Step S1.2 : Create Delivery
Delivery Creation Failed. The schedule line is blocked by legal control as there is no suitable license.
Legal control status for the document item is set to “Decision Pending”.
This will change the license to Status “License Active (B)”
Input the valid license (Activated in Step S1.4) and save.
This will reset the legal control status of Sales Document to “Released by user” and will release for further processing. Status reset can be verified in App : Manage Documents – Trade compliance ( as explained in Step S1.3).
Scenario 2 (S2) : License is Active
Valid License Exists (as license is already activated ins Step S1.4). License determined based on selected parameters and assigned to sales document. Sales document is released automatically for further processing.
Important Tables
SAP S/4HANA International trade uses a separate name space /SAPSLL
Table Name | Description |
/SAPSLL/CLDLA | Trade Compliance Document: License Assignments |
/SAPSLL/CLDLR | Trade Compliance Document: Legal Regulations |
/SAPSLL/CLDIT | Trade Compliance Document: Item Data |
/SAPSLL/LCLIC | License Master Header |
Debugging Tips
License Type Determination using BRF+ Function can be analysed within Function Module : /SAPSLL/ITM_LC_BRF_RULES_EXEC
License Determination can be analysed within Method /SAPSLL/CL_LICENSE_TYPE_CHECK~GET_LICENSES
SAP Notes
2748526 – Configuration of rules for legal control in international trade
Acknowledgement
Thanks to my colleague Jean-Marie CONSEIL and Teophane KESSOU for the motivation and review.
Conclusion
This blog post is to share an insight on how the licenses can be managed within Trade Compliance module of SAP S/4HANA International Trade. You can refer more details in the link below from help.sap.com
Note : International Trade is now integrated into the apps Sales Order Fulfillment – Analyze and Resolve Issues and Track Sales Orders.
The following trade compliance issues are now available:
Trade compliance issue in sales orders
Trade compliance issue in delivery
Very well written, highly useful
Thanks Edwin
Thanks for this blog, it will help us a lot 🙂
Great.. Thanks a lot for your updates
Thanks
Thanks for the blog. very informative. Couple of questions i have
Thanks.
Glad to know that it was useful.
Please refer the below notes that could be of help to understand the mapping, migration aspects.
2869019 - Data Migration of trade compliance data from ERP to S/4HANA
2912664 - KBA: Migration of foreign trade data from an SAP ERP to an SAP S/4HANA system
Thanks. This helps!!
Thank you!
Thank you, very useful!
I do have a question. How we set up in customizing the Embargo country? For eg. Iran. Thanks!
Hello Edwin.
It is very useful, thank you!
But I have a question. Is it possible to proceed this chain without BRF application?
Or using BRF application is required condition?
Thanks
Hi Alena
This is a new feature which is built fully on Fiori Framework and BRF+.
As per my understanding, You may need to go with BRF+ if you want the standard licence determination function. (Refer the configuration C.9)
I would recommend to check with Product team for further details.
Regards,
Edwin
Thank you for your answer.
Also maybe you know something about integration between International Trade and BRIM (SOM) functionality?
Hi,
We have requirement where client will get custom duty waiver if they are procuring components used for manufacturing FG which will be export & have valid license.
How this will be handled in SAP S4 HANA
As far as i am aware, there is no direct relation between the pricing and licence validtity as of today.
You may consider adding a new pricing routine calling the FMs specified for license determination.