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: 

Process is running for long time

rajan_venkatachalam
Participant
0 Kudos

Hi All,

In sm50 transaction there is a process is running for a long time , under report column its says a function pool name .when I check inside function pool there are lot of function modules included.now i want to identify the piece of code running for a long time.

Thanks and Regards,

Rajan

Moderator message - Moved to the correct forum

Edited by: Rob Burbank on May 14, 2009 10:13 AM

4 REPLIES 4

Former Member
0 Kudos

Hi,

1.Check whether there is any select statement inside the loop.. endloop in any of the function module.

2.Check the select statements for where condtion ( index is specified or not ).

0 Kudos

Hi ,

There are 11 FM's in that there are 1000 lines of code and its very difficult to figure out which select loop is running for along time.

Regards,

Rajan

0 Kudos

In the ABAP performance and tuning forum there are a lot of useful tips to optimize your code and to determine WHERE the major problems arise. But for starters let me help you.

Transactions SE30, SAT, and ST05 will help you to determine the problem.

Also have a look at some blogs from Rob Burbank and Siegfried Boes.

Former Member
0 Kudos

Hi,

First you analyze in which database table load is more by using ST05. Then it will be easy for you to identify the place where it takes more time.