cancel
Showing results for 
Search instead for 
Did you mean: 

Optimization

Former Member
0 Kudos
39

HI all,

Does Refreshing ( REFRESH ITAB) unwanted Internal tables improve the performance of the program.

Can you provide me any useful docs on performance tuning.

Thanks,

Ravi.

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Refresh will clear out the internal table, but not free up the memory. It will not improve performance. Use FREE when you want to unallocate the memory space. If you have a program that uses a lot of memeory, CLEARing, REFRESHing, and FREEing the internal tables that are no longer needed will save your application from dumping when the memory limit has been reached.

CLEAR ITAB.  REFRESH ITAB.  FREE ITAB.

Regards,

Rich Heilman

Answers (2)

Answers (2)

Former Member
0 Kudos

Elaborate documentation with examples can be found in SAP ABAP Editor under the following link.

Environment - > Performance Examples.

You can run and compare each statement . But if you are exclusively looking for performance tuning guide it can be had from internet from websites like sapgenie.com and many more.

Hope this helps.

former_member188685
Active Contributor
0 Kudos

Hi If you Go to SE30 in that UTILITIES you can see TIPS & TRICKS for performance tuning..

see them..

regards

vijay