‎2007 Aug 16 7:58 AM
can anybody tell the detail step-to-step procedure while following runtime analysis,and after obtaining output,what are the things we have to analyse,and what steps we have to follow then.
‎2007 Aug 16 8:03 AM
Hi,
Check the ABAP runtime.If it is more, you can try to eliminate unnecessary loops, nested loops, Conditions. Also remove repetitive codes.
Avoid using Move corresponding fields.
If the database time is more, then you can try providing with maximum number of keys in select query. Avoid unnecessary database access inside loops.
Avoid using Select *, corresponding fields.
Regards,
Yogesh
‎2007 Aug 16 8:04 AM
Hi
tcode to do run time analysis is SE30 or take path Utilities->moreUtilities->run time analysis
it measuers the execution time in micro seconds
how much time take to execute abap stts and how much time taken for database stts etc.
for ex: if u want to know the time taken for a program
go to se30 nd give program name and exeecute it program got executed and then come back from that screen and goto analyze tab this itself shows the time .
regards
sandhya
‎2007 Aug 16 8:13 AM
Hi Sandeep,
Runtime Analysis checks program execution time in microseconds. When you go to se30.if you give desired program name in performance file. It will take you to below screen. You can get how fast is your program.
In SM30(Runtime Analysis), Abap, database and System are the three rows which indicate the performance of our program.
These indicate the load on them by the program, which is determined by the length of the bar beside them.
For better performance, abap should be around 90% +, database should be 10% - and system can be around 20% - 45%.
This means that if the load on the database is less , performance is more. For abap the % should be more indicating the fine tuning of the coding so that DB load can be reduced to improve the performance.
<b>Reward Points If Usefun Info...</b>