Symptom
- Error occurs in Create Material (MM01) application.
- The material number is longer than the length set.
- Message No. BMG 140.
- Error: "The material number XXXXX exceeds the length of 1 characters currently defined for material numbers in Customizing."
(where XXXXX is the material number entered)
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Create Material (MM01) application.
- Enter a material number.
- Observe the error message.
Cause
The Material No. Length field in the configuration is maintained as 1, which restricts the maximum length of material numbers.
Resolution
- Navigate to the configuration settings for Define Output Format of Material Numbers (102320).
- Locate the Material No. Length field.
- Enter the maximum number of characters required for material numbers. The standard maximum length is 18. This can be extended to 40 on request.
- Save the changes to apply the updated configuration.
Please Note:
- Once configured, the length of the product number must not be reduced as it will lead to issues.
- It is not recommended to use a material number length greater than 35 characters.
- Setting material length greater than 35 results in the warning BMG224 "Material numbers with more than 35 characters can cause problems in EDI".
- KBA 3560881 - Once configured, the length of the product number must not be reduced.
See Also
Configuration Item: Define Output Format of Material Numbers (102320); SAP Help Portal
Application: Create Material (MM01); SAP Fiori Apps Reference Library SAP Help Portal
KBA: 3560881 - Once configured, the length of the product number must not be reduced
Keywords
mm01, material number length, error message 140, create material, material configuration, material length field, output format, public cloud, sap s/4hana cloud , KBA , LO-MD-MM-2CL , Product Master for Public Cloud , XX-S4C-SRV-CON , S/4HANA Cloud Expert Configuration Service Requests , Problem
SAP Knowledge Base Article - Public