I am trying to schedule a job that runs every night at 2.00am, but for a certain period every month - say from 4th April to 25th April, excluding weekends.
I have been told that I need to write an ABAp program for this, as the end date for a job cannot be defined in job scheduling.
The requirement is to run the job for a fixed number of days every month.
How do I achieve this?
Thanks for your help!
Moderator message: please choose more descriptive subject lines for your posts.
Edited by: Thomas Zloch on May 25, 2011 1:52 PM
Thomas Zloch replied
SAP's own periodic job scheduling capabilities are limited.
Some potential workarounds for your scenario, more or less nasty, expensive or complex:
- create specific holiday and factory calendars and use these in your jobs for skipping to next "workday"
- schedule multiple monthly jobs on the desired days
- write bespoke scheduling program (as suggested above and below)
- deploy more sophisticated, 3rd party job scheduling tools