cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Leading zeros in product master

Hans_van_Essen
Explorer
0 Kudos
430

At my current customer we need to create productnumbers with one or multiple leading zeroes. Productnumbers doesn't have the same length and we have used the tickbox in the material type to ignore the external number range, but this is not working for productnumbers only consisting of numbers.

Productnumbers are not only consisting of numbers, but could also contain letters.

Is there any way to create the external productnumbers as desired?

Accepted Solutions (0)

Answers (2)

Answers (2)

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Kudos

Hello @Hans_van_Essen 

You can switch on material number leading zeros in the OMSL configuration with "lexicographical" checkbox. Make sure to read carefully documentation to the SPRO entry: Logistics - General -> Material Master -> Basic Settings -> Define Output Format of Material Numbers

Best regards

Dominik Tylczynski

Hans_van_Essen
Explorer
0 Kudos
Thanks Dominik, We were known by this setting, but we've already have a working production environment ans cannot use this tickbox anymore. Do you have ant other suggestion?
Dominik_Tylczynski
SAP Champion
SAP Champion
0 Kudos

You can implement your own logic to handle leading zero with BADI_MATN1.

AndreasMuno
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for your request, @Hans_van_Essen ,

the system's capabilities supporting aspects of numbering requirements like you mentioned can be found in the SAP Help, here.  

If this answers your request please mark the response as solution accordingly. Thank you.