cancel
Showing results for 
Search instead for 
Did you mean: 

Run Time Error "Time Limit Exceeded".

former_member538867
Participant
0 Kudos

Dear Experts,

My Payroll contains around 700 employees. on completion of payroll suddenly an error message is flashed as

"The program SAPLHRPADINA1 has exceeded maximum permitted run time without interruption and has therefore been terminated."

Further it says, " The maximum runtime of a program is limited by the systemprofile parameter "rdisp/max_wprun_time". The current setting is 600 seconds. if it is exceeded, the system attempts to cancel any running SQL statement or signals the ABAP processor to stop the running program. Then the system waits for another 60 seconds. If the program is still active, the process is restarted."

May I know how to increase this setting?

Regards

Bindumadhav

9869028264

Accepted Solutions (1)

Accepted Solutions (1)

sikindar_a
Active Contributor
0 Kudos

did u check with ur basis people

Former Member
0 Kudos

Check the SM21 entries at the time when runtime error occurs. Try figure out what activity starts or ends at that time. You might get some useful information from log entries,

10 minutes is the defailt value and that is recommended by SAP for better performance. You can increase it anytime, but theere are pros & cons .... depending on how important that task is OR is it a one time shot or weekly/daily basis. If it is a a regular task then running in the background is your best bet...

Workaround: assuming you have app servers, Increase time limit on one of the app server and asked the user to run this task using this app server.

rdisp/max_wprun_time is a Dynamic parameter and you can change this value without SAP restart....

You may want to check all of the tables and columns used by this task, may be you need to add another Index or need a re-org on these tables...

You could also exec the query in background , there is no time limits for

background work processes.

Answers (0)