Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Use only set of work processes

former_member478603
Participant
0 Kudos

Hi All,

My available work processes are 20. I am supposed to use 10.

Once i use this 10 , then i have to check again if any one among of this 10 is free, so i could send next slot. After

using 10, how can i check again if any of this work process is free. Using the SAME FM SBPT_INITIALIZE? Or is there any other way?

3 REPLIES 3

Florian
Active Contributor
0 Kudos

You plan jobs for the workprocesses, so why don't you just have a naming convention for your jobs and you can look after those.

Afterwardsa a count(*) select and hey, if it's less than ten, something should plan the next job..

nabheetscn
Active Contributor
0 Kudos

You can use the same FM in a loop with wait statement or another way is as Florian mentioned

Nabheet

Patrick_vN
Active Contributor
0 Kudos

Or plan the 11+ jobs in such a way that they start once a spercific job of the first 10 has stopped (or been completed).

Example: plan job 11 with job 1 as predecessor, plan job 12 with job 1 as predecessor,.. plan job 21 with job 11 as predecessor,.. etc.

Of course, you might include a prior check to see if there are actually 10 workprocesses at the start,..