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

Convert data from internal table to XML file.

Former Member
0 Likes
4,550

Hi All,

I am selecting data from database into one internal table.

Now I want to convert data from internal table to xml file format and save in to my desktop. Please suggest me how I can achieve my requirement.

Kindly reply me ASAP.

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
1,133

alternatively you can search the forum with key word "CALL TRANSFORMATION" and gui_download, you will find lot of code samples.

Hi All,

I am selecting data from database into one internal table.

Now I want to convert data from internal table to xml file format and save in to my desktop. Please suggest me how I can achieve my requirement.

Kindly reply me ASAP.

6 REPLIES 6
Read only

Former Member
0 Likes
1,133

To convert the content of the internal table to XML you can use Simple Transformations: Have a look at the online help for the ABAP statement

CALL TRANSFORMATION

Read only

Former Member
0 Likes
1,133

Use this FM. SAP_CONVERT_TO_XML_FORMAT

Check this link too -

Read only

athavanraja
Active Contributor
0 Likes
1,134

alternatively you can search the forum with key word "CALL TRANSFORMATION" and gui_download, you will find lot of code samples.

Read only

0 Likes
1,133

Read only

Former Member
0 Likes
1,133

we need to create IT table containing Xml tags with data and need to send this table and path to GUI_Download function

it will download the file in XML

Read only

Former Member
0 Likes
1,133

This message was moderated.