cancel
Showing results for 
Search instead for 
Did you mean: 

idoc to file scenario - collect idocs

Former Member
0 Kudos

Hi Experts,

We are creating scenario, Idoc to File,

We are creating N number of idocs at R/3 for invoice.

We need to create one file to place it at FTP server at Inbound side.

How we can do it ? give me steps for BPM (if we are using).

please give me blog with screen shots, as I am new in BPM.

Please help,

Regards,

Study SAP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

refer the below weblog:

Collection of IDoc to Single File

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

Collecting IDocs without using BPM By Stefan grube's

/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm

chirag

Answers (5)

Answers (5)

Former Member
0 Kudos

refer to BPM in SWC SAP BASIS namespace http://sap.com/xi/XI/System/Patterns -> Integration Process-> BpmPatternCollectTime

Your BPM would look the same.

In receive step mention your container for Abstract Interface of IDoc...

Former Member
0 Kudos

Hi,

Thanks to all for your reply,

Chirag --> My scenario is with same message type, the multiple message type example is not clear to me.

Satya --> My scenario is for sending idoc from R/3, and your given example is for receiving idoc at R/3

Regards,

Study SAP

Former Member
0 Kudos

Hi,

refer the weblog by stefun u can collect the IDOC XML into single file and using file adapter pick that IDOC XML and map it to single file....

chirag

Former Member
0 Kudos

My scenario is for sending idoc from R/3, and your given example is for receiving idoc at R/3

refer the blog

/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm

regards

chandra

former_member556603
Active Contributor
0 Kudos

Hi,

There are two Message Mappings involved in the whole scenario. First mapping is N:1 Mapping which will be used in BPM and second Mapping is 1:1 Mapping:

1. First Message Mapping  N: 1 u2013 Mapping between IDoc (occurrence u2013 0...unbounded in u201CMessagesu201D tab) to IDoc with changed occurrence of its top node (IDOC) as 0...unbounded. This message mapping will be used in BPM u2013 transformation step.

Description: This BPM collects all Idocs for 10 minutes which are of Message Type (INVOICE ) according to Receiver Partner Number (Field u2013 RCVPRN) and calls N: 1 mapping to bundle the collected Idocs in a One External Definition for that IDOC.

Use

You use a wait step ( ) to incorporate a delay in a process. Usually, you use a delay to define when the next step in the process is to start. You can define a delay as either a point in time or a period of time.

At runtime, the step waits until the specified point in time is reached or the specified period of time has passed. The system then continues the process by proceeding with the next step.

Check these blogs:

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm

/people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter

/people/prasadbabu.nemalikanti3/blog/2006/02/24/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-1

Thanks,

Satay Kumar

Former Member
0 Kudos

hi check the below blog

*Collecting IDocs without using BPM *

/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm

regards

chandrakanth

Former Member
0 Kudos

Hi,

if your IDocs are of the same type you can use the time-dependent pattern:

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

You can find the complete example for this pattern in the Integration Repository under SAP Basis ® SAP Basis 6.40, namespace http://sap.com/xi/XI/System/Patterns

Regards

Patrick

Former Member
0 Kudos

Refer the below link for the Multiple Idocs to FIle scenario:

[http://www.saptechnical.com/Tutorials/XI/CollectMultipleIDocs/Collect1.htm

******Reward points if useful

Regards,

Kiran Bobbala]