Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Reading XML data using ABAP Mapping

$
0
0

Dear Friends,

 

I have a issue with reading the below XML DATA in my ABAP Mapping program.Please share your experience .

 

MY XML FILE-->

<?xml version="1.0" encoding="utf-8" ?>

-<FILE changeId="1" batchNo="35049">

-<TRANSACTION transactionNo="2">

-<SELLING_CODE docNo="2">

-<PRODUCT SKU="1000305">

-<CODE>

<CRUD>P</CRUD>

<SELLING_CODE>30000000000090</SELLING_CODE>

<CODE_TYPE>110002</CODE_TYPE>

</CODE>

</PRODUCT>

</SELLING_CODE>

</TRANSACTION>

</FILE>

 

I want to read the changeID, BatchNo Value from FILE NODE and similarly from Transaction, Selling_code,Product as well.I can successfully read the other value but dont know how to read the above tag values.

 

I am using the interface IF_IXML_NODE to read child node values but dont know which method I ll use to read header tag values.

 

 

Thanks a lot for your kind help and support in advance.

 

Regards

Jay


Viewing all articles
Browse latest Browse all 6719

Trending Articles



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