DATA: jobname LIKE tbtcjob-jobname,
jobcount LIKE tbtcjob-jobcount.
jobname = sy-repid.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount.
SUBMIT zrsd011 USER 'BCUSER' VIA JOB jobname NUMBER jobcount AND RETURN. --zrsd011程序名称
jobcount LIKE tbtcjob-jobcount.
jobname = sy-repid.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount.
SUBMIT zrsd011 USER 'BCUSER' VIA JOB jobname NUMBER jobcount AND RETURN. --zrsd011程序名称