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

Former Member
0 Kudos

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

Sandra_Rossi
Active Contributor
0 Kudos

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

0 Kudos

<DEPTNO>HEADOFFICE</DEPTNO>

<DNAME>IT</DNAME><

LOC>HYD</LOC>

<MANDT>003</MANDT>

I need the values in between the fields

0 Kudos

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?

Former Member
0 Kudos