Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regardsin BDC

Former Member
0 Likes
764

what is the function module for back ground job sheduling

could u plz tell me

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
727

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

6 REPLIES 6
Read only

Former Member
0 Likes
727

Hi please check

It is in this order

JOB_OPEN

<b>

JOB_SUBMIT</b>

JOB_CLOSE

Hope this helps

Read only

0 Likes
727

for bdc back ground processing is there any function moudle is there

plz let me know

Read only

0 Likes
727

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.

Read only

Former Member
0 Likes
727

HI,

<b>JOB_OPEN , JOB_SUBMIT, JOB_CLOSE,</b>

Regards

Sudheer

Read only

Former Member
0 Likes
728

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>

Read only

0 Likes
727

thanks