cancel
Showing results for 
Search instead for 
Did you mean: 

SPACE problem in parsed XML Data

Former Member
0 Kudos

Hi All,

I am using an ABAP Mapping in XI to convert XML data to flat file where I have parsed the input XML Data and am working with it to pass each string into internal table.

Here I have an issue where a STRING starts with a SPACE which is lost at the output.I mean the leading spaces in a string are getting Truncated.

Can anyone please help in resolving this ASAP?

I tried all the possible ways like concatenating SPACE, ' ' etc.Any help in this regard will be very much helpul.

Thanks & Regards,

Harish.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Harish,

make sure that this is no problem with the software U use to view the result.

E.g. Internet Explorer truncates Whitespace although they exist. For that use right mouse --> view source.

Check the result e.g. with notepad.

Regards Mario

henrique_pinto
Active Contributor
0 Kudos

I'd ask this in the ABAP forums.

They'd probably be more helpful here.

Regards,

Henrique.

Former Member
0 Kudos

Tried my luck already there (in ABAP forums).

No replies.

henrique_pinto
Active Contributor
0 Kudos

But again, why are you using ABAP mapping for flat file conversion?

Did you consider using FCC in the File Adapter?

Regards,

Henrique.