11-11-2010 5:41 AM
HI Experts ,
I have an Issue here,
The XML file on the Application server is in one continous line.
I need to get that in the same format as XML file.
Tried many posts in SDN,but didnt get correct answer.
11-11-2010 6:54 AM
Have U tried to split with separator CR-LF?
Use below code
SPLIT WA_LINE AT cl_abap_char_utilities=>cr_lf INTO: WA_LINE1 WA_LINE2.
Thanks and Regards,
Chandra
11-11-2010 7:56 AM
11-11-2010 8:17 AM
Read Appl server file data into internal table. There after you can split.
Thanks and Regards,
11-11-2010 9:09 AM
It still is an XML file and can be read by receiving systems, if structured properly. For "human readability" there are XML editors, even Internet Explorer will display it with nodes that can be exploded.
So why bother?
Thomas
11-11-2010 9:41 AM
Hi,
try LIST_TO_ASCII function module but with this u vl get output in ASCII and from here again u can change to XML format
Moderator message: please do not use SMS speak.
Edited by: Thomas Zloch on Nov 11, 2010 10:49 AM