Application Development 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: 

Convert data from internal table to XML file.

Former Member
0 Kudos

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

athavanraja
Active Contributor
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

Former Member
0 Kudos

Use this FM. SAP_CONVERT_TO_XML_FORMAT

Check this link too -

athavanraja
Active Contributor
0 Kudos

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

0 Kudos

Former Member
0 Kudos

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

Former Member
0 Kudos

This message was moderated.