SAP Knowledge Base Article - Public

2696446 - Error "Material number must not be longer than 18" appears in S/4HANA Cloud Public Edition

Symptom

  • When changing or updating product numbers, the system raises error "Material number must not be longer than 18".
  • Error "The length of the old material number must not exceed 18 characters" appears when updating or saving a product through Create Material app, Change Material app, Migration Cockpit app or API API_PRODUCT_SRV.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open SSCUI/Configuration Activity 102320 "Define Output Format of Material Numbers"
  2. Click on the Configure button
  3. Input a material number length greater than 18 and save
  4. Error appears

Cause

The default length of 18 characters (Compatibility Mode) is set to allow for Integration with other systems (through communication scenarios) where material length of more than 18 characters is not possible.

Resolution

The default length of 18 characters is set to allow for integration with other systems where a material length of more than 18 characters is not possible.

When the material number length is set, both the Material Number and Old Material Number fields are set with the same length.

Please note: Once configured, the length of the product number must not be reduced (KBA 3560881).

To suggest this an a feature request on the SAP Customer influence portal please follow the steps in KBA 2838330 - How To Request for New Features for Master Data topics in SAP S/4HANA Cloud. Note: For go-live critical feature request, contact the SAP Customer Facing role (PE, CEE, CSM, CSP, e-CSP or PDM) assigned to SAP S/4HANA Cloud Public Edition to get support on your request.

See Also

  • KBA 2838330 - How To Request for New Features for Master Data topics in SAP S/4HANA Cloud
  • KBA 3560881 - Once configured, the length of the product number must not be reduced 

Keywords

Product, Configure Product number format, Material number must not be longer than, BMG223, CE_PRODUCT_0002, MFLE, CL_PRODNUMFORMAT_DPC_EXT, Compatibility Mode, OMSL, MMNR, MARA-BISMT, MATNR, A2X, MM/092, The length of the old material number must not exceed 18 characters, Material number must not be longer than 18, 102320, Define Output Format of Material Numbers, BMG 140, Error BMG140 "The material number is longer than the length set", Migration Cockpit object Product, "The length of the old material number must not exceed 18". , KBA , LO-MD-MM-2CL , Product Master for Public Cloud , CA-GTF-TS-LO , Basic Functionalities Material Master , Problem

Product

SAP S/4HANA Cloud Public Edition all versions