| Status | |
|---|---|
| Owner | TATARU-ext, Eugenia |
| Stakeholders | |
| Jira Request ID | |
| Jira Development ID |
| Implementing System | GTS (S4) |
|---|---|
| Invoked by | ERP-718 |
| Business Process Reference | 12.02.01.01. Manage Classification Codes |
The functional design of the system interface defines the API to be provided or consumed.
Syensqo uses Descartes (3rd party system) which is the market-leading global trade content for GTS that provides the most current regulatory data for for Customs Classification Codes (HTS). Harmonized Tariff Schedule codes are used to classify imported and exported goods. The first six digits are the international Harmonized System (HS) code, and the last four are specific to the U.S. and its import duties and statistical categories. New classification codes are always provided by Descartes on a regular basis via XML files.
The purpose of this system interface is to automatize the process by, uploading the list of Customs Classification Codes published by the Government into SAP GTS. The update should occur when a file is provided by Descartes. Updates can be received on a daily basis, hence the set up of the program will be marked as daily.
In terms of errors that can occur via the automatic upload, IT GTS users will get a notification within Fiori Launchpad in order to troubleshoot the problem (manual intervention).
The file movement (CPI-S/4) is covered via FS: ERP-718.
While GTS is the leading system for classification codes and product assignment, this step is the prerequisite before classifying any product and before any export can happen in the system.
The emails that Descartes is sending to GTS IT team with the new classification codes will be replaced by this new automatization which follows one straight objective: to reduce the workload of man/hour which involves emails, dependency on an user action/availability or knowledge transfer within the team.
With the 3 different instances of GTS system for US, China and Rest of World, the HTS file must be available in all systems for the product-classification codes to happen.
Detail the functional scope and objectives of the Interface. Please also describe the gap that will be addressed by this interface (Compared to SAP Standard)

Insert the flowchart and fill in the steps
Step | Description | Comment |
|---|---|---|
1 | HTS XML codes published by Descartes | |
2 | File interface program to fetch the HTS XML file and place it in the application server | |
3 | Upload to GTS system using the standard transaction /n/SAPSLL/LLNS_UPL102 | Functional Specification will cover this part. |
4 | Notification is send to the GTS IT users if successful/failed | |
5 | If upload fails, log the details of the upload and GTS IT users to troubleshoot the error | |
6 | After a successful upload , the program will then archive the file from the directory. |
Describe any assumptions that have been made in the process of completing this design. What functionality is expected of configuration or other developments that pass information to this development and/ or retrieve the information processed by it (performance, triggers, exceptions, etc.)
Descartes must published first the XML content for HTS codes on his website.
Indicate any dependencies or constraints that may impact development, in terms of requirements from internal or external applications or teams, limited access to legacy systems, time constraints or data restrictions. Also, please specify schedule dependencies e.g. interface or batch jobs that must run prior to execution.
To detail the security requirements for processing this object, any data integrity issues associated with the object and the teams that will be responsible for processing the object, i.e. authorization/roles required to who can execute the interface, encryption requirement, etc.
You have made the following settings in Customizing for the GTS system:
You have defined numbering schemes content in Customizing for the general settings. The numbering scheme contains the underlying structure for the numbers.
You have defined and configured the necessary legal regulations in Customizing and activated them for the application areas.
You have set up system communication.
You transferred products from your feeder system to the GTS system.
Specify the configuration requirements for this object. Like in case of substitution/ routine specify the configuration needed
Overwriting should be possible. Whenever there is an emergency and cannot wait for the interface program to run, the GTS IT user can login to the FTP server, download the XML file and then upload the file to GTS manually.. However, at the next run of the program this should overwrite the entries stated by the GTS IT user.
Specify any special requirements or considerations that may impact the interface based on specific locations, regulatory compliance or system limitations. Clearly outline requirements e.g. localization rules for countries like China
If the interface interacts with third-party systems such as Icertis, describe any additional integration, security or authentication considerations that must be taken into account.
Existing process is manual upload of EARUS XML file on a regularly basis and it needs to be replaced by this automated solution (run on a daily basis).
Variant for the file daily upload program of /n/SAPSLL/LLNS_UPL101 (/SAPSLL/NSC_NUM_UPLOAD_101).
→ Number specific-parameters:
→ Application Servers:
→ General Control Parameters:
Additional explanation on some of the mentioned fields:

