cancel
Showing results for 
Search instead for 
Did you mean: 

reg:BPM for collecting Idocs

Former Member
0 Kudos

Hi all,

We have a requirement in our project where we have to collect IDOCS.The collection should stop When number of idocs is equal to 500 or when time equals 10 minutes from the time when first idoc has reached.

We are using BPM for this.We have a block step in our BPM with a Loop to collect 500 idocs and a deadline branch to stop collection after 10mins.

While testing this interface with the following 2 conditions:

1.By posting 500 idocs in within 10mins . In this case our BPM is wrking fine.

2.Posting less than 500 IDOcs in 10mins..So deadline branch should get executed and the collection should stop after 10 mins and the collected idocs should be processed. --But the BPM is nt wrking in this test case(i.e. deadline branch is nt getting triggered).

Can anyone please let us know the reason?

Even after 10mins BPM is waiting for the IDocs and once it gets 500idocs then only it is getting exceuted.

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

The deadline time duration is in minutes. Make sure that you have mentioned value = 10

Goto SWU3 and execute Schedule Background Job for Missed Deadlines

Regards,

Prateek

Former Member
0 Kudos

Hi,

we have mentioned correct value ( 10 mins )only in deadline branch.

but after exceuting Schedule Background Job for Missed Deadlines in SWU3, its wrking

fine now.

Thanks a lot for ur input.

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

your ref. is a combination of (time dependent) + (Payload-Dependent) http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm

the main difference is instead of the payload dependent you will set the loop to terminate once the counter is equal to 500