Application Development and Automation 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: 
Read only

Abap run time error

Former Member
0 Likes
2,504

The program ""ZFI_CUSTOMER_AGEING" has exceeded the maximum permitted

runtime without
interruption, and has therefore been terminated.

In this case what has to be done, Please advise

1 ACCEPTED SOLUTION
Read only

former_member1716
Active Contributor
2,405

nidhi1994,

Key point is any program cannot run in the foreground longer than the time allotted in the parameter rdisp/max_wprun_time.

Recommend you to run the program in the background and check.

Also request you to go through the below OSS Note which discusses on the issue:

25528.

Regards!

nidhi1994,

Key point is any program cannot run in the foreground longer than the time allotted in the parameter rdisp/max_wprun_time.

Recommend you to run the program in the background and check.

Also request you to go through the below OSS Note which discusses on the issue:

25528.

Regards!

9 REPLIES 9
Read only

former_member1716
Active Contributor
2,406

nidhi1994,

Key point is any program cannot run in the foreground longer than the time allotted in the parameter rdisp/max_wprun_time.

Recommend you to run the program in the background and check.

Also request you to go through the below OSS Note which discusses on the issue:

25528.

Regards!

Read only

0 Likes
2,405

So basically time allotment can be increased for this parameter? If yes then how. Please advise

Read only

2,405

nidhi1994 "So basically time allotment can be increased for this parameter? If yes then how. Please advise"

WRONG approach. If you simply increase the time allowed before timeout then when data volumes increase again, you have to increase it again. The time-out parameter is there to protect the system from programs that get stuck and consume large amounts of data.

The RIGHT approach is to analyse the program, find out why it is slow, and optimise it.

If that fails, then the job MUST be run in background, with a facility to check the results when the program has finished.

Read only

0 Likes
2,405

Can this be done in ABAP coding as well

Read only

2,405
Nidhi Raj What can "be done in ABAP coding"?
Read only

FredericGirod
Active Contributor
2,405

There are several ways to analyse your issu.

For me the faster is to check the SELECT statement :
transaction ST05

--> Activate trace

--> Run your program ZFI_CUSTOMER_AGEING until it dump

--> Desactivate trace

--> Displace trace

--> Menu Trace > Structural identical statement

and you will find what consume a lot of time in your program

(it could be other things than SELECT statement, but most of the time it is)

Read only

cdprasanna
Active Participant
2,405

Hi,

go through the blow Thread.

maximum permitted runtime error

Thanks,

Prasanna CD

Read only

Abinathsiva
Active Contributor
0 Likes
2,405

Hi Nidhi,

The default for this parameter is 600. below link has the rough guide to response time.

a guide to response time and Blog

Regards

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,405

It has been answered many times in the forum...