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

runtime

Former Member
0 Likes
424

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.

3 REPLIES 3
Read only

Former Member
0 Likes
402

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

Read only

Former Member
0 Likes
402

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

Read only

Former Member
0 Likes
402

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>