cancel
Showing results for 
Search instead for 
Did you mean: 

collect idoc in BPM

Former Member
0 Kudos

Hi Experts,

I have a scenario where in I am collecting idocs using BPM. I want to process these collected idocs to multiple flat files.

i am using abap mapping which loops through collected idocs and creates multiple messages, however when i test using BPM, the output is only single message which is the last idoc processed.

I am using corelation as a idoc field - PWWRK.

please advice.

Thanks in advance

Anand chavan.

Edited by: Anandchavan on Jun 24, 2009 8:20 AM

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member200962
Active Contributor
0 Kudos

check if your BPM is actually collecting all the IDOCs received...i suppose you are using a Container operation to collect the IDOCs...confirm whether the container operation is configured properly.....and then all these IDOCs are passed to the Mapping.

Regards,

Abhishek.

former_member185881
Active Participant
0 Kudos

Hi Anandchavan

What's the occurance you have defined for your target side is it 1...1

I believe you have to change it to 1..unbounded

Regards

Dheeraj Kumar

Former Member
0 Kudos

hi dheeraj,

I have target occurence set to 0..unbounded.

Thanks

Anand

Former Member
0 Kudos

Is your container for the IDocs in the BPM configured as multiline?

Former Member
0 Kudos

Hi,

Yes i collect the idocs in container variable which is multiine. Then i want to process this list of idocs using abap mapping to produece multiple messages.

Thanks

Anand

Former Member
0 Kudos

Hi Guys,

I am still not able to get the BPM to work correctly.

following are the steps in my BPM:

1. Collect idocs in multiline container

2. Transformation - to sort multiline container.

3. Transformation - ABAP mappnig to map multiline source to multiline target.

4. Transformation - to count messages in multiline target

5. Loop - to send each message in multiline container.

I have used counter to get the count of target messages, however the loop to send messages is never executed.

Thanks

Anand

Former Member
0 Kudos

hi,

is your Abap mapping step is executed in BPM or it is after BPM?

can you please send your ABAP maping code?

Thanks,

Kumar

Former Member
0 Kudos

hi Kumar,

my abap mapping code is inside transformation step in BPM. I checked mapping program by using sxi_mapping_test and it works fine(I removed BPM for this purpose).

Thanks

Anand