Hi experts,
I am having an confusion with 'for all entries in' statement.
if i write the following staements,
DATA: T_KNA1 LIKE STANDARD TABLE OF KNA1.
DATA: ITAB_VBPA TYPE TABLE OF VBPA.
if i write the following query it works.
SELECT * FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE T_KNA1 FOR ALL ENTRIES IN ITAB_VBPA
WHERE KUNNR EQ ITAB_VBPA-KUNNR.
and if i remove 'FOR ALL ENTRIES IN' from the above query i get error ' itab_vbap is a table table without header line and therefore has no component called itab_vbpa-kunnr.
why this is so? does the 'for all entries in' defines structure or what?
plz help.
thnks n regards,
Ashmita