Double background job while single SUBMIT?!

Question: Hi,

I have a strange situation: in an user-exit at delivery save(MV50AFZ1) I schedule a job using the classical
'JOB_OPEN' - here I get my job_number

loop at itab.
SUBMIT ZPROG via job_name job_number and return.
endloop.

CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = l_jobcount
jobname = l_jobname
sdlstrtdt = sy-datum
sdlstrttm = start_time
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06.

And in most cases I get two jobs with two steps (one for each one of my loops at itab - this is ok), but why two jobs when I submit via the same job_number????

Answer:
Ok, I think we can forget about this one, as it seems that it's behaving this way only in development system. Might be a fuzzy setting in the scheduling itself.....
Copyright ?2007 - 2008 www.jt77.com