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: 

Create XML file from internal table and vise a versa

former_member734916
Participant
0 Kudos
138

Hi Friends,

I have requirement to create an XML string from internal table data and also read XML string data to internal table.

Can anybody tell are there any Function Modules or methods existing for this?

Thanks.

Krishna Yerram.

4 REPLIES 4

former_member222860
Active Contributor
0 Kudos
104

Did u checked this!

former_member734916
Participant
0 Kudos
104

Can anybody answer ?

0 Kudos
104

Try [Simple Transformation|http://help.sap.com/saphelp_nw04/helpdata/en/e3/7d4719ca581441b6841f1054ff1326/frameset.htm]

Cheers

Graham Robbo

0 Kudos
104

1. Write XSLT program. T.code XSLT . e.g. XSLT name "ZTRANS".

2. Write ABAP program

Which includes declaration of internal tables

that you need "IT_DATA".

Upload XML data to an internal table "IT_XML "

use below statement to convert XML to internal table.

Call transformation ZTRANS

source XML IT_XML

result IT_DATA.