ABAP Performance Tuning
ABAP Performance Tuning
© SAP AG
ABAP Performance Tuning
➢ Avoid 'SELECT *', especially in tables that have a lot of fields. Use SELECT
A B C INTO instead.
➢ Use as many table keys as possible in the WHERE part of your select
statements
➢ Always select into an internal table, except when the table will be very
large (i.e., when the internal table will be greater than 500,000 records). Use
“Up to N Rows” when the number of records needed is known
➢ Nested Select is not used instead “Inner Join” and/or “For all Entries” is used.
➢ Delete adjacent duplicate entries from internal table before selection from
database table using “ FOR ALL ENTRIES” statement
➢ For copying internal tables use ‘=’ operator instead of Looping & Appending
ABAP Performance Tuning
➢ SE30
➢ ST05
➢ ST01
➢ ST22
➢ ST12
➢ SAT
ABAP Performance Tuning
Transaction
code :- SE30
Click Execute
Button
ABAP Performance Tuning
OUTPUT
Click Back
Button
ABAP Performance Tuning
Transaction
code :- SE30
Click Evaluate
Button
ABAP Performance Tuning
OUTPUT
ABAP Performance Tuning
ABAP Performance Tuning
Native SQL
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
Example Program
ABAP Performance Tuning
ABAP Performance Tuning
Example Program
ABAP Performance Tuning
Example Program
ABAP Performance Tuning
ABAP Performance Tuning
Example Program
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
ABAP Performance Tuning
40
Thank You
Upla
tz