cancel
Showing results for 
Search instead for 
Did you mean: 

do we need to use fork to merge three files into one in BPM

Former Member
0 Kudos

hi friends ,

I have to merge three files to produce one file in (multiplesenders to inbound scenario) ,dowe need to use fork in BPM if yes then how to use it please explain to me ,if not then what may be the solution.Please reply at the earliest.

Thanks & Regards,

Vinay Yadav

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Vinay,

Yes you have to use fork BPM in line you have to use correlation. Also in the properties of fork may sure that necessary branches is 3 (coz u are collecting 3 files) and don't forget to make all three receive steps as start process.

Best regards,

raj.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

If we are take one exmple one sending system sends the data three multiple reciers that movement we used the fork.

justin_santhanam
Active Contributor
0 Kudos

Vinay,

There are lot of steps to achieve the same. But I'll suggest you to read the below link http://help.sap.com/saphelp_nw70/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm

Heading:Using the Integration Server Efficiently -Resource Consumption.

Based on the above link you choose which would be useful for u.

Best regards,

raj.

santhosh_kumarv
Active Contributor
0 Kudos

Hi Vinay

To Collect Files from one Sender:

There is ne need of using fork. U have a loop in the BPM and give the condition as counter 'notequals' 3 and have the receive step in it. Also have a two container variables within the loop one container variable is to collect the 3 files and the other container should be ur counter that determines the termination condition of ur loop.

To Collect File from Multiple sender:

U should have 3 receive steps within fork to collect the three files and also u should have a correlation to match the files.

To know more about correlation go thru the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/frameset.htm

Making Correct Use of Correlations :

http://help.sap.com/saphelp_nw04s/helpdata/en/6d/94364296f1b26be10000000a155106/frameset.htm

Blogs:

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

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

Regards

Santhosh

*If Info was useful Reward Points*

Properties of 'counter; container variable:

Operator:+

Expression:1

Former Member
0 Kudos

Loop can't work for different interfaces,it only works if you need to collect messages of same interface.

<b>You have the option of collecting multiple messages for an interface and bundling them into one message, for example, individual purchase order items into one purchase order</b>

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

Thanx

Ahmad

santhosh_kumarv
Active Contributor
0 Kudos

Hi Vinay

There is ne need of using fork. U have a loop in the BPM and give the condition as counter 'notequals' 3 and have the receive step in it. Also have a two container variables within the loop one container variable is to collect the 3 files and the other container should be ur counter that determines the termination condition of ur loop.

Properties of 'counter; container variable:

Operator:+

Expression:1

Regards

Santhosh

*If info was helpful reward points*

Former Member
0 Kudos

Hey

>>There is ne need of using fork

can you please explain how this will handle three different types of Files?

won't he need to create three separate abstract message interface and use them in each of the receive steps after fork?

thanx

Ahmad

Former Member
0 Kudos

hey

yes u do,have a look at the following to merge multiple files

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

thanx

Ahmad

Message was edited by:

Ahmad