cancel
Showing results for 
Search instead for 
Did you mean: 

Missing WhiteSpaces in XML Message

Former Member
0 Kudos
Good Day,
I'd like to import a text file to SAP PI by using communication channel type "file".
The content of the original textfile looks like:
545140441585805   4  00011990110302062014081200
545140441585805   4  00011990100102062014180003
But after importing this structure into PI, I got following XML structure in sxmb_moni:
<recordset>
  <DEFAULT>545140441585805 4 00011990110302062014081200</DEFAULT>
</recordset>
-   <recordset>
   <DEFAULT>545140441585805 4 00011990100102062014180003</DEFAULT>
</recordset>
My problem is that multiple white spaces of the original text file are reduced to one whitespace.
(see before and after the '4').
I allready set the parameter recordset.fieldContentFormatting to blank in the communication channel.
Best Regards
Lukas

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor
0 Kudos

Hi Lukas,

Did you try to open the XML in editor like notepad++?

you can check the sapNote 821267

regards,

Harish

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Lukas,

is correct. The view you are seeing in sxmb_moni is just the way how the payload is parsed. That is the reason why we usually right-click on the payload and then select view source or open it in notepad as suggested above.

Regards,

Mark

Answers (0)