cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Corelation in BPM

Former Member
0 Kudos

Hi,

I am desighning the multiple idoc to file scenario with reference to following blog.

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2223. [original link is broken] [original link is broken] [original link is broken]

in adition to above blog, i created the time-out as '3' minutes.

the problem is, my idoc's are not bundled.

i think, this is problem of corelation.

in my idoc, one field name is DOCNUM.

when it is not equal to'0',then i have to bundle.

could you please let me know, how i have to include that condition.

regards

akhil

Edited by: Akhil Rastogi on Mar 11, 2008 12:10 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

as the blog says in the receiver step set the correlation.

remember to set the multiline property in the container Element where you bundle the Idocs.if you dont set this propertie, you arent gonna buddle idocs, only one.

Thanks

Rodrigo

Former Member
0 Kudos

Hi,

I configured as mulilins for idoc list.

please let me know, otherthan this i have to configure any thing.

regards

akhil

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

can you get at least one IDoc??

did you set and ACTIVE the correlation?

see this too

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

thanks

Rodrigo

Former Member
0 Kudos

Hello,

If you want bundle idocs by comparing DOCNUM ne 0, then create a variable and assign this DOCNUM to this variable using XPATH. Now use switch statement, where in specify this condition like var1 ne 0. so it takes upper part where in u collect idocs otherwise it will take lower part. As you dont want to do anythig if DOCNUM eq 0 so dont specify anything in lower part. But as IP need to wait for multiple idocs so put these steps in loop statement where u specified receiving of idoc.

Thanks,

Vijay Kumar T.

former_member859847
Active Contributor
0 Kudos

Hi,

i have also same problem but we got only one idoc always.

in my scenario, i have to bundle based on control record field- MANDT.

can you get at least one IDoc??

yes.

did you set and ACTIVE the correlation?

yes,i configure the correlation editor accordingly.

could you please let me know. what was the problem.

reagrds

mahesh.

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

Hi,

do you know exactly how many IDocs you want to bunddle??

if you know check the message mapping>messages TAB> add many (Imported Objects) as many IDocs you are waiting.

I think the error relate there.

Thanks

Rodrigo