We have the number range from ABC11111111111 to ABC99999999999(14 digits) for materials. When we create a material...
in MM01 -- If we enter, say ABC222 -- it accepts it because we know that this lies within the number range. But what we want is that as soon as the user enters less than 14 characters... It should show an error message and this should happen as soon as the user goes to the next field.
Use a field exit. Prior to 4.6c, this is accessed from the CMOD menu. On 4.6c, execute RSMODPRF from SE38. Instructions for how to use it are in the program documentation.
Your field exit will just need to check that the material number is 14 digits.
You can also use transaction OMSL to configure other properties of the material number, such as maximum length.
Dig Deeper on SAP MDM software
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header.continue reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location.continue reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.