‎2012 May 03 7:34 AM
Hello All,
I am passing data in internal table from abap to XML using IF_IXML interface.
For one string field I want to have leading and trailing spaces as it is to come in the XML converted form. But its not coming. Will anybody suggest a solution for this?
I checked the call transformation. but its not useful for this purpose.
Thanks and regards,
MAdhuri S
‎2012 May 03 7:51 AM
Can you try adding spaces to the string and add it ? For adding 5 spaces:
DATA: L_S(5),
S TYPE I.
S = 5
CONCATENATE '' STRING '' INTO ROW_STRING
SEPARATED BY L_S(S).
‎2012 May 03 11:55 AM
Hello Shambu,
I am able to generated that string with leading and trailing spaces in ABAP. Its not the issue. but if I move that to the XML. Its removing those spaces.
‎2012 May 03 7:54 AM
‎2012 May 03 1:05 PM
‎2012 May 03 1:43 PM
‎2012 May 04 6:14 AM
Hello Krupa,
i checked the above threads. But it doesnt mentioned anywhere to have leading and trailing spaces.
My string is " 3C3Z 6731AA ". and I want to have it same in XML format with leading and trailing spaces.
‎2012 May 16 8:17 AM
Hi All,
I am generating XML file using iXML interface. while passing one string, I want to keep leading and trailing spaces as it is while passing it to XML file.
How should I do that?
Thanks and regards,
Madhuri Sonawane