SAP Knowledge Base Article - Public

3165643 - Error Message When Creating A New Product Category Using OData "Product Category Does Not Exist"


You are using Odata Service Explorer to create a new Product Category, however you receive the error message "Product Category does not exist"


 SAP Cloud for Customer

Reproducing the Issue

1. Go to Administrator work center.
2. Click on OData Service Explorer.
3. Select c4odataapi and click on Test.
4. Go to Test tab and paste the URL.
5. Select POST and on XML tab paste your script.
6. Click on Test.
7. Error message appears: "Product Category does not exist"


The product category you are trying to create has a blank space as first character.
The UI cannot deal with leading blank character.


You need to remove the blank space or create it as new without the blank space.


Product, Category, Exist, OData, POST, Error , KBA , LOD-LE-PRD , Product + Product Category , How To


SAP Cloud for Customer core applications 2202