Skip to Content

Uploading Commodity codes under S/4


for using the new commodity code functionality in S/4 I need to migrate the values of the current system into S/4.

With transaction /SAPSLL/CLSNR_01 it would take some time to create thousands of commodity codes in the system. Some investigation on that topic guided me to class /SAPSLL/CL_API_TRD_CLS_NUMBER method

MAINTAIN_COMMODITY_CODES but this method doesn't create new codes. For updating a code processing method DO_SAVE as follow up activity is required.

But how is it possible to process a mass creation of commodity codes in S/4, based on an individual structure of the input table?

Thank you for your time

Kind Regards


Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Posted on Apr 07, 2019 at 04:47 PM

    Hello, Norbert Bürger ,

    You might like take a look into SAP S/4HANA Migration Cockpit. Please see below links for more details -

    SAP Note: 2642483

    Getting started with the S/4Hana Migration Cockpit (OnPremise)

    Following Migration Object is available in SAP S/4HANA 1709.

    Material MasterSLL-LEGMaster dataMaterial – Commodity codeSIF_MAT_COMMCODE

    Feel free if you need more help!



    Add comment
    10|10000 characters needed characters exceeded

    • Dear Rohit,

      I understand this migration object is not available in version 1809. How do we upload commodity code in this scenario? I have just got this scenario which requires us to upload commodity codes but we do not have the migration object for it. The only option with us is to create a custom object and thereby generate a template and have it uploaded. Just thought I would check here for other options.

      Thanks and Regards,


  • Posted on Aug 01, 2019 at 03:17 AM

    Hi Rakesh,

    Please have a look at the latest available migration objects for 1809 here in this link. Also, for future, you can refer to this SAP Note 2596400 for the latest available migration objects.

    However, I see that this migration object is not yet available in 1809. So I guess you can create a custom object to upload the data.

    Kindly close the question if answered.

    Thanks and Regards


    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 01, 2019 at 05:25 AM

    Actually, the migration object mentioned by Rohit is available it S/4HANA 1809, the name is different (now it is Material Trade Classification). It is used to upload the mapping between commodity codes and materials and one of the prerequisites is the upload of commodity codes for a certain numbering scheme that you are trying to do.

    Other than creating your own upload program (or a custom migration object) I don't think that you have other feasible options. I need to create just a few codes so I intend to use a combination of a batch input recording and an AutoIT script (because I did not manage to upload the descriptions via the recording and I need these in more than 1 language).

    Add comment
    10|10000 characters needed characters exceeded