SAP Note 790949 - SAP XI: IDoc structure field contains '#'

Component : IDOC Adapter - Mapping

Solution : https://service.sap.com/sap/support/notes/790949 (SAP Service marketplace login required)

Summary :
After sending an IDoc via SAP Exchange Infrastructure's IDoc adapter, a segment field shows as '#', and post-mapping in XML as an empty tag in the XI monitor. Errors like "Segment not correct in the structure" occur, with trace entries indicating ignored unknown segment fields. This issue originates from the XSLT mapping of source data to IDoc structure, potentially involving file uploads via the file adapter. To resolve, set the 'indent' attribute to "no" for xsl:output in Entry XSLT and follow specific correction instructions or implement Support Packages.

Key words :
<field>carriage return</field>, >ignore unknown segment field, #text</trace><trace level=, sap exchange infrastructure, relevant support package, empty tag <field/>, terms xslt mapping, segment field, empty field, segment</trace>

Related Notes :

833184XI 30 Support Package stack 12
811017XI 30 Support Package Stack 11
787931XI 30 Support Package Stack 10