Dynamic job creation ...
In that case of using the FM
g_date is sy-datum.
g_time is sy-uzeit.
CALL FUNCTION 'JOB_OPEN' EXPORTING * DELANFREP = ' ' * JOBGROUP = ' ' JOBNAME = 'Z_BATCHJOB_TRGT' SDLSTRTDT = g_date SDLSTRTTM = g_time. * JOBCLASS = * IMPORTING * JOBCOUNT = * CHANGING * RET = * EXCEPTIONS * CANT_CREATE_JOB = 1 * INVALID_JOB_DATA = 2 * JOBNAME_MISSING = 3 * OTHERS = 4 . IF SY-SUBRC <> 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF.
In the above case how would the Job name get mapped to the Report. / Or / How can we assign the Job Name to the Report.
There is no scope of giving the Report name in the FM.
Can you please elucidate.(EXP parameters)
Post a Comment