Skip to Content

Scheduling of job which sends email alerts

Hi Experts,

I have a job with an ABAP step which sends emails to all the members of the support team on job failures. All the logics have been included in the program and is working fine logically.

I have a problem in hand for scheduling. The job should run periodically every 15 mins but it should run periodically only during the span of process chain run.

Approximately its runs from 12 midnight to 5 a.m. (We can assume this time) How can I ensure the jobs runs only during this interval periodically.

If I need to go via event method can someone help me with sample some ABAP code on scheduling via event for interval scheduling.

Thanks,

Mihir

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Jul 31, 2012 at 06:28 AM

    i suppose the problem is you don't want to receive a mail after 5 am?

    so you could schedule the job every 15 min for the entire day, but adapt the logic of the program to actually sent a mail only between 12 midnight and 5 am. this can easily be accomplished by putting the call to the FM to send the mail in an if statement.

    if you create start and end time as parameters, you can the decide on scheduling when a mail is to be send

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 01, 2012 at 12:00 PM

    Hi,

    I think u r talking abt the the created in scot. What u can do is u can change the existing job to trigger daily at 0015 instead of every 15 mins. Then you can copy this job and make it to run again daily at 00.30. similarly create a job for every 15 minute interval by copying the original and changing the scheduling time.

    Regards,

    Raghavendra.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 02, 2012 at 02:49 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2012 at 04:26 AM

    Just check with the option Operation modes in scheduling and include your ABAP program in a local chain containing the Scheduling option with the operation mode.

    Prathish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 02, 2012 at 08:32 AM

    Kiran Vasant Kere,

    I need help in scheduling in interval only. ABAP program is running fine. Any lights ?

    Regards,

    Mihir


    Add a comment
    10|10000 characters needed characters exceeded

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.