Posts

Showing posts from May, 2010

How to Measure Execution Time

You can improve the performance of your code by measuring execution time of your program. You can use SAP Standard tools for over all performance of you program. The SAP Standard tools are * Run Time Analysis (SE30) * SQL Trace (ST05) Apart from these tool you can measure your block of code with simple ABAP coding. But you can do it during development phase only. At the end you have to remove the coding. This technique of measuring code can be helpful if you want top tweak your select queries. GET TIME STAMP FIELD t1. *Block of Code ................... GET TIME STAMP FIELD t2. runtime = t2 - t1.