SAP Knowledge Base Article - Public

1540446 - Error "Material ID XYZ Not Valid; It Does Not Fall Within the Allowed Range" While Saving a New Material

Symptom

You may have a requirement to define the Material ID by using alphanumeric and special characters. But while defining a new material, system throws following error message: "Material ID XYZ not valid; it does not fall within the allowed range" (where XYZ stands for an actual material ID)

Environment

  • SAP Business ByDesign
  • SAP Cloud for Customer

Reproducing the Issue

In Business ByDesign:

  1. Go to Product Portfolio Work Center.
  2. Select view Products.
  3. Select By Materials subview.
  4. Click New, to create a new product.
  5. Enter a Material ID which is the combination of special characters and alphanumeric characters. For example: 1234-AB.
  6. Fill other required fields with any data and click the Save button. 

System throws above error message.

In Cloud for Customer:

  1. Go to the Products work center.
  2. Then go to the Product Administration view.
  3. Click New, to create a new product.
  4. Enter a Material ID which is the combination of special characters and alphanumeric characters. For example: 1234-AB.
  5. Fill other required fields with any data and click the Save button.

System throws above error message.

Cause

If the setting for alphanumeric and special characters number ranges is not maintained in the fine-tuning activity Number Range for Materials, it is not possible to use alpha numeric characters/special characters for Material ID.

Resolution

  1. Go to work center Business Configuration. 
  2. Access the Overview work center view.
  3. Search and open fine-tuning activity Number Range for Materials.
  4. Enter the length of the Material ID in the field Total Length (including prefix).
  5. Fill the fields Start Number and End Number according to your requirements and make sure to set Interval Type as Manual

Now you are able to define the Material ID using alphanumeric and Special characters.

Please note that lexographic check is used for number ranges. Hence the length of the Number range cannot be limited for a particular length. 
Please check the 'KBA 1867307 - Materials are Created With the IDs Which are Out of the Range Maintained in Business Configuration' for further details.

Below, you can find some examples on how to set up the number ranges:

Example 1:

Start Number: .

End Number: Z999Z

Interval Type: Manual

Then you can define Material ID like: 1X2-5, 5-01A, 1-99Z, A12J

Example 2:

Start Number: .

End Number: Z9999999Z

Interval Type: Manual

Then you can define Material ID like: 0X001A-1A, 1256-01AA, 10001-99Z, 9X1234Z99, A1236GHAG

Keywords

new material, create material, material number range, material ID not valid, allowed number range , KBA , material id , SRD-MD-PRD-PRD , Product , LOD-LE-PRD , Product + Product Category , How To

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions