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

Process is running for long time

rajan_venkatachalam
Product and Topic Expert
Product and Topic Expert
0 Likes
820

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

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
Read only

Former Member
0 Likes
774

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 ).

Read only

0 Likes
774

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

Read only

0 Likes
774

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.

Read only

Former Member
0 Likes
774

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.