05-14-2009 2:08 PM
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
05-14-2009 2:15 PM
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 ).
05-14-2009 2:24 PM
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
05-14-2009 2:32 PM
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.
05-14-2009 2:30 PM
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.