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

converting xml to internal table

Former Member
0 Likes
818

HI experts,

I have the xml data in the form of a hexa decimal string in the internal table. I should convert this into the original internal table contents. Kindly let me know how to do it.

Regards,

Sanath.

5 REPLIES 5
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
645

>

> I have the xml data in the form of a hexa decimal string in the internal table. I should convert this into the original internal table contents. Kindly let me know how to do it.

How did you get the XML data in hex format ?

Read only

Former Member
0 Likes
645

I got the hexadecimal XML data in the form of an internal table. We used the DOM approach to convert the internal table into the xml format. Now the reverse approach i.e., if we get the internal table with xml as hexadecimal strings then how should we convert this to internal table in SAP.

Read only

Former Member
0 Likes
645

Hi ,

Try using FM HR_BE_DMFA_XML_TO_TABLE .

Revert for further Qs.

Thanks and Regards,

P.Bharadwaj

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
645

Check the method PARSE_XSTRING of class CL_XML_DOCUMENT.

Read only

nirajgadre
Active Contributor
0 Likes
645

Hi,

Try to use the function module SMUM_XML_PARSE and pass the hexadecimal string to this function module.