Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Re: Generation of IDOC from xml content present in XSTRING format

$
0
0

Hi Nitin

 

Class CL_XML_DOCUMENT should be useful for your scenario.

 

You can use the instance method PARSE_XSTRING to read in your XSTRING data into a DOM structure. Subsequently, you can iterate through the nodes to extract the data.

 

Once you get all your data, you can populate the IDoc data tables then you can execute the usual IDoc FMs to create and/or process the IDoc.

 

Here are some links on usage of above class.

Visualizing Any Kind of XML Data Using Class CL_XML_DOCUMENT

Upload XML file to internal table - ABAP Development - SCN Wiki

 

 

Rgds

Eng Swee


Viewing all articles
Browse latest Browse all 3125

Trending Articles



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