cancel
Showing results for 
Search instead for 
Did you mean: 

background job issue

Former Member
0 Kudos

if two background jobs of class C is running and i have only 2 background work processe,at that time if i schedule class A job what happens?will class A job runs immediately or it need to be wait till class C jobs completed?can i pause those running jobs and run this class A job?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a7f53505211d189550000e829fbbd/content.htm

As per document if value is '0' in that case class A job will wait till d work process free.

If ' 1' or more, in that case d WP will be reserved for class A job to start immediately. If more than 1 class A job then second job has to wait till any WP get free.

former_member188883
Active Contributor
0 Kudos

Hi,

if two background jobs of class C is running and i have only 2 background work processe,at that time if i schedule class A job what happens?will class A job runs immediately or it need to be wait till class C jobs completed?can i pause those running jobs and run this class A job?

As per your scenario Class A job will wait until there is a free work process available.

If you have reserved atleast 1 work process for Class A jobs then , in your scenario Class A job would have got priority and it would have executed first as compared to 2nd Class C job.

Hope this answers your query.

Regards,

Deepak Kori

Former Member
0 Kudos

thanq so much

if one workprocess is reserved for class A job,it will get the priority and it will start,then what happens to already running job?

will it goes to pause or smthing else?

or reserved CLASS A workprocess only serves class A jobs?

Former Member
0 Kudos

Hi,

>> if one workprocess is reserved for class A job,it will get the priority and it will start,then what happens to already running >> job? will it goes to pause or smthing else?

>> or reserved CLASS A workprocess only serves class A jobs?

It will reserve one or more workprocesses for the time critical background jobs. Check the document, below;

http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a7f53505211d189550000e829fbbd/content.htm

Numbers of Class A background work processes: 

0
The default number. Use this value if you do not have mission- or system-critical
 class A jobs that must always start immediately when they become eligible to start.
 In this case, jobs are simply run according to their priority, or "class". Work processes are not kept free for class A jobs.

1 or more
Use this value to guarantee that mission- or system-critical jobs start immediately 
once they become eligible to start. One background processing work process 
will always be kept free for class A jobs, 
ensuring no class A job has to wait for a free background work process.

Best regards,

Orkun Gedik

former_member188883
Active Contributor
0 Kudos

Hi,

if one workprocess is reserved for class A job,it will get the priority and it will start,then what happens to already running job?

will it goes to pause or smthing else?

For example:

You have only 2 background work process. Out of which 1 is reserved for CLass A jobs

Now when 2 class C jobs are scheduled and 1 class A job is scheduled at the same time, System will allocate 1 workprocess to Class A and 2nd work process to Class C job. Other Class C job has to wait until either of the work process gets free.

Hope this answers your query.

Regards,

Deepak Kori

Former Member
0 Kudos

hello

that means class A reserved background work process will not be used to lower priority jobs and vice versa.

plz give me a clear picture.

Former Member
0 Kudos

Hi,

Yes, Class A jobs is used for scheduling the high priority jobs.

For example RDD* jobs will run with job class A.

I hope it will help you.

Regards,

Kiran .V

Former Member
0 Kudos

Hi Deepak,

ur example makes me lil bit confuse according to this..plz check this once and clear me if i'm wrong.

I guess in ur example system will allocate 1 work process to class A job and 1 work process reserved for class A, and both class C jobs will wait.

[ http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a7f53505211d189550000e829fbbd/content.htm ]

former_member188883
Active Contributor
0 Kudos

Hi ,

As per my example.

system will allocate 1 work process to class A job( since a work process is reserved for it and also its a high priority job) and 1 work process will be allocated to a Class C job. 2nd class C job will wait until a work process is free.

Hope this clears your doubt.

Regards,

Deepak Kori