Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3353

Re: Simple transformation from XML to ABAP for google API

$
0
0

Hi All,

 

As of now I am able to convert Google API XML response or any XML response to ABAP compatible internal table using below Function modules.

 

Here there is no need to deal with XML to ABAP vice versa transformations.

 

Code :-


Simple approach.PNG

 

Internal table populated data :-

Internal table containing Data.PNG

 

Here we need to do coding for populating target structure by playing with fields

                                          HIER    -> Hierarchy or field position in XML

                                          CNAME -> XML field name

                                          CVALUE -> XML field value

 

I am still trying on transformation and will let you know once got successful.

 

thanks,

Vij


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>