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: 

Foreground Execution Vs. Background Execution

Former Member
0 Kudos
398

Hi all,

I've a program, when executed in the foreground, it's taking few seconds for the output to be displayed. But, when i execute in the background, it's taking longer time.

My question is what might be the reason for such difference in execution times?

Regards,

Pavan

1 ACCEPTED SOLUTION

JozsefSzikszai
Active Contributor
0 Kudos
138

hi Pavan,

the reason could be that there are (were) not enough free work process for background jobs. You can check that in SM37, whne you start the report if background, if it already started or still waiting for a free work process.

Alternatively you can check in SM50 as well, what the processes are actually doing (BTC stands for batch/background in the list).

hope this helps

ec

3 REPLIES 3

JozsefSzikszai
Active Contributor
0 Kudos
139

hi Pavan,

the reason could be that there are (were) not enough free work process for background jobs. You can check that in SM37, whne you start the report if background, if it already started or still waiting for a free work process.

Alternatively you can check in SM50 as well, what the processes are actually doing (BTC stands for batch/background in the list).

hope this helps

ec

0 Kudos
138

It is not already started and even it's not waiting.... We have executed it as Start Immediately.

Anyways thanks for your reply.

Regards,

Pavan

0 Kudos
138

Hi pavan,

1. JOB Class

2. By default the Job class = C

3. So, put this as A

<b>A - High priority</b>

B- Middle priority

C - Low priority

regards,

amit m.