cancel
Showing results for 
Search instead for 
Did you mean: 

Idocs are not merging in BPM

Former Member
0 Kudos

Hi Experts,

I am doing one scenario for merging the Idocs data in BPM and sending this one as file.I have done the following steps in BPM

A. Loop with infinite

1.Receive

2.Container Operation(Append)

3.Container Operation(Assign) for count

End loop

B. Transfermation

C. Send

While executing my scenario it is giving only first idoc data in receiver file but its not merging the all idocs data. can you please tell me where i am doing mistake.

Thanks & Regards,

Purushotham

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

you can check the mutliline check box abd try out !!

also , alternatively you can use IDOC Packaging concept rather than BPM I believe .

can forward you the document on idoc packaging .

Thx,

sofia

Former Member
0 Kudos

Hi All,

Thanks for your inputs. I have solved this one myself. I did some mistake in the mapping. Now i have mapped source node(1 to Unbound) to the Target node(1 to Unbound). In between i used Remove context as well as SplitByValue(Value Changed). Now it is working fine.

Thanks & Regards,

Purushotham

Edited by: Purshothamm Thenepalli on Aug 19, 2008 9:33 AM

Former Member
0 Kudos

HI,

In your Infinite Loop how you are breaking up the loop...

The Receiver step is just accepting the 1st IDOC and BPM instances get instantiated. But later on the Loop is not continued to wait for other IDOCs.

Kindly have a look

I am not sure why you are using BPM for this...as you can use the features like

IDOC Collection without BPM, Packaging etc.

Check this blog for multiple IDocs with multiple IDoc types

Refer - SAP Network Blog: Collecting IDocs without using BPM

Refer similar discussion

Thanks

Swarup

Edited by: Swarup Sawant on Aug 18, 2008 6:54 AM

Former Member
0 Kudos

Hi Swarup,

Thanks for giving quick reply. Actually my scenario is not only one idoc merging i am getting 12 different type of idocs i have to collect and send it to 12 different merged files. I have to count how many idocs are comming and compare this with one of the idocs fields it it matches then only i have to send to receiver

" The Receiver step is just accepting the 1st IDOC and BPM instances get instantiated. But later on the Loop is not continued to wait for other IDOCs." In this situation how can i collect all idocs ?

Thanks & Regards,

Purushotham

Former Member
0 Kudos

hi

In the receive step check the start process and activate the correlation.

regards

kummari

Former Member
0 Kudos

Hi Kummari,

I have done this already but not merging.

Thanks & Regards,

Purushotham

Former Member
0 Kudos

hi

use the following steps

1) start step

2) block step ( with exception,deadline,infiniteloop branch)

3)in the loop step - receive step,container operation steps

4)transformation step (for N:1 mapping)

5) send step

regards

kummari

Former Member
0 Kudos

Hi,

I have done the following configurations

1.Start

2.Block(Deadling 10 mins)

3.Fork(12 branches for 12 idocs)

4.Loop(Infinite Loop)

a. Receive

b.Container operation(Append and Assign)

End condition ( If Total no of idocs = Field data)

Second fork

c.Transfermation step

d. Send

5. Stop.

Thanks & Regards

Purushotham

Former Member
0 Kudos

hi

do check the multiline check box

regards

kummari

Former Member
0 Kudos

Yes i checked that.

Thanks & Regards,

Purushotham

Former Member
0 Kudos

Click on Fork step, in properties check necessary branches..set the necessary branches = 12 if not maintained

This is just a work around