Skip to Content

Schedule Job

Hi Guys,

There is a requirement to schedule an hourly job with a condition that it should only run when the former one gets completed.

I came across an event "SAP_END_OF_JOB" for the same but the OSS note "422212 - Information about SAP_END_OF_JOB event" states that "In Basis Releases as of 7.00, triggering the event SAP_END_OF_JOB was possible until the year 2007, approximately. Since then, the function BP_EVENT_RAISE returns the exception RAISE_FAILED in this case.

In Basis Releases lower than 7.00, it is still possible."

Any thoughts on this?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2016 at 07:41 PM

    Hi Ankit,

    In SM36 where a job is defined, we have option to schedule a job with predecessor job as start condition.



    Capture.PNG (22.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ankit,

      I guess, 'After Job' condition will only work for the first run. We cannot have this condition on a periodic basis. Please test it.

      The best way to deal with this to define a new step in the predecessor job.

      Step 1: report that needs to run.

      Step 2: report that need to run after completion of STEP 1 report. Simple, easy and guaranteed solution. 😊



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.