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

WPUTAB Mapping for Sending of Data from PI (CSV File) to POSDM

$
0
0

Dear PI Experts,

 

I'm very new in configuring PI and i would like to know if the below mapping is correct in message mapping:

 

in CSV file (source)-

 

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

<ns0:MT_CSV_PI_TO_POSDM_WPUTAB xmlns:ns0="http://company.com/xxxscenario">

   <CSV>

      <Header>

         <SiteCode>2200</SiteCode>

         <Cashier>MARCK</Cashier>

         <ReceiptDate>20130603</ReceiptDate>

         <ReceiptNo>TEST1</ReceiptNo>

      </Header>

      <ItemDetails>

         <QtySold>1</QtySold>

         <ReceiptTotal>345.70</ReceiptTotal>

         <Tender>PTCS</Tender>

      </ItemDetails>

   </CSV>

</ns0:MT_CSV_PI_TO_POSDM_WPUTAB>

 

in iDoc WPUTAB (target)-


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

<WPUTAB01><IDOC BEGIN="1"><E1WPZ01 SEGMENT="E2WPZ01"><POSKREIS>2200</POSKREIS><BELEGDATUM>20130603</BELEGDATUM><KASSIERER>MARCA</KASSIERER><E1WPZ02 SEGMENT="E2WPZ02003"><ZAHLART>PTCS</ZAHLART><SUMME>345.70</SUMME><WAEHRUNG>PHP</WAEHRUNG></E1WPZ02></E1WPZ01></IDOC></WPUTAB01>

 

 

I have disabled EDI_DC40.

 

I have read some discussions mentioning SEGMENT in WPUTAB (Target) is mapped to CONSTANT "1" which made me confused so please enlighten me with the correct mapping. I mapped my SEGMENT (header) to E2WPZ01 and SEGMENT (item) to E2WPZ02003.

 

Thanks in advance for you expert answer.

 

 

Kind regards,

Mark


Viewing all articles
Browse latest Browse all 6719

Trending Articles



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