cancel
Showing results for 
Search instead for 
Did you mean: 

XML to complex/deep ABAP structure

Former Member
0 Kudos
460

Has anyone successfully used Function module

SDIXML_DOM_TO_DATA (& related SDIXML* Function modules) to convert XML string into complex ABAP structure?

I am using WAS 6.40 (ECC) and I was hoping that if the XML & the ABAP structure you pass as function module parameter do match in strcture, then this Function module should automatically convert (ie, de-serialize) the XML into ABAP structure - Without having to write any XSLT or ST (Simple Transformation) files !

Any ideas? Any other Function module? The ABAP structure I want to be populated is a "deep structure" with many levels and tables at various levels etc..

Thanks a lot

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Janet Lam,

Here's an article explaining mapping between XML and ABAP structures.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2e98a690-0201-0010-3b90-cda...

Dont forget to reward pts, if it helps ;>)

Regards,

Rakesh.

Former Member
0 Kudos

Sorry, I am aware of this article. But as mentioned in my question, I was looking for a solution with a SAP FM, without XSLT or ST.

thanks

Answers (1)

Answers (1)

MariaJoãoRocha
Contributor
0 Kudos

Hi,

Please see

Regards,

Maria João Rocha

Former Member
0 Kudos

thanks. but doesn't show me how to "automatically" fill up a deep ABAP structure with pices of data from xml. 46c is NOT my limitation. I am on 6.40 ABAP

thanks