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

XML TO ABAP

Former Member
0 Likes
854

Hi all,

can anyone tell me how to read the data(file) of apllication server which is in xml format into an abap structure?

thanx in advance

Hi all,

can anyone tell me how to read the data(file) of apllication server which is in xml format into an abap structure?

thanx in advance

5 REPLIES 5
Read only

JayR
Participant
0 Likes
807

Check out this link

With Wishes

Jai

Read only

Former Member
0 Likes
807

Hi

please use function module DMEE_GET_XML_DATA_ABA

or try fm SWF_XML_TO_ABAP

**Reward all the helpful answers***

With Regards

Navin Khedikar

Read only

Former Member
0 Likes
807

hi,

Use the FM TEXT_CONVERT_XML_TO_SAP

Also, check out the blog

/people/thomas.jung3/blog/2005/05/15/abap-46c-to-640-delta-training

Hope this helps.

Regards,

Richa

Read only

Former Member
0 Likes
807

Hello,

check this link for sample code.

If useful reward.

Vasanth

Read only

Former Member
0 Likes
807

Try reading data using OPEN DATA SET into t_xml file...

DATA:

t_xml like standard table of SMUM_XMLTB with header line.

We can have a look at the data by looping at the internal table.

LOOP AT T_XML.

WRITE :

/05 T_XML-hier,

20 T_XML-type,

30 T_XML -cname,

70 T_XML -cvalue.

ENDLOOP.

Now using this t_xml fill your internal table...