Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

IDOC to file mapping issue

$
0
0

Hello all,

 

My IDOC structure is as below :

 

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

<ORDERS05>

      <E1EDK14 SEGMENT="">

         <QUALF>Z03</QUALF>

         <ORGID>AB-13254-ER</ORGID>

      </E1EDK14>

      <E1EDK14 SEGMENT="">

         <QUALF>Z06</QUALF>

         <ORGID>AB-2662-ER</ORGID>

      </E1EDK14>

   </IDOC>

</ORDERS05>

 

The mapping is done in this way :

       ORGID---->substring(3..8)-->

 

QUALF--->EqualS ----->if  then else------->OrderNumber

 

Constant(Z06)-->

 

              Constant(000000)----->

 

 

 

I am getting result as Ordernumber = 0000 because it's always taking the first value of the QUALF .What need to be done such that it takes the rest of the nodes too and show the correct value as OrderNumber = "2662"?

 

Thanks in advance !!

 

Regards,

Sambaran


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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