I m creating a program to delete old entries from tables.This can be done
I have created 2 reports
Report A - MAin report
Report B -has the following stmts
DATA: i_JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
i _JOBNAME LIKE TBTCJOB-JOBNAME .
SUBMIT A AND RETURN
VIA JOB I_JOBNAME NUMBER I_JOBCOUNT
In the background option of report A I have used
job_open with jobname as Report A.
via jobname jobnumber
with jobname, jobnumbr and start immediately = 'x'.
Now when I execute this pgm with foreground option,
I get the records deleted from the table
but the same does not happen in background option.
kindly guide me.