cancel
Showing results for 
Search instead for 
Did you mean: 

how to define the LOOP condition sams as in BpmPatternCollectPayload

jagesh_lakdawala
Active Participant
0 Kudos

Hi Experts,

I am developing the exact BPM scenario as given for the BPM pattern BpmPatternCollectPayload available in SAP BASIS SWCV.

in that I am not getting how to define the condition for the LOOP step as shown below.

I can see OverallNumber is one of the field in Data Type BpmPattenCollectToBeCollected.

how to use this field in condition editor while defining the condition for the LOOP step.

please advice.

Regards,

Jagesh

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hell Jagesh,

You need to set the counter to number of times the loop should be repeated.

Refer the below link

http://scn.sap.com/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

jagesh_lakdawala
Active Participant
0 Kudos

Hi Raghu,

I know I need to define the condition for the LOOP step using the counter but as I mentioned in my first message I don't know how to use the OverallNumber variable inside the condition.

I need to know how to use OverallNumber in condition editor for the LOOP step condition.

Thank you,

Regards,

Jagesh

former_member186851
Active Contributor
0 Kudos

Hello Jagesh,

you would like to loop for a particular count right say 3.

then give condition like count <= 3

This will repeat loop till count is 3.

jagesh_lakdawala
Active Participant
0 Kudos

No, I want Loop should run as many times as Number OverallNumber specified in incoming inbound message to BPM, please go through the standard BPM pattern as I mentioned earlier.

Regards.

Jagesh

former_member186851
Active Contributor
0 Kudos

you should create a container element and assign it to the incoming value.

jagesh_lakdawala
Active Participant
0 Kudos

Found the way how to define the condition counter<=OverallNumber as shown below.

This is to be specified in the condition editor for the LOOP step.

Closing this Thread now.

Answers (0)