ā2014 Jun 03 6:09 PM
Hi ,
I've been told to use " SELECT INTO TABLE " rather than " SELECT INTO CORRESPONDING FIELDS OF TABLE " .
is it necessary ??? if YES !!!!???
then .... WHY SO !!!????
Kindly explain the concept behind the performance tuning ...
Thanks in Adv.
Bunty
ā2014 Jun 03 6:21 PM
Regards,
Philip.
ā2014 Jun 04 3:58 AM
Hi Bunty
SELECT INTO TABLE, the sequence of fields already fixed by the internal table define. Does not care about the field name or field type is same.
SELECT field1 field2 ...INTO CORRESPONDING FIELDS OF TABLE, Before push the data into internal table, system need compare the SQL select fields order one by one with the internal table define, then move the corresponding value to corresponding field of itab. This process must waste time.
So...
Regards,
Archer