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: 

Back ground job problem : Released job not getting completed some times

subbarao_ilam
Explorer
0 Kudos

Hello experts:

We have an issue with back ground job we are submitting using bellow process

CALL FUNCTION 'BP_JOB_CREATE'

..........

........

SUBMIT <processing_pgm> WITH .....USER...VIA.....AND RETURN.


CALL FUNCTION 'JOB_CLOSE'

EXPORTING

     jobcount             = <VALUE>

     jobname              = <VALUE>

     strtimmed            = 'X'

Job is getting completed some time but some time it stays only in release state for the same USER executing the program.

Can any one help on the reason why it happens and any solution to resolve?

3 REPLIES 3

former_member217316
Contributor
0 Kudos

Not sure if the background processes were available at that time for the job to get completed.

Check with your basis team for this inconsistency.

Also check SM61 settings once.

0 Kudos

Hello Harsh,

Thanks for your reply, if the background processes were  not available at that time is the job not going to complete when there are available? in our case once they stuck and release status they are for ever, or some time they are completing immediately. can you tell me what setting we need to verify in SM61?

---Thank you.

0 Kudos

Your basis consultant should be able to help you here.

Also, try passing start date and start time to JOB_CLOSE.