SAP® Documentation

Single view

/SAPSLL/SLLNS_ENHANCED_XML_UPL - Upload Customs Classification Data from XML Files

BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book


This program loads XML files with customs classification data (tariff code numbers, the corresponding texts, and customs duty rates) into the SAP Global Trade Services (SAP GTS) system. This data is supplied by external data providers and is necessary to perform product classification for customs processing. You can upload files for several countries during a single program run.



To use the program and the full product classfication in SAP GTS, you have to obtain the necessary data from a data provider.

You have to maintain the following Customizing settings:

IMG: SAP Global Trade Services -> General Settings -> Legal Regulations -> Define Legal Regulation
Every legal regulation used for customs processing has to have the customs processing legal code and the country it applies to as the country of origin.

IMG: SAP Global Trade Services -> General Settings -> Legal Regulations -> Activate Legal Regulations at Country/Country Group Level
Every previously defined legal regulation must be activated for the corresponding country here.

IMG: SAP Global Trade Services -> General Settings -> Numbering Schemes -> Assign Numbering Scheme of Commodity Codes for Customs Processing
Every legal regulation must be assigned the import numbering scheme from the custom's tariff system.

You have to maintain each combination of data provider, country, and type of tariff system that you will use during the upload. You have to select tariff code numbers (ECT, HTS) for the type of tariff system. Furthermore, an alternative numbering scheme (if any) has to be entered here. You also have to set four flags that control the upload behavior: change texts of classification schemes, change texts of structure levels, activate nomenclature check for file names, and activate all text types from XML file.

To upload all the files from a data provider during one program run, they have to be located in one directory and/or subdirectories on either the local computer or the application server. We recommend sorting the files in the main directory by country first, and then by the type of data contained in the files. The advantage of this approach is that if an upload fails, you only have to repeat the failed part, and not the entire upload.


This program uploads tariff code numbers, the corresponding texts, and customs duty rates for any number of countries into the SAP GTS system from a given data provider. These XML files can be saved either on the local PC or on an application server.


There are three blocks on the selection screen.

  • Number-specific parameters
  • You have to enter the data provider for which you want to start the upload here.

  • Directory of XML files
  • You have to enter the directory path where the files are stored here. The directory can be either on the local computer or an application server. You enter the corresponding path in the input field.

  • Log
  • If you want to save the generated log, you have to enter the upload ID of the log here.

  • This flag decides whether the log will be saved. It is active by default.

Standard Variants


An output log is output and (when specified previously) saved.

This log only contains the most important messages from the uploads of the individual files. We recommend checking each individual update log even after a successful file upload, because they may contain additional warning messages - such as a non-assigned unit of measure that is needed for successful classification later.



CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4574 Date: 20200222 Time: 172943     sap01-206 ( 42 ms )

Our Service

Looking for Support? Questions?




Leave us your contact details and we will call you back. Panels marked with * are mandatory.