Application Development 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: 

performance

Former Member
0 Kudos
124

Hi all,

i did a program and want to do the performance check.

i need to know that is there any way to guide for the code, which statement will be used instead of i write

(say one instead of second) in ABAP itself.

i tried se30, st05 also.

but i did not get proper guidelines to reduce performance.

can anyone send proper guidelines what to do.

Thanks in advance

Venkat

1 ACCEPTED SOLUTION

Former Member
0 Kudos
83

place your code,we can tell you where you can improve the performance.

regards

srikanth

6 REPLIES 6

Former Member
0 Kudos
84

place your code,we can tell you where you can improve the performance.

regards

srikanth

Former Member
0 Kudos
83

Hi,

Check your SQL statements the where clause fields should be either of primary index or secondary index.

Post your code for performance improvement suggestions.

regards

Damasus

Former Member
0 Kudos
83

Hi Venkat,

chk out below given instructions

performance of ABAP Program:

Always check the driver internal tables is not empty, while using FOR ALL ENTRIES

Avoid for all entries in JOINS

Try to avoid joins and use FOR ALL ENTRIES.

Try to restrict the joins to 1 level only ie only for tables

Avoid using Select *.

Avoid having multiple Selects from the same table in the same object.

Try to minimize the number of variables to save memory.

The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)

Avoid creation of index as far as possible

Avoid operators like <>, > , < & like % in where clause conditions

Avoid select/select single statements in loops.

Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.

Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,)

Avoid using ORDER BY in selects

Avoid Nested Selects

Avoid Nested Loops of Internal Tables

Try to use FIELD SYMBOLS.

Try to avoid into Corresponding Fields of

Avoid using Select Distinct, Use DELETE ADJACENT

Also by going to transaction SE30->tips and tricks you can get the idea

Reward points for the helpful.

Regards,

Harini

Former Member
0 Kudos
83

Hi Venkat ,

put ur code over here so we can tell me u the best way to reduce.

regards

Prabhu

Former Member
0 Kudos
83

Use all the posted points. Additional use the code inspector and have a close look at the points regarding performance.

Matthias