Skip to Content
Former Member
Sep 04, 2009 at 02:53 PM

Batch job with 2 conditions



We have a program that will create a batch job and then we need to go to SM35 to run that batch job manually. We want to avoid this manual step and what we want to do is to as soon as our program runs it will create a batch job and then batch job should kick off automatically.

One of the solution that came to my mind is to schedule a batch job with two conditions:

1. in first condition it will run our main program

2. and in 2nd step it will look out for the batch job that created in SM35 and will kick off that, but I am not sure how can i do this using Sm36.

I was also wondering if there is another way so that we can just avoid the batch run for the second step?

So can you please help me with this.