on 05-09-2014 3:41 PM
how to do performance tunning in abap can anyone suggest me please.
Regards
Sunil Kumar SA
Hello Sunil,
there are a few documents on SCN which describe performance tunings, for example:
ABAP Performance and Tuning - ABAP Development - SCN Wiki
ABAP Performance tips - Contributor Corner - SCN Wiki
Also, SCN has a separate space for ABAP developers here:
Here you can find more documents on ABAP developing.
Regards,
Laszlo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Major step when you perform performance test :
1) Check your select statements, whether we provided where clause with right key fields or not .
2) Avoid loop inside loop.
3) Avoid select statements inside the loops.
4) Deleted commented code in your program, it will save your program compile time
5) If you are not in position to avoid loop inside loop, please go for parallel cursor concept, it will avoid unnecessary loop's.
6) If you working on large tables ex: MSEG, BSEG, please go for open cursor concept, you will avoid run time error's.
7) When you divide code into block's (performs), try to pass "Pass by value" or "Pass by reference".
😎 Use function module SAPGUI_PROGRESS_INDICATOR will help to see time it took for retrieve data and display data .
9) GOTO TC : SE05 will show, which select statement consumes more time.
10) GOTO TC SE30 also provide you detailed analysis of program.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.