Answer Posted / amith
Performance tuning is a technique used to fine tune your
ABAP programs when they have complex select statements and
huge set of data to be accessed from database.
Performacne of a scelect statement or a program can be
tested using tools like SE 30- Runtime analysis and SQL
Trace ST05.
Other than this there are set of thumb rules that can be
followed:
1) Keep the data selection small.
 Avoid unnecessary data across the network
 Always use the where clause
 Avoid selecting useless data we filter later.
 Use the index of the relevant database tables to
make the where clause more efficient
 Avoid using complex where clauses
 If possible avoid using the NOT in conjunction with
the where clause.
2) Transport as little data as possible
• transport only fields that are really used
• use the aggregate functions in the select clause
for calculations
• Consider using the distinct statement if there is
possibility of duplicate entries
3) Use fewer data base access
• Transfer all of the data at once frm data base to
internal tables.
• When possible avoid accessing the same data again
and again
• Avoid using nested loops instead of that use an
internal table and use the select for all entires statement.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Why grouping of fields is required? What is the max no of modification groups for each field?
Explain what are the various types of selection screen event?
Why do we need enhancements?
what is the exact code that shoud be implimented in sap note
What are the screen elements.
What are the control break events in abap? : abap data dictionary
What is meant by stacked list?
Is there any method apart from bdc for data upload to sap? : abap bdc
What are base tables of an aggregate object?
What are the 2 other types of views, which are not allowed in release 3.0?
What is an abap/4 query? : abap hr
How to upload data using catt ? : abap hr
Does the table can have multiple foreign keys?
Can you set up background processing using call transaction?
In an abap/4 program how do you access data that exists on a presentation server vs on an application server?