You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

Status

  Approved

OwnerTATARU-ext, Eugenia 
Stakeholders
Jira Request ID

ERP-497 - Getting issue details... STATUS

Jira Development ID

ERP-718 - Getting issue details... STATUS

High- Level Specification

ParameterValue
Application System (Source)Descartes
Application System ( Target)SAP GTS E4H
Source System InterfaceDescartes FTP Website
Target System InterfaceERP-720
Business Process Reference12.02.01.01. Manage Classification Codes

Functional Overview

The functional design of the Integration Process defines both inbound and outbound interfaces. An integration defines a specific physical interaction that will need to occur between the system and an external application in response to some business event. 


Syensqo uses Descartes (3rd party system) which is the market-leading global trade content for GTS that provides the most current regulatory data 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 integration specification is to automatize the process by, extracting the list of HTS (commodity & tariff codes) customs classification codes published by the Government from Descartes's website and upload it to 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 to do the file movement. The files will be taken from the directory path within Descartes website in a zip format. The files are supposed to the stored after successful upload to GTS system - audit purposes (the upload program to the GTS system is covered within FS: ERP-720).


Scope and Objectives

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.

Process Flow Diagram

Step

Description

Comment

1

HTS XML codes published by Descartes

Export & Import HTS processing

2

File interface program to fetch the HTS XML file and place it in the application server

Functional Specification will cover this part.

Assumptions

  1. SAP Cloud Platform Integration connectivity is available.
  2. SAP GTS E4H system is available at the time of extraction.

Dependencies

Descartes must published first the XML content for HTS codes.

Security, Integrity and Controls

  • Connection to Descartes to retrieve files will use SAP Integration Suite Middleware CPI (download zip, unzip, upload).

Configuration Requirements

N/A

Special Requirements

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.


Design Rationale

Existing process is a manual upload of HTS XML files on a regularly basis into GTS and it needs to be replaced by this automated solution (run on a daily basis).

  • The CPI middleware will handle the file from FTP and push it to GTS (S/4 instance).
  • Directory path:

sftp://download.custominfo.com

Path: /E4H/Dual Use and LDR

Filename: Take all the .zip available/found under all subfolders inside E4H, exception makes folder Dual Use and LDR (do not mark this one).

  • Inside each of the relevant .zip files there are XML named such as this example "E4H_HSCH13VL_IMP_EN_DTR_v00172_U_001003". Do no take pick up these XML for upload, as they will all fail, the upload program is different as they are custom duty rates relevant. Anything "DTR" related do no mark.

Note1: any future country that might show up on E4H directory which is not listed below should be picked up too; if the case, and same applies for the .zip files inside the subfolders).

  • The parent directory contains all XMLs stored in format .zip. 
  • The program should download the .zip folders, unzip it and upload the XML one by one or multiple files at once in GTS.
  • If error appears during integration process, a notification should be send to the GTS IT users stored under the custom table (see Interface Alert & Monitoring chapter) via Fiori Launchpad standard process.
  • Once files are successfully uploaded, these should be archived inside GTS system.

Note2: always upload the latest version of the zip file. If at the time of the extraction the version number is same as per the last run program should end - no action.


Parent Directory (Country).Zip format (U= for updates)
United States/

E4H_HSUSXX_EXP_EN_vXXXXX_U*

E4H_HSGBXX_IMP_EN_vXXXXX_U*

United Kingdom/

E4H_HSGBXX_IMP_EN_vXXXXX_U*

United Arab Emirates/

E4H_HSAEXX_IMP_EN_vXXXXX_U*

Thailand/

E4H_HSTSXX_IMP_EN_vXXXXX_U*

Taiwan/

E4H_HSTWXX_IMP_EN_vXXXXX_U*

Switzerland

E4H_HSCHXXXX_IMP_EN_vXXXXX_U*

South Africa/

E4H_HSZAXX_IMP_EN_vXXXXX_U*

Singapore/

E4H_HSSSXX_IMP_EN_vXXXXX_U*

Saudi Arabia/

E4H_HSSAXX_IMP_EN_vXXXXX_U*

Peru/

E4H_HSPEXX_IMP_EN_vXXXXX_U*

New Zealand/

E4H_HSNZXX_IMP_EN_vXXXXX_U*

Morocco/

E4H_HSMAXX_IMP_EN_vXXXXX_U*

Mexico/

E4H_HSMXXX_IMP_EN_vXXXXX_U*

Korea/

E4H_HSKRXX_IMP_EN_vXXXXX_U*

E4H_HSKRXX_IMP_KO_vXXXXX_U*

Kazakhstan/

E4H_HSKZXX_IMP_EN_vXXXXX_U*

Japan/

E4H_HSJPXX_IMP_EN_vXXXXX_U*

Indonesia/

E4H_HSIDXX_IMP_EN_vXXXXX_U*

India/

E4H_HSINXX_IMP_EN_vXXXXX_U*

Hong Kong/

E4H_HSHKXX_IMP_EN_vXXXXX_U*

European Union/

E4H_HSEUXX_IMP_EN_vXXXXX_U*

Egypt/E4H_HSEGXX_IMP_EN_vXXXXX_U*
China/

E4H_HSCNXX_IMP_EN_vXXXXX_U*

Chile/

E4H_HSCLXX_IMP_EN_vXXXXX_U*

Canada/

E4H_HSCAXX_IMP_EN_vXXXXX_U*

Brazil/

E4H_HSBRXX_IMP_EN_vXXXXX_U*

Australia/

E4H_HSAUXX_IMP_EN_vXXXXX_U*

Argentina/

E4H_HSARXX_IMP_EN_vXXXXX_U*


Data Structure

N/A

Source Structure

The following fields will be used to provide the required information for this interface:

FieldDescription





Target Structure

The following fields will be used to provide the required information for this interface:

FieldDescription




Mapping and Calculation

N/A

Source TableAPI or Portlet NameSource FieldRequired (Y/N)DescriptionTarget FieldAPI or Portlet NameTarget FieldRequired (Y/N)DescriptionRule TypeRule Instruction




































Processing Logic

Processing within Source

For this integration there will be no processing within the Source. 


Processing within Middleware

CPI will pass the file without modification or transformation.


Processing within Target

The files will not be modified in the target but placed directly in the file server without any transformation. This interface will also trigger the custom proxy developed as part of ERP-720.

The files fetched from the data provider will be uploaded to GTS system using standard transaction /n/SAPSLL/LLNS_UPL101.

Interface Dependency

N/A

Interface Constraints

The interface should run when a file is received from the data provider. A file should be received on a daily basis.

Delivery Requirements

This interface should work like a batch program which runs on the same time every day (TBD the time of the daily run).

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.

Interface Alert & Monitoring

Technical alerts are sent to the GTS IT super user team listed under sco-digops-gts@syensqo.com in case the interface face any issues. 

CALM interface alerts are send out if the interface has an issue allowing users to monitor and manage system.

Please describe any alert & monitoring requirement for business users and support organization

Interface Reporting

N/A

Language Requirements

English

User Interface Requirements

N/A


Volumetrics



Performance Consideration

For the XML size, reach out to the owner of the FS to get the details to login to Descartes website and to do the technical check.



Error Handling

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.

If no file found the customs program will stop with an error ending the program.

Log requirements (Is there a log that shows the job has run?):

  1. Extract - Not able to access folder → notification via Fiori Launchapd to the GTS IT users
  2. No file available at the time when the custom program is scheduled to run →  End program.
  3. Always upload the latest version of the zip file. If at the time of the extraction the version number is same as per the last run  → End program.



Testing

How to Test

Open the FTP site and login with the credentials given. 

Download all the files under Parent directory: Take all the .zip available/found under all subfolders inside E4H, exception makes folder Dual Use and LDR (do not mark this one). from the day before of the run date.

Run the file interface and the file should be successfully placed in the defined file server for this requirement.

Test Conditions and Expected Results

IDConditionExpected Results
1Sample file from Descartes test folder to be uploadedFile should be fetched and uploaded to GTS system

Test Considerations/Dependencies

Test the file interface program and then test the standard transaction to upload the file to GTS system.



Other Information


Development Details

Package

Package NameParent Package




Other Development Objects

Object TypeObject NamePurpose/High Level LogicDesign Rationale Reference









Appendix


See also


No files shared here yet.

Change log

Version Published Changed By Comment
CURRENT (v. 25) Dec 12, 2025 09:12 EPASINGHE-ext, Kapila
v. 37 Dec 12, 2025 09:11 EPASINGHE-ext, Kapila
v. 36 Dec 12, 2025 09:10 EPASINGHE-ext, Kapila minor update
v. 35 Dec 12, 2025 08:39 TATARU-ext, Eugenia
v. 34 Dec 12, 2025 08:38 TATARU-ext, Eugenia
v. 33 Dec 11, 2025 15:56 TATARU-ext, Eugenia
v. 32 Dec 11, 2025 15:53 TATARU-ext, Eugenia
v. 31 Dec 11, 2025 15:01 TATARU-ext, Eugenia
v. 30 Dec 11, 2025 14:58 TATARU-ext, Eugenia
v. 29 Dec 11, 2025 14:48 EPASINGHE-ext, Kapila

Go to Page History

  • No labels