This template section may be used to specify the custom API design. The requirement can be for an API provider which means the API will be designed in the system or can be for an API consumer which means that an API will be consumed in the system.
CPI part of Jira ERP-718 will trigger an event or custom proxy once the file has been picked successfully from Descartes site and dropped in the application server directory.
Populate the type of the API use in this section. Will the API be Consumed or Provided.
N/A
| Parent | Field | Description | Mandatory (Y/N) | Data Type |
|---|---|---|---|---|
N/A
Populate the table below to list the calculation and validation rules per field
| Parent | Field | Rule Type | Rule Instruction |
|---|---|---|---|
Once the XML files are fetched from the Data Provider, these will be uploaded to GTS system using standard transaction /n/SAPSLL/LLNS_UPL102. This program will be scheduled to run daily (time TBD).
Describe the processing requirement in the System
Delta or Full Load Requirements
First upload will be considered the initial upload for HTS XML classification codes → full upload.
After that, the rest are considered delta, whenever new codes shows up or changes.
Please describe change tracking requirements, i.e. transferring only delta, or always full load
A notification via Fiori Launchpad (standard) is send to the GTS IT user if any error occurs during file upload in GTS, but also if upload was successfully executed.
Users listed under DL sco-digops-gts@syensqo.com will be added to a Custom Business Configurations:
| Key fields | Data Element | Data Type | Length |
|---|---|---|---|
| Client | MANDT | CLNT | 3 |
| User ID | SYUNAME | CHAR | 12 |
Please describe any alert & monitoring requirement for business users and support organization, i.e. AIF
English
Specify multi language requirements
N/A
Capture the requirements for the user interface (UI) associated with the interface. It should provide a clear description of how users will interact with the interface and how information will be presented to ensure usability and accuracy.
N/A
Provide volumetrics details: Initial load volumes, Number of Records, Expected Frequency, Expected Long term Growth)
For the XML size during upload, reach out to the owner of the FS to get the details to login to Descartes website and to do the technical check.
Specify if there are any specific performance factors that need to be taken into consideration during development i.e. interface must be able to handle 100 posting per-hour, etc.
When a file has errors during upload the file is not archived from the directory. A notification is sent to the GTS IT user to check the error. Worst case, the user must upload manually the XML and do correction manually in GTS.
Those errors most of the time are configuration errors such as: "Errors occurred during the conversion of the XML file" or "No customs Tariff number found for determination procedure ABCDE (numbering scheme name)". Eventually for any type of error the notification trigger should be send to the GTS IT user to correct it afterwards.
If no file found the customs program will stop with an error ending the program.
Log requirements:
Detail how errors will be handled: Notification, Restart/ Recovery and Re-Processing Procedures
Please provide some guidance and/or test data to help the developer unit test the interface. Please include both positive and negative testing (to validate error situations handling)
The developer will need to test repeatedly, so where appropriate provide instructions to reverse the actions performed so the test may be run again, or explain how to create new input data to the test. In particular, the developer will need logons for test users representing the various roles within the approval process.
| ID | Condition | Expected Results |
|---|---|---|
| 1 | Custom proxy to be executed to fetch the file from the file server and upload to GTS | File should be fetched from file server. Call standard program and upload the file to GTS system. |
| 2 | Upload an error file | File upload produces error and a notification to be triggered to users listed under DL sco-digops-gts@syensqo.com |
| 3 | Errors can occur during the upload to GTS. Several scenarios:
| 1.Symptom: Error like Solution: Go to 2. Symptom: Errors during the save process. Solution: Open the XML file in Notepad, check the encoding format (often 3. Symptom: Error message like Solution: Verify that the numbering scheme is not set to be manually created if you intend to upload it. For existing numbering schemes, if you are trying to create multiple entries for a single legal regulation, you may receive an error that an entry already exists. Carefully check the configuration settings for the legal regulation and ensure you are not creating duplicate entries. 4. Symptom: Errors occur while mapping data, but the file itself seems fine. Solution: This can be due to missing or duplicate data, which might require deleting old entries before re-uploading. Refer to SAP Notes, such as Oss note 1457745, for specific issues with duplicate entries. 5. Symptom: The tariff codes are assigned, but the material still appears in the worklist. Solution: Ensure that the material is correctly configured with the plant tab enabled. You may need to check the configuration of the material type in the feeder system (ECC) and verify that the plant segment is correctly set up in the |
Test the file interface program ERP-718 and then test this interface.
List any considerations essential for application test planning (e.g., test this before ABC along with DEF separate from GHI). If the development encompasses a user interface, explain how to test it. List any insights as to how this component could be tested the most efficiently.
| Package Name | Parent Package |
|---|---|
Other Development Objects
| Object Type | Object Name | Purpose/High Level Logic | Design Rationale Reference |
|---|---|---|---|
Insert links and references to other documents which are relevant when trying to understand this decision and its implications. Other decisions are often impacted, so it's good to list them here with links. Attachments are also possible but dangerous as they are static documents and not updated by their authors.
