Hi ,
While executing JDBC-> IDOC scenario , PI is failing to generate number of IDocs also missing fields under created structure.
Each row is mapped with IDoc .
Eg: 20 records are coming from database means 20 idocs to be generated
Present situation:
20 records are coming from Dbase and only 1 IDoc is generating in message monitoring payload. Same data tested under mapping which is executed successfully and generating 20 IDocs. However at receiver end its end up with one IDoc with complete EDI_DC40 segment and rest of the segments with partial data. Please throw some suggestions on this and its bit urgent.
here is the sample output idoc generated by PI
<?xml version="1.0" encoding="UTF-8"?>
<MBGMCR02><IDOC BEGIN="1"><EDI_DC40 SEGMENT="1"><TABNAM></TABNAM><DIRECT>2</DIRECT><IDOCTYP>MBGMCR02</IDOCTYP><MESTYP>MBGMCR</MESTYP><MESCOD>MBI</MESCOD><SNDPOR>A000000002</SNDPOR><SNDPRT>LS</SNDPRT><SNDPFC>LS</SNDPFC><SNDPRN>MBLOCK</SNDPRN><RCVPOR>SAPDE1</RCVPOR><RCVPRT>LS</RCVPRT><RCVPFC>LS</RCVPFC><RCVPRN>DE1CLNT200</RCVPRN></EDI_DC40><E1BP2017_GM_HEAD_01 SEGMENT="1"><DOC_DATE>20160121</DOC_DATE></E1BP2017_GM_HEAD_01><E1BP2017_GM_CODE SEGMENT="1"><GM_CODE>06</GM_CODE></E1BP2017_GM_CODE><E1BP2017_GM_ITEM_CREATE SEGMENT="1"><STGE_LOC>06</STGE_LOC><BATCH>1000000000</BATCH></E1BP2017_GM_ITEM_CREATE></IDOC></MBGMCR02>
Generated Idoc also missed multiple fields for below segments.
<E1BP2017_GM_HEAD_01 SEGMENT="1">
<E1BP2017_GM_ITEM_CREATE SEGMENT="1">
Thanks,
aman