What is the commodity code and how is it defined in the material master data?
One of the innovations that comes with S/4HANA is the change in commodity codes.
What is Commodity Code?
If you import or export goods from within the European Union (EU) or outside it, you should understand the importance of commodity codes.
When trading internationally, you will need to find the correct commodity code for your goods so you can fill out customs paperwork accurately. The code is an eight-digit number for exports outside the EU or goods moving within the EU, but is a ten-digit number for imports from outside the EU. Once you know the commodity code, you can look up other important information such as duty rates and any import or export restrictions.
Classifying goods and how to do it
When trading internationally, you need to choose the right commodity code for your goods. The following describes how to define the classification codes.
Classifying your goods correctly will help ensure that you:
- Pay the right duty and VAT
- Know whether an import or export licence is needed
You are legally responsible for the correct classification of your goods, even if you use an agent. Incorrect classification can lead to your goods being delayed or seized and you will have to pay any duty and tax owed, plus possible financial penalties.
Identification of commodity codes to the system
The SAP GUI has an operation code / SAPSLL / CLSNR_01 where you can define commodity codes.
When you continue by entering the Number Scheme which you defined in the SAP GUI System, a screen appears as follows
You can define or delete the Commodity Codes on this screen.
A new commodity code is defined as follows.
The defined Commodity Codes be seen in the following tables as stated in SAP Note.
”Even though this information is not saved in the obsolete tables (MARC, T604, T604T) anymore, it still visible there anyway”
These datas are stored in /SAPSLL/CLSNR (Trade Classification Number) tables. You can find the description of commodity codes in /SAPSLL/CLSNRT (description of commodity codes) tables.
There are 2 methods to use the Commodity Code generated at the SAP GUI. The first one is the Migration Cockpit and the second one is / SAPSLL / CL_PRCLS_API. We will examine these two methods
- The first one is the transaction code of LTMC (Migration Cockpit).
In the Name field, enter the corresponding description and press the Create button.
There are commodity codes from the Migration Objects field. To start the process, the document is selected and opened.
The corresponding template is downloaded from the next screen.
Before making changes, I want to show where the change is made from the Material main data screen. The commodity code in the material master data is not open for data entry.
Relevant fields are entered in the Downloaded Material Commodity Code template.
On the Migration Cockpit screen, You can save the template with the “Upload” button.
After loading, we activate the process by “Activate” button and start the transfer.
4 Steps process. After uploading the information as in the screenshot below, the next step is called “Close”
When the data in Excell is loaded on the system, information is given about whether there is a missing, incorrect data entry in the description field. If there isnt any the incorrect data entry, the process is going on.
After you select all to match the values, the Confirm Mapping Values button is pressed. Or it can be done in manuel matching by entering the values from the name field.
On the last step, you can finish the process by “Finish” button.
We’ll see that the Commodity Code field is full when we go to check the material change to the main data screen
We entered the commodity code with the migration cockpit in this field which is closed to the data entry on the SAP GUI screen.
- The other method is that using /SAPSLL/CL_PRCLS_API. The related fields are entered by running Create_Classification
A constant value can be entered in the IV_STCTS, IV_DATAB, IV_DATBI fields.
The commodity code can be entered in the IV_CCNGN fields. The material number can be entered in the IT_PRODUCTS fields.
Before the testing, The Commodity Code field in the material main data screen as follows.
Enter the necessary parameters for changing and run the program.
The Commodity Code field in the material main data screen, as in the following screenshot, has changed.
As a result, it is seen that data can be entered into the commodity code field on the material main data screen using API and Migration Cockpit.
Hopefully, this blog will be helpful for everyone