Hi,
I'm trying to run two jobs. One after the other. For this i do the following:
JOB_OPEN (with: jobname)
JOB_SUBMIT (with:authcknam, jobcount, jobname, language, report and variant)
JOB_CLOSE (with: jobcount, jobname and strtimmed = X)
JOB_OPEN (with: jobname)
SUBMIT program x...
JOB_CLOSE (with jobcount , jobname, predjob_checkstat = X, pred_jobcount and pred_jobname)
But the second time that i call fonction JOB_CLOSE, it return code sy-subrc = 2. (invalid_startdate).
This happened only in the quality environment (In the developing environment works ok).
Thank for your help!