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: 

How to extend running time of program

Former Member
0 Kudos

Hello everyone!

I have a program which usually ends up with an ABAP error list because of its long running time.

Could you help me, on how to extend running time of program? or is there way to extend it?

thank you very much!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Nancy, do like this.

set in transaction RZ10 in instance profile parameter rdisp\max_wprun_time.

set number of seconds you want to run ABAP programs in dialog. Default is 600 sec. (10 min.)

You have to restart application server to make it working.

or,

How long is your program taking to execute?

Do you get timeout error in ST22?

If so goto SE38 execute the job in background. Or goto SM36 and scedule the job in background.

You can change the max_wp_runtime but if you Program runs for more than 10mins it should really be run in background to improve dialog performance.

hope this solves ur problem.

kindly reward if found helpful.

cheers,

Hema.

2 REPLIES 2

Former Member
0 Kudos

Hi Nancy, do like this.

set in transaction RZ10 in instance profile parameter rdisp\max_wprun_time.

set number of seconds you want to run ABAP programs in dialog. Default is 600 sec. (10 min.)

You have to restart application server to make it working.

or,

How long is your program taking to execute?

Do you get timeout error in ST22?

If so goto SE38 execute the job in background. Or goto SM36 and scedule the job in background.

You can change the max_wp_runtime but if you Program runs for more than 10mins it should really be run in background to improve dialog performance.

hope this solves ur problem.

kindly reward if found helpful.

cheers,

Hema.

former_member156446
Active Contributor
0 Kudos

Hi Nancy

It is related to Basis.. ask your basis person to extend the time if he can.... but when they setup the time.. they take lot of factors into considerations and set that time.. so that time is OK..

Right an effective code which can be executed in that time.

Check the code for performance tuning.. you get more idea on how to write the code effectively..