06-18-2015 8:06 PM
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?
06-18-2015 8:33 PM
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.
06-18-2015 9:07 PM
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.
06-18-2015 9:21 PM
Your basis consultant should be able to help you here.
Also, try passing start date and start time to JOB_CLOSE.