SAP Knowledge Base Article - Preview

3513216 - Received IDOC are trimmed the spaces at the starting of segment field

Symptom

Sending inbound IDOCs via HTTP, SOAP, or file, found the leading spaces of segment field value got trimmed in ABAP system.

For example, in the xml file:
<E1xxxxxxxxxx SEGMENT="1">
            <FIELD> xxxx</FIELD>
                          ^

But in ABAP system WE02 to check the IDoc's segment, the field showed as xxxx without the leading space.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP NetWeaver
  • SAP NetWeaver Application Server for SAP S/4HANA
  • ABAP PLATFORM - Application Server ABAP

Product

ABAP platform all versions ; SAP NetWeaver Application Server for ABAP all versions ; SAP S/4HANA all versions

Keywords

IDoc xml file, IDoc space, IDoc spaces trimmed, IDoc XML inbound processing, IDoc segment spaces, IDoc leading spaces, IDoc trimmed, RSEHTTPNORM, IDoc XML, Normalization, W3C  , KBA , BC-MID-ALE , Integration Technology ALE , 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.