Skip to Content
author's profile photo Former Member
Former Member

how to schedule job with multi condition

hello,

i need to schedule a job (test1) to be run after job (test2) but if job test2 ended after specif time job test1 does not run.

for example: if test2 started and finished before 03:00 test 1 starts, and if test 2 finished after 03:00 test1 does not run.

Best Regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2012 at 05:08 AM

    Hi Anas,

    Go to SM37 and schedule the jobs by using particular variants

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Anas,

      The possible solutions are:

      1. You can create an event to acheive your results. Please find the below link for sample scenario:

      http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4027834a-81e5-2c10-1692-866e137fe2a3?QuickLink=index&overridelayout=true

      2.

      To create a new batch job you can go to transaction Sm36,wherein you can define the job name,job class and target server..then you can go to start condition and select whether it is a periodic job,or immediate job and accordingly you can schedule the job..Also the very important thing is in the Step funtion you should have valid ABAP program or any external program which should be used at the background...

      If you know the program then you can go to SE38 and create a variant for that program which can be later used in the newly created job.You can also copy an existing job and modify it according to the requirement by checking the job details in SM37.

      Regards,

      chandra

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.