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

maximum runtime exceeds while debugging

Former Member
0 Likes
1,008

Hi all

One of my program takes 3hrs for executing usually end users uses back ground jobs

Now i am debugging the above program as some of documents missing in that program.

My problem is while debugging at particular point it giving ABAP dump error saying maximum runtime exceeded.

Is there any way to debug the above program.

I already asked basis guy to increase the runtime setting he unable to do so as this it was a production system.

Is there any other way?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
870

Is it a Select Query which is taking too much exe time?

If yes, you should make secondary indexes for the DB table.

For more details of the dump, u can see Tcode ST22

5 REPLIES 5
Read only

Former Member
0 Likes
872

Is it a Select Query which is taking too much exe time?

If yes, you should make secondary indexes for the DB table.

For more details of the dump, u can see Tcode ST22

Read only

Former Member
0 Likes
870

Hi Sateesh,

You can't increase the execution time in foreground.

You can test the same by using a test case with less number of records so that will take less time to finish and in the meanwhile you can use ST05 (SQL trace) to know the time taken by the select queries.

You can reduce the time taken by the select queries by using proper idex or HINT ORACLE...

Regards,

Rajendra Dhaka

Read only

Former Member
0 Likes
870

Hi,

if you know exactly the point where its taking max time,so just put a breakpoint after that and don't use F5 or F6 ,but go for F8.

Read only

Former Member
0 Likes
870

Satheesh,

Check this blog :

Performance of Nested Loops[Performance of Nested Loops] by Rob Burbank

You may have nested loops which would have many loop pass. You can check my thread " infinite loops " which is nested loops for this link.

Read only

Former Member
0 Likes
870

Hi,

It depends on which Statement dump is coming.

If it is coming in SELECT Statement, try to narrow your search in Debugging mode so that Program should go forward.

If it is Coming in any Loop statement..you can go ahead by deleting some of the rows of the Internal Table during runtime.....

But this might not help you a lot.....you actually have to look the code in details and have to follow Best Coding practices....Atleast one of your WP is trying to consume Resources more that the Max Limit set by your BASIS Administrator ...

Please Identify the probelm code and come back.....