Symptom
When Using entity A_Product of API_PRODUCT_SRV create Product, below error occurs:
code: API_PRD_MSG/009
error message: Create operation not allowed on entity.
Environment
SAP S/4HANA Cloud
Cause
Description missing in Body.
When creating a product, the product description is mandatory.
Resolution
It is necessary to add "to_Description" in Body.
Below is sample, it is suggested to adjust according to business requirement.
{
"Product": "",
"ProductType": "FERT",
"BaseUnit": "EA",
"to_Description": {
"results": [
{
"Product": "",
"Language": "EN",
"ProductDescription": "test API"
}
]
}
}
Keywords
API_PRODUCT_SRV, A_Product, to_Description, API_PRD_MSG/009, Create operation not allowed on entity , KBA , LO-MD-MM , Material Master , Problem