Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Converting XML as table to XML as string

former_member188001
Active Participant
0 Likes
623

All,

I am successfully able to convert XML table from Internal Table. Now, I would like to convert this XML Table into XML string.

Any help on this will be appreciated.

Regards,

Salil

Moderator message: please search for available information/documentation before asking.

Edited by: Thomas Zloch on Dec 7, 2010 11:57 AM

3 REPLIES 3
Read only

alex_cook
Active Participant
0 Likes
566

Howdy,


CONCATENATE LINES OF lt_table into l_string SEPARATED BY cl_abap_char_utilities=>cr_lf.

This will create a string of the lines of the internal table with a carriage return after each line.

Cheers

Alex

Read only

0 Likes
566

Thanks but I have some questions.

I want to convert XML table to XML string.

Please let me know the declaration required to be done.

Read only

Former Member
0 Likes
566

Hi ,

you can ref standard program BCCIIXMLT1 / BCCIIXMLT* to get some idea .

regards

Prabhu