cancel
Showing results for 
Search instead for 
Did you mean: 

BPM Collection

Former Member
0 Kudos

Using the BPM I need to collect some messages until certain time period, how can I do that and how do I frame my BPM for the above situation. A simple step by solution will be greatly appreciated.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Pete,

If you only want to collect then you can use this weblog (please check my question at the end of the weblog):

/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm

Else if your requirements dont fit with this then you please see this Time Dependent loops examples in your basis components for more information:

http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm

Regards,

---Satish

Answers (2)

Answers (2)

justin_santhanam
Active Contributor
0 Kudos

Pete,

You can use BPM Collect pattern with time based. Under SAP BASIS u can find the scenario. Use the same pattern.

SWCV : SAP BASIS 6.40

Namespace : http://sap.com/xi/XI/System/Patterns

BPM Name: BpmPatternCollectTime

Best regards,

raj.

Former Member
0 Kudos

Thanks. But would some one tell me the steps involved like

Loop Step ,Receive step, Add the received messages in a Multiline Container End Loop

So whether the above loop will be keep collecting the Messages inside the multiline container until the condtion satisfies? Am I correct?

Thansk.

justin_santhanam
Active Contributor
0 Kudos

Until the time expires, it will collect the message.

Best regards,

raj.

Former Member
0 Kudos

Pete,

Open IR and go to software basis component. If you see it they have given the design how to do and what are the steps.Please go through that and then if you have any questions please post.

Regards,

---Satish

moorthy
Active Contributor
0 Kudos

Hi,

<i>

So whether the above loop will be keep collecting the Messages inside the multiline container until the condtion satisfies? Am I correct?</i> Yes.. if you are going with Time Dependent: then until time expires,

If you are going with Message Dependent: then based on the no.of messages

if you are going with Payload dependent, then it will collect till last message comes into BPM

Steps involved for Time dependent are:

1)Block, 2) Loop, 3) Receive 4) Append/Add 5) Send (this is outside the loop)

You can always refer SAP BASIS SWCV available in the repository for more info

Rgds

Moorthy

Former Member
0 Kudos

Thanks all

Krishna, Could you please tell me more on the Time Depedendent collection and how to achieve that in BPM? Thanks.

moorthy
Active Contributor
0 Kudos

Hi ,

In the time dependent loop, the loop finishes at a specified point in time. ie whatever time you mentioed in the bpm BLOCK step for timeout property.

You can refer this Blog: /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm for step-by-step solution

Here she uses mulitple IDOCs of diffrent Types. Assume you have only one type of IDOC ie PO. then it will be straight design if you follow this blog

Rgds,

Moorthy

former_member184619
Active Contributor
0 Kudos

Hi pete,

as Raj told u can use the BPM example in the basis component itself. and Krishna explained as well.

All the screenshots u are looking for U can see there.

Just follow this for more clarififctaion

1. Open IR

2. open the SAP BASIS 7.0 / 6.4 software Component

3. Under namespace http://sap.com/xi/XI/System/Patterns look at Integration Process named <b>BpmPatternCollectTime</b>

4. Just open this and u can see each and every step clearly.

5. Integration scenario name is same <b>BpmPatternCollectTime</b>

check this for more on Loop step

http://help.sap.com/saphelp_nw2004s/helpdata/en/76/5d373f5e550456e10000000a114084/frameset.htm

Try it if u find some error let us know

Sachin

Message was edited by:

Sachin Dhingra

Former Member
0 Kudos

Hey

have a look at the following

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

Thanx

Ahmad