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

How to Convert internal table data into xml and xml data into internal tab

Former Member
0 Likes
577

Hi Guys,

I have a requirement that i have to convert the internal table data into xml format and viceversa . for my requirement i came to know that i have to use Transformations concept. i done the converting the data from internal table into xml data by using standard Tranformations. My Question is

1) Can i use same Transformation to convert the xml data into abap internal table. if it is possible then how ???

2) Is it possible using the standard Transformation or I have to go for XSLT approach

Please help me out from this guys,

Thanks and Regards

Koti

Hi Guys,

I have a requirement that i have to convert the internal table data into xml format and viceversa . for my requirement i came to know that i have to use Transformations concept. i done the converting the data from internal table into xml data by using standard Tranformations. My Question is

1) Can i use same Transformation to convert the xml data into abap internal table. if it is possible then how ???

2) Is it possible using the standard Transformation or I have to go for XSLT approach

Please help me out from this guys,

Thanks and Regards

Koti

3 REPLIES 3
Read only

Former Member
0 Likes
492

Hi Koti,

This is possible. There is a link. With the help of this link you can convert ABAP data to XML and vice versa.

Link: http://www.heidoc.net/joomla/index.php?option=com_content&view=article&id=15:sapxslt&catid=22:sap-xs...

Read only

MarcinPciak
Active Contributor
0 Likes
492

1) Can i use same Transformation to convert the xml data into abap internal table. if it is possible then how ???

Why don't you try it yourself. If you already have data converted to XML, it seems resonable that the reverse operation is also feasible. How? Simply by rearranging the parameters order.

Regards

Marcin

Read only

Former Member
0 Likes
492

Hi Guys,

Thanks a lot for your useful contribution to solve my question .