How can I schedule a periodic (every 30 minutes) background process that will execute only during business hours (8:00am - 5:00pm)?
SAP scheduling isn't flexible enough, on its own, to manage this kind of scheduling. To get what you want, write a 'wrapper' program which checks the time. If the current time is inside business hours, then it should SUBMIT (or CALL TRANSACTION) your main program. If the current time is outside business hours, then the 'wrapper' program should exit.
Many sites write a generic wrapper program which is used to finely tune the scheduling of all their batch programs. For example, specific days.
Dig Deeper on SAP training and certification strategy
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.