SAP Knowledge Base Article - Public

2607324 - Error Message: “Material ID not valid; wrong characters used” While Using Special Character in Creating New Product ID

Symptom

When you create a new Product with the Product ID which contains a special character (example: *, &, }, {, >, <), system throws the below error message:

Material ID not valid; wrong characters used

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

  1. Go to Products workcenter
  2. Go to Product Administration view
  3. Select New
  4. Enter the Material ID YYY&YY where YYY&YY stands for the Material ID
  5. Fill the mandatory fields
  6. Select Save
  7. System throws the mentioned error

Cause

The system is designed in way to allow you to use only alphanumeric characters along with few special characters.

Resolution

To enable the use of Special Characters in Material ID, scope the required question as below:

  1. Go to Business Configuration workcenter
  2. Go to Implementation Projects view
  3. Select Edit Project Scope button
  4. Go to Questions section
  5. Expand General Business Data 
  6. Products
  7. Materials
  8. Scope the question Do you want to create the Material ID with special characters ?
  9. Review and complete the scoping by selecting Finish

To create the Products, you may use alphanumeric characters ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 along with Special Characters such as ., +, =, space, #, @, %, (or)

Note:

1. Special Characters such as &, {, }, <, >, * , “, ; are not supported.

2. To create an ID with _, -, /, :, and \, selecting this option is not mandatory.

3. Search may not work for materials with “Space” in Material ID.

When you create a Product ID by using consecutive Space (for example XXX  _YYY), in the user interface, the Product ID is displayed as XXX _YYY with only one space. However, if you perform a search for XXX _YYY (with a single space), you will not get any results. You will have to perform a search with the same ID that you had created (that is, with consecutive space).

*XXX  _YYY represents the Product ID

You may check the activity Number Ranges for Materials in Business Configuration to understand how your system is designed to accept the characters.

  1. Go to Business Configuration work center
  2. Go to Implementation Projects view
  3. For the relevant project select Open Activity List button
  4. In the tab Fine-Tune, open the activity Number Ranges for Materials
  5. You will be able to see the Number Ranges maintained for the Materials  

See Also

Special Characters in Material ID

Keywords

Number Ranges for Materials, Special Characters, Alphanumeric Characters, Material ID, Product ID , KBA , special characters , number ranges for materials , material id , alphanumeric characters , product id , material id with special characters , LOD-LE-PRD , Product + Product Category , Problem

Product

SAP Cloud for Customer all versions