on 07-30-2012 2:31 PM
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
I need help in scheduling in interval only. ABAP program is running fine. Any lights ?
Regards,
Mihir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mihir,
You can check following link for some sample ABAP codes
Thanks and regards
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.