2007 Jan 22 11:30 AM
what is the function module for back ground job sheduling
could u plz tell me
2007 Jan 22 11:44 AM
Hi rajesh,
<b>There are two ways to schedule a job from a program:
1."express" method using the BP_JOBVARIANT_SCHEDULE function module
Schedule a job for execution.
This function module greatly simplifies scheduling a job. You need only name an ABAP report. The function module presents screens to your user to allow them to 1) specify the variant to use; and 2) pick a single or repetitive start time for the job.
</b>
call function 'BP_JOBVARIANT_SCHEDULE'
exporting
title_name = 'Documentation Check' " Displayed as title of
" of scheduling screens
job_name = 'DocuCheck' " Name of background
" processing job
prog_name = 'RSTWGZS2' " Name of ABAP
" report that is to be
" run -- used also to
" select variants
exceptions
no_such_report = 01. " PROG_NAME program
" not found.
call function 'BP_JOBVARIANT_OVERVIEW' " List the jobs that
exporting " have been scheduled
title_name = 'Documentation Check' " Displayed as title
" of overview screen
job_name = 'DokuCheck' " Jobs with this name
" are listed
prog_name = 'RSTWGZS2'
exceptions
no_such_job = 01.
<b>2. the "full-control" method using the JOB_OPEN, JOB_SUBMIT, and JOB_CLOSE function modules.
With this method, you have full control over such job options as printing, start time options, and so on. </b>
what is the function module for back ground job sheduling
could u plz tell me
2007 Jan 22 11:33 AM
Hi please check
It is in this order
JOB_OPEN
<b>
JOB_SUBMIT</b>
JOB_CLOSE
Hope this helps
2007 Jan 22 11:36 AM
for bdc back ground processing is there any function moudle is there
plz let me know
2007 Jan 22 11:56 AM
Hi
If you want to process the BDC in background you have to use <b>MODE N</b> .
This will process the BDC in background.
The FM's given are for the program. You can use the JOB* function modules to schedule the programs to run in background.
2007 Jan 22 11:34 AM
2007 Jan 22 11:44 AM
Hi rajesh,
<b>There are two ways to schedule a job from a program:
1."express" method using the BP_JOBVARIANT_SCHEDULE function module
Schedule a job for execution.
This function module greatly simplifies scheduling a job. You need only name an ABAP report. The function module presents screens to your user to allow them to 1) specify the variant to use; and 2) pick a single or repetitive start time for the job.
</b>
call function 'BP_JOBVARIANT_SCHEDULE'
exporting
title_name = 'Documentation Check' " Displayed as title of
" of scheduling screens
job_name = 'DocuCheck' " Name of background
" processing job
prog_name = 'RSTWGZS2' " Name of ABAP
" report that is to be
" run -- used also to
" select variants
exceptions
no_such_report = 01. " PROG_NAME program
" not found.
call function 'BP_JOBVARIANT_OVERVIEW' " List the jobs that
exporting " have been scheduled
title_name = 'Documentation Check' " Displayed as title
" of overview screen
job_name = 'DokuCheck' " Jobs with this name
" are listed
prog_name = 'RSTWGZS2'
exceptions
no_such_job = 01.
<b>2. the "full-control" method using the JOB_OPEN, JOB_SUBMIT, and JOB_CLOSE function modules.
With this method, you have full control over such job options as printing, start time options, and so on. </b>
2007 Jan 23 6:18 AM