10-11-2007 1:41 PM
hi,
i wont to now which loop have beterr performence with work area or without work area
like that?
LOOP AT t_tcurr.
MOVE: t_tcurr-gdatu TO ti_date-date ,
t_tcurr-ukurs TO ti_date-exchange_rate.
APPEND ti_date.
ENDLOOP.
10-11-2007 2:00 PM
Hi
Performance tips : Declaring internal tables with Header line is no more entertained for performance reasons.
Use typed internal tables and use Work area to place the loop contents.
Overall performance will be definitely higher
10-11-2007 1:52 PM
hi,
it depends on situation. if ur internal table is having with header line then it works faster when looping to a internal table with out header line.
if helpful reward some points.
with regards,
Suresh Aluri.
10-11-2007 1:55 PM
SAP now propose using work area instead of Header Line, but I think is more like a conevntion.
I use header line all the time, but is more performance using work area, an better yet field-symbol.
Anyway.. u will be optimizing a few micro-nano-tiny seconds ^^
10-11-2007 2:00 PM
Hi
Performance tips : Declaring internal tables with Header line is no more entertained for performance reasons.
Use typed internal tables and use Work area to place the loop contents.
Overall performance will be definitely higher
10-11-2007 2:20 PM
Hi,
I feel its better to use work area but we need to clear once we have done with our task.
Regards,
Ramakrishna kotha.
10-11-2007 3:00 PM
Hi,
Try to go SE30, Tips & Tricks and put your code at the two editors. Click Measure Runtime and see the test result.
You can see other sample codes and see the total time to compare.
Hope it help you.
Regards!