Application Development 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: 

Batch job not getting released automatically

sudarshan_b
Participant
0 Kudos

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

miko2
Explorer
0 Kudos

Look at this:

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

Regards, Miko.

sujeet2918
Active Contributor
0 Kudos

Hi,

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

Regards,

Sujeet

jimguo
Advisor
Advisor
0 Kudos

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