Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Background Job Scheduling

Former Member
0 Likes
770

Hi Everyone,

I want to schedule a background job which is going to be periodic automatic running every 5 min and is done through normal scheduling.

But now there is a requirement e.g. it should not run from 6 pm evening to 3 am morning.

I created my wrapping program and doing through the std FM JOB_OPEN, JOB_SUBMIT, JOB_CLOSE but it is resticting for the same day but not for next day.

Anybody any idea?

Best Regards.

Kusum.

Hi Everyone,

I want to schedule a background job which is going to be periodic automatic running every 5 min and is done through normal scheduling.

But now there is a requirement e.g. it should not run from 6 pm evening to 3 am morning.

I created my wrapping program and doing through the std FM JOB_OPEN, JOB_SUBMIT, JOB_CLOSE but it is resticting for the same day but not for next day.

Anybody any idea?

Best Regards.

Kusum.

5 REPLIES 5
Read only

Former Member
0 Likes
726

hi,

try checking the condition for sy-uzeit.

it works.

Read only

0 Likes
726

I did and it works for the same day but not for next day

Read only

Former Member
0 Likes
726

Kusum,

please try FM K_BATCH_REQUEST

kind regards

Andreas

Read only

0 Likes
726

I am working in APO and this FM is not there

Read only

Former Member
0 Likes
726

Hi Friends ,

I have found there is one table TBTCCNTXT with is empty in APO.

so is the reason I am not able to schedule ??

Anybody any idea??

Regards.