I have one doubt regarding internal tables.
DATA:BEGIN OF LINE,
END OF LINE.
DATA:ETAB LIKE TABLE OF LINE WITH HEADER LINE,
FTAB LIKE TABLE OF LINE.
LINE-COL1 = 'A'. LINE-COL2 = 'B'.
APPEND LINE TO ETAB.
MOVE ETAB TO FTAB.
LOOP AT FTAB INTO LINE.
WRITE: / LINE-COL1, LINE-COL2.
This is the example given in sap help.
1)My doubt is in the above code,when we are using APPEND LINE TO ETAB,
contents of LINE goes to ETAB header line or body of ETAB?
If it goes in to header line then why MOVE ETAB to FTAB is wrote?
Please clarify this doubt..
Thank u very much.