SAP Knowledge Base Article - Preview

3766417 - CX_SXML_PARSE_ERROR when confirming Warehouse Task via API_WAREHOUSE_ORDER_TASK_2 (Batch-Neutral)

Symptom

- An error occurs when attempting to confirm a Warehouse Task for a Batch-Neutral storage type using the standard OData v4 API: API_WAREHOUSE_ORDER_TASK_2.
- The system returns an HTTP 400 Bad Request with the error code CX_SXML_PARSE_ERROR and the message: "Error while parsing an XML stream" / "The Data Services Request could not be understood due to malformed syntax."
- The issue arises specifically when the "Batch" field is included in the payload, despite following the official SAP Help Portal documentation.


Read more...

Environment

  • SAP Extended Warehouse Management
  • SAP S/4HANA

Product

SAP Extended Warehouse Management all versions ; SAP S/4HANA all versions

Keywords

Warehouse Task API, Warehouse order API, /SCWM/TO_CONF, /SCWM/RFUI,API WAREHOUSE ORDER TASK 2 , KBA , SCM-EWM-API , Remote APIs , SCM-EWM-API-WOP , Warehouse Order Processing , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.