Skip to Content
0
Former Member
Jul 10, 2006 at 02:45 PM

JOB_SUBMIT

2121 Views

Hi Friends,

i have a job to submit. the report name is RKGALKSU5 (Actual Assessment). the variant is VAR1. the parameters to be passed to the selectio-screen is stored in RSPARAMS internal table. it has more than one cycle to submit.

right now i am using

SUBMIT RKGALKSU5 USING SELECTION-SET 'VAR1'

WITH SELECTION-TABLE IT_RSPARAMS1

VIA JOB 'ASSESSMENT1' NUMBER JOBNUMBER1

AND RETURN.

but the problem is all the cycles are executed in parallel.

how can i submit the job in steps.

usign job submit how to do the job steps

where should i passs the parameters for selection screen in the function module job_submit.

CALL FUNCTION 'JOB_SUBMIT'

EXPORTING

  • ARCPARAMS =

  • AUTHCKNAM =

  • COMMANDNAME = ' '

  • OPERATINGSYSTEM = ' '

  • EXTPGM_NAME = ' '

  • EXTPGM_PARAM = ' '

  • EXTPGM_SET_TRACE_ON = ' '

  • EXTPGM_STDERR_IN_JOBLOG = 'X'

  • EXTPGM_STDOUT_IN_JOBLOG = 'X'

  • EXTPGM_SYSTEM = ' '

  • EXTPGM_RFCDEST = ' '

  • EXTPGM_WAIT_FOR_TERMINATION = 'X'

JOBCOUNT = JOBNUMBER2

JOBNAME = 'ASSESSMENT2'

  • LANGUAGE = SY-LANGU

  • PRIPARAMS = IT_RSPARAMS2

REPORT = RKGALKSU5 VARIANT = VAR1

IMPORTING

STEP_NUMBER = STEP2

  • EXCEPTIONS

  • BAD_PRIPARAMS = 1

  • BAD_XPGFLAGS = 2

  • INVALID_JOBDATA = 3

  • JOBNAME_MISSING = 4

  • JOB_NOTEX = 5

  • JOB_SUBMIT_FAILED = 6

  • LOCK_FAILED = 7

  • PROGRAM_MISSING = 8

  • PROG_ABAP_AND_EXTPG_SET = 9

  • OTHERS = 10

.

Thanks in Advance