cancel
Showing results for 
Search instead for 
Did you mean: 

How to Collect IDOCS before sending to 3rd party

Former Member
0 Kudos

Hi All,

I am sending out PO's using ORDERS idoc from SAP to 3rd party.

In my scenario I need to group the similar IDOC data into a single file before sending it out to the 3rd party using XI. So in Partner profile I have choosen 'Collect IDOC' option and given the count as 10.

Once IDOCS were generated they were in Status '30'. So I then ran RSEOUT00 to flush the PO idocs to XI. It did flush them out but as individual IDOCS.

I had the impression that 'Collect IDOC' files the selected IDOCS into a SINGLE file/IDOC and then sends it out. Was I right in assuming that collect IDOCS merges all idocs into 1 file/idoc or is it wrong.

If it does not, is there a way how I can merge all these IDOCS into a single file before sending to 3rd party ?

Thanks

Shirin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shirin,

You can use IDoc Packages (transaction IDXPW and IDXP) to make BPM wait untill a specific number of IDocs reach XI.

On the target side, you can use [IDoc bundling|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2762] [original link is broken] [original link is broken] [original link is broken]; to send all incoming IDocs as a single IDoc.

Hope this helps.

Regards,

Riyaz

Former Member
0 Kudos

Hi Riyaz,

I have never done BPM before. DO you have any webleg/document link that could help me acive this using BPM.

Appreciate your help.

Thanks

Shirin

Former Member
0 Kudos

Hi,

Collecting and Bundling Idocs with out using BPM

Regards

Seshagiri

Former Member
0 Kudos

Hi Shirin,

For IDoc packages see -

For IDoc Bundling see -

Also, to see BPM Collect patterns, you can navigate to the SWCV named SAP BASIS in your IR. Under namespace http://sap.com/xi/XI/System/Patterns you will find the integration process called BpmPatternCollectPayload. There are many examples in this namespace.

If you are new to BPM, see this - [Step by Step Guide to BPM|http://www.riyaz.net/blog/index.php/2008/04/16/a-step-by-step-guide-to-bpm-asynch-sync-bridge/].

Hope this helps.

Regards,

Riyaz

Answers (3)

Answers (3)

former_member537867
Active Contributor
0 Kudos

Hi ,

Refer this link it has lot of examples:

http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm

- Collection of IDoc to Single File

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2776- [original link is broken] [original link is broken] [original link is broken] Posting multiple IDocs with Acknowledgement

Regards,

Vinod.

Former Member
0 Kudos

I'm not 100% sure, but I'd expect the collected IDocs to be sent from the R/3 system one after another, so 10 collected IDocs in R/3 result in 10 IDocs in PI.

You will have to use a collect pattern in PI to merge these IDocs. You can find an example collect pattern under the SWCV SAP BASIS, namespace http://sap.com/xi/XI/System/Patterns

Former Member
0 Kudos

Hi,

When you specify the partner profile we20 details you have an option whether to process the idocs immdly or collect the idocs for outbound and for inbound you have trigger immdly or trigger via background program,

You can select the option to collect idocs.

Regards,

Nithiyanandam