‎2007 May 20 3:52 PM
Hi ,
i have 10,000 lines of code in program , is it possible to performance checking for that program ?
‎2007 May 22 6:56 AM
Hi Bhagavan,
First find out where the greater amount of time is taking using the transaction SE30.
Steps:
1) In SE30, give the transaction or prog.name and click on execute button.
2) Once the execution of the prog. or transaction is over, click on back button to come back to the Runtime Analysis screen. Now you will get an information message in the status bar that 'Runtime analysis has finished'.
3)Now click on Analyze button. This will give the % of execution time for ABAP statements, Database fetch etc..
4)If the Time spent on database is high (if shown in red color), then we need to find out the select statement where it is taking time...We need to find out the database index which is getting picked up
5) Now click on Hitlist button to get the statements which are getting executed ..Sort them according to Net % or Net time taken... You can click on Source code button to find out the corresponding ABAP code...
For finding out the index that is getting picked up, you need to use ST04 Transaction.
Hope this has been of some help to you...
Regards,
SP.
‎2007 May 20 3:54 PM
‎2007 May 21 11:34 AM
hi,
you can check the peformance of that program by using se30(RUN TIME ANALYSIS) or st05(SQL TRACER) or SLIN(EPC) what ever may be the number of lines.
‎2007 May 22 6:44 AM
hi,
Go to transaction se38 enter the program name,
in the menu bar click on program
in the drop down menu
execute->runtime analysis.
‎2007 May 22 6:56 AM
Hi Bhagavan,
First find out where the greater amount of time is taking using the transaction SE30.
Steps:
1) In SE30, give the transaction or prog.name and click on execute button.
2) Once the execution of the prog. or transaction is over, click on back button to come back to the Runtime Analysis screen. Now you will get an information message in the status bar that 'Runtime analysis has finished'.
3)Now click on Analyze button. This will give the % of execution time for ABAP statements, Database fetch etc..
4)If the Time spent on database is high (if shown in red color), then we need to find out the select statement where it is taking time...We need to find out the database index which is getting picked up
5) Now click on Hitlist button to get the statements which are getting executed ..Sort them according to Net % or Net time taken... You can click on Source code button to find out the corresponding ABAP code...
For finding out the index that is getting picked up, you need to use ST04 Transaction.
Hope this has been of some help to you...
Regards,
SP.
‎2007 May 22 11:53 AM
Use either ST05 or SE30 Transactions. Or read ABAP BC490 SAP Course Material.
http://help.sap.com/saphelp_nw2004s/helpdata/en/26/7d104202795a33e10000000a155106/content.htm
Regards,
Ramki