SAP Knowledge Base Article - Public

3674225 - Alphanumeric Material Id Gives Error "Material Id XYZ Not Valid; It Does Not Fall Within The Allowed Range" In C4C

Symptom

Error "Material ID XYZ Not Valid; It Does Not Fall Within the Allowed Range" occurs when attempting to save a product ID with alphanumeric values that do not match the defined number ranges.

Environment

Integration of C4C with ERP

Reproducing the Issue

  1. Navigate to the Products work center.
  2. Access the Product Administration view.
  3. Attempt to create a new product.
  4. Enter a Material ID that includes alphanumeric characters, such as "3L".
  5. Complete other required fields with any data.
  6. Click the Save button.
  7. Error comes -Material Id XYZ Not Valid; It Does Not Fall Within The Allowed Range

Cause

  • The defined number ranges for Material IDs are evaluated based on ASCII code comparison.
  • Special characters and certain alphanumeric combinations do not fall within the specified external number ranges, resulting in validation errors.

Resolution

Alphanumeric material id in C4C is compared as  alpha-numerical in format. This means it should start with Alphabet and then numerical value can be added.

If the material id starts with numeric and first for example (3L) it will throw. error .

See Also

Refer to: SAP Note 0001540446

Keywords

material id, wrong characters, validation error, special characters, alphanumeric id, number ranges, c4c, ascii code comparison, external number ranges, product administration, save error, sap note. , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , Problem

Product

SAP Cloud for Customer core applications all versions