Quantcast
Viewing all articles
Browse latest Browse all 9076

Re: Periodic job scheduling but non traditional "status dependent "

Hi,

 

I don't know if there is more elegant solution not involving programming, but the first that comes to mind is two job solution, with some ABAP programming:

 

- a posting job scheduled to start on background processing event, say, Z_TIME_TO_POST_EM_BABY (defined in SM64)

- a 'controller' job running every 15 minutes (between 9:00 am to 6:00 pm, if you know how to restrict that), which is a relatively simple ABAP querying for active posting job (using FM BP_JOB_SELECT) and if it doesn't find one, raising Z_TIME_TO_POST_EM_BABY

 

The controller job can also query for posting job in status 'scheduled' with right event attached and alert if it doesn't find the right setup, check for aborted jobs, or do other housekeeping. If the ABAP can take jobname and event name as parameters, if can even be reused for controlling other jobs.

 

cheers

Janis


Viewing all articles
Browse latest Browse all 9076

Trending Articles