cancel
Showing results for 
Search instead for 
Did you mean: 

BPM help.

Former Member
0 Kudos

Hi all..

Iam trying to do a bpm for Idoc collect to file.

I want to post same kind of idocs to one file.. when i put in a fork step with looping they are going one by one without collect ing to create 1 file per idoc.. when i removed the fork step-as they are same message type idocs..the message is shown in Wait step(clock status in moni).

Can anyone help me resolve this.I have given a deadline and exception control.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

samiullah_qureshi
Active Contributor
0 Kudos

Hi

As per my understanding after reading your query you want to create a file for each IDoc.

You can use a receive step to receive IDoc and a send step to send its data to file in loop.

If you want to collect IDoc for particular time period you can use following integration process for your reference from the SAP BASIS software component.

http://sap.com/xi/XI/System/Patterns ---> BpmPatternCollectTime

To use receive step in loop you have to use correlation.

So you decide, based on your requirement, which Idoc field you want to use in correlation.

If you are still facing problem, let us know.

Regards

Sami.

Former Member
0 Kudos

Hi,

1) I think u have to use BLOCK instead of Fork to collect messages.

2) In Block there is one option MODE , choose ForEach from it.

3) Collect messages Sequentially by using container.

Regards,

Rohit

Reward points if helpful.

Former Member
0 Kudos

any help on this one?

Former Member
0 Kudos

go to the sxi_cache to check whether the return code is 0 or not, if not, please activate until 0