Symptom
It is unable to update material revision level with change number via API_PRODUCT(ODATA V4).
Environment
SAP S/4HANA Cloud Public Edition
Cause
Update revision level should use method Batch instead of POST or Patch directly.
Resolution
It is suggested to refer to below Body
-batch
Content-Type: multipart/mixed; boundary=changeset_batch
-changeset_batch
Content-Transfer-Encoding: binary
Content-Type: application/http
Content-ID: 2
POST Product('product number')/_ProductChangeMaster HTTP/1.1
Content-Type: application/json;charset=utf-8
accept: application/json
{
"Product": "product number",
"ChangeNumber": "change number",
"RevisionLevel": "new revision level"
}
-changeset_batch--
-batch--
See Also
Refer to: API_PRODUCT documentation
Refer to: Product Change Master documentation
Keywords
API_PRODUCT, update revision level, change number, batch request, PATCH method, gateway parsing error, Product Master, Product Change Master, SAP S/4HANA Cloud , KBA , LO-MD-MM-2CL , Product Master for Public Cloud , Problem
SAP Knowledge Base Article - Public