SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

S4/HANA Commodity Code

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

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

You can define or delete the Commodity Codes on this screen.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

A new commodity code is defined as follows.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

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.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

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

1. The first one is the transaction code of LTMC (Migration Cockpit).

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

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.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

The corresponding template is downloaded from the next screen.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

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.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

Relevant fields are entered in the Downloaded Material Commodity Code template.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

On the Migration Cockpit screen, You can save the template with the “Upload” button.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

After loading, we activate the process by “Activate” button and start the transfer.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

4 Steps process. After uploading the information as in the screenshot below, the next step is called “Close”

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

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.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

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.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

On the last step, you can finish the process by “Finish” button.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

We’ll see that the Commodity Code field is full when we go to check the material change to the main data screen

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

We entered the commodity code with the migration cockpit in this field which is closed to the data entry on the SAP GUI screen.

2. The other method is that using /SAPSLL/CL_PRCLS_API. The related fields are entered by running Create_Classification

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

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.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

Before the testing, The Commodity Code field in the material main data screen as follows.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

Enter the necessary parameters for changing and run the program.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

The Commodity Code field in the material main data screen, as in the following screenshot, has changed.

SAP S/4HANA, MM (Materials Management), SAP ERP, SAP S/4HANA Migration Cockpit, SD (Sales and Distribution)

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.

Leave a Reply

Your email address will not be published. Required fields are marked *