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

Batch job not getting released automatically

sudarshan_b
Participant
0 Likes
2,906

Hi Folks,

I need small help from you. I am creating a batch job through ABAP using JOB_OPEN, and JOB_CLOSE FMs. I have set start immediately STRTIMMED = 'X' in JOB_CLOSE FM to start the job immediately when scheduled.

But the problem here is that the background job is not getting released automatically to run, even though I have set the STRTIMMED field to ‘X’. Also, my user id has the authorisation object S_BTCH_JOB (RELE = ‘X’) that is required for automatic release of the job.

Do you have any idea why the job is not getting released automatically as soon as it is scheduled? Do I need to make any other settings here?

Request your inputs.

Hi Folks,

I need small help from you. I am creating a batch job through ABAP using JOB_OPEN, and JOB_CLOSE FMs. I have set start immediately STRTIMMED = 'X' in JOB_CLOSE FM to start the job immediately when scheduled.

But the problem here is that the background job is not getting released automatically to run, even though I have set the STRTIMMED field to ‘X’. Also, my user id has the authorisation object S_BTCH_JOB (RELE = ‘X’) that is required for automatic release of the job.

Do you have any idea why the job is not getting released automatically as soon as it is scheduled? Do I need to make any other settings here?

Request your inputs.

3 REPLIES 3
Read only

miko2
Explorer
0 Likes
1,474

Look at this:

http://scn.sap.com/thread/718178

Regards, Miko.

Read only

SujeetMishra
Active Contributor
0 Likes
1,474

Hi,

Check with Basis team whether work processes are free for jobs..check in transaction code SM50.

Regards,

Sujeet

Read only

JimRadiantExplorer
Product and Topic Expert
Product and Topic Expert
0 Likes
1,474

Hi,

See below link and check if your program is OK.

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4d/9467192cdb6c14e10000000a15822b/content.htm

If it does not help, I recommend you debug and see what exception occurs.

Thanks.

Jim