Application Development and Automation 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: 
Read only

how to prevent parallel job scheduling through code?

Former Member
0 Likes
366

Hai,

if user schedule one job as background , prevent again scheduling of the same job before finishing the first one. if any function module or code is available for that purpose.

Plz Help.

Moderator message: duplicate post locked.

Edited by: Thomas Zloch on Apr 27, 2011 3:37 PM

1 REPLY 1
Read only

Former Member
0 Likes
330

Hi,

You have to use FM SHOW_JOBSTATE, this FM lets you know if the JOB is finished or active.

If itu2019s active you have to put a WAIT, and put all this inside a WHILE.

Regards,

Gabriela