SAP Knowledge Base Article - Preview

3802709 - OData service fails due to illegal XML control characters in PR short text causing CPI parser error – SAP S/4HANA Cloud Public Edition

Symptom

  • OData service in SAP S/4HANA Cloud Public Edition fails when a control character is entered in the Purchase Requisition (PR) short text and propagated to the Purchase Order (PO), resulting in malformed XML.
  • The Cloud Integration (CPI) iFlow fails at the OData receiver with a parser error.
  • Error example: Com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 2)).


Read more...

Environment

 SAP S/4HANA Cloud Public Edition

Product

SAP S/4HANA Cloud Public Edition all versions

Keywords

odata v2, illegal character, control character, malformed xml, woodstox, WstxUnexpectedCharException, parser error, cpi, iflow, purchase requisition, purchase order, short text, odata adapter, xml serialization, content-type json , KBA , LOD-HCI-PI-CON-OD , OData Adapters , Problem

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.