BPM: ParForEach Multiline Issue

BPM: ParForEach Multiline Issue
In an integration process I use the following step sequence:

Transformation: Splitting Abstract Interface A to Multiple Abstract Interfaces A
Block (ParForEach): Loop over multiline container element ( referring to abstract interface a),
and send single message (singleline container element)

Basic behavior of the operations mapping is the following:

abstract interface a ( 1 occurence) -> abstract interface a (0..Unbounded occurences)

Source Message:

submission
...
item
item
item

Target Message:

submission
item
submission
item
submission
item

In this case I would like to loop over the submissions (using a ParForEach Block) and send three single messages with this structure:




My problem now is the following: When I set the proporties of the ParForEach Block I select multiline
container element a - this is working fine - however when I want to select "current line" the dropdown
list of possible container elements is empty.

I have however set up two container elements (both are referring to abstract interface a), for one of them
the multiline option is activated.

Why does this not work as expected? Could it be a problem with the transformation step to create a
multiple messages?

------------

1) The single line element defined is having the block name under the Container column (and not process)
2) Check the First, Second, Third points mentioned in this blog...they should solve your problem:
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/10526

-----------


Changing the scope of the Current Line container variable to the block (instead of the process) solved the problem!


SAP Developer Network SAP Weblogs: SAP Process Integration (PI)