Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10116

Multiple IDoc to single file using IDoc Adapter

$
0
0

Hi Everyone,

 

I am using PI 7.4 and working Multiple IDoc To File Scenario.

 

Sender Adapter: IDoc Adapter

Receiver : File Adapter

 

ECC will release the IDoc in packet and as per the requirement PI has to create the target file consisting of as many line items as the number of IDocs.

So IDocs will be released from ECC in packets of lets say 25.

PI needs to loop over all 25 items and get the file created. Target file would consist of some header records (payment total, no of payment records(no of IDocs received in one message)) and line items (In this case it would be 25 lineitems).


Currently I have configured as below:
I could see multiple IDocs in one single message. But in message mapping the occurrence of IDoc is 1 so what should we do loop over multiple IDocs in mapping.

IDocXML.JPGIDoc_Multiple.JPG

 

I read below note and blog:

 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b?overridelayout=true

 

http://www.stechno.net/sap-notes.html?view=sapnote&id=814393

 

It says to create modified xsd by exporting the IDoc and import it back to repository and use the same.

But I am not sure whether we can use ALE connection via IDoc Adapter to connect to ECC.

 

Please provide your inputs.

 

Thanks,

Vertika


Viewing all articles
Browse latest Browse all 10116

Trending Articles



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