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

Download XML string

Marcal_Oliveras
Active Contributor
0 Likes
2,740

Hi, I have an XML into xstring, I've converted that xstring to string but now I have to convert my xml string to a text internal table or something similar to download as a file into my PC.

How can I do this?

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
1,161

Hello Marshal

You can use the methods of class CL_XML_DOCUMENT, e.g.:


PARSE_XSTRING: parses your XML stream into a DOM
EXPORT_TO_FILE: Generates File from XML (Download)

Regards

Uwe

4 REPLIES 4
Read only

Former Member
0 Likes
1,161

Hi Marshal,

You can use Transformation for xml to internal table and then download it in text file.

Regards,

Vijay

Read only

Former Member
0 Likes
1,161

Hi,

Check this FM to convert the string to internal table .RKD_WORD_WRAP

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,162

Hello Marshal

You can use the methods of class CL_XML_DOCUMENT, e.g.:


PARSE_XSTRING: parses your XML stream into a DOM
EXPORT_TO_FILE: Generates File from XML (Download)

Regards

Uwe

Read only

0 Likes
1,161

Solved, thanks Uwe