on 06-07-2011 11:26 AM
Hi Experts
What does the below modes for Block operation signifies
Default
Parforeach
For each
Thanks
Suma
Hi Suma
The ParForEach mode generates a block instance for each item (of a multiline container element), so all items are executed in parallel mode.
With ForEach, you loop through all items, processing them one by one.
It's explained here:
http://help.sap.com/saphelp_nw70/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
You can use the ParForEach mode when you want to send a message to multiple receivers simultaneously, for example. To do so, you use a receiver determination step to determine a multiline container element with the list of receivers. You then define that the message is sent to these receivers in a block with the ParForEach mode. You can use the ForEach mode when you want to send a message to multiple receivers one after the other, for example.
Regards,
Giuseppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Giuseppe
Consider the case where the mode of operation is "For each".
And the input to the block is having the message stucture whose occurence is 0 to unbounded.
Is it that for each occurence of the data there will be different messages?
For example if there are 100 Employee No's, there will be 100 message ID's once the processing happens inside block?
Thanks
Suma
Hi Suma
It applies to multiline elements (e.g. a list of receivers or a group of messages), not to a single message with multiple records.
http://help.sap.com/saphelp_nw70/helpdata/en/78/62373f58502e48e10000000a114084/content.htm
If you need to split the message creating 100 different messages out of a single message with 100 employees, you need to create a 1 to n mapping.
Regards,
Giuseppe
What does the below modes for Block operation signifies
Search on SDN first....there is a blog available on the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.