Application Development 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: 

Types of Background jobs

Former Member
0 Kudos

Hi,

Can anybody pl tell me the difference between Scheduled Job and Released job in background processing. Or send me some doc regarding types of background jobs.

Thanks...

Hardik

1 ACCEPTED SOLUTION

Former Member
0 Kudos

There are two ways to schedule a job from a program:

1. the "express" method using the BP_JOBVARIANT_SCHEDULE function module

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.

To schedule a job from within a program using the express method, you need only call the BP_JOBVARIANT_SCHEDULE function module.

With BP_JOBVARIANT_OVERVIEW, you can offer your users a simplified display and management function for their "express-method" jobs.

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.

For further information check the link below

http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a80eb505211d189550000e829fbbd/frameset.htm

6 REPLIES 6

andreas_mann3
Active Contributor
0 Kudos

.

0 Kudos

Thx people..

Hardik

andreas_mann3
Active Contributor
0 Kudos

Hi,

scheduled = planned and not released

-> Job cannot run besides you release it

released = ready for start

-> Job run if start condition is reached

for further info look here:

http://help.sap.com/saphelp_470/helpdata/en/ef/2c513897110872e10000009b38f889/frameset.htm

A.

Former Member
0 Kudos

There are two ways to schedule a job from a program:

1. the "express" method using the BP_JOBVARIANT_SCHEDULE function module

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.

To schedule a job from within a program using the express method, you need only call the BP_JOBVARIANT_SCHEDULE function module.

With BP_JOBVARIANT_OVERVIEW, you can offer your users a simplified display and management function for their "express-method" jobs.

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.

For further information check the link below

http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a80eb505211d189550000e829fbbd/frameset.htm

Former Member
0 Kudos

Hardit,

scheduled means planned and not released

released means ready for start

Active means Job is running

Pls. marl if useful.

Former Member
0 Kudos

<b>shceduled means</b> -->it is just now created.

<b>Released maens--</b>>when u set time and date then it set to released.

<b>Ready maens</b>--> just about to start. (example job start time is 11.00am .. then at 11. am the job sets to Ready status

<b>Active--></b>while processing

<b>Finished--></b>maans when it is completed.

Canceled -->means if job is canceled or terminatred