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 XML values to internal table

Former Member
0 Likes
612

Hi Experts

How can i convert XML values to internal table . i am getting all the values into the string.

this is my example

<?xml version="1.0" encoding="UTF-8"?><TEST><ZTEST><DEPTNO>HEADOFFICE</DEPTNO><DNAME>IT</DNAME><LOC>HYD</LOC><MANDT>003</MANDT></ZTEST></TEST>

i did create internal table with 4 fields.

Please help.

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
0 Likes
581

Hi,

I don't see what is to be stored into an internal table (everything you show is only one occurrence!) What are the components of the internal table?

Sandra

Read only

0 Likes
581

<DEPTNO>HEADOFFICE</DEPTNO>

<DNAME>IT</DNAME><

LOC>HYD</LOC>

<MANDT>003</MANDT>

I need the values in between the fields

Read only

0 Likes
581

Yes, I know but I don't see what is to be stored into an internal table (everything you show is only one occurrence, so you only need a structure) What are the components of the internal table?

Read only

Former Member
0 Likes
581