Code: Alles auswählen.
SELECT * FROM SFLIGHT INTO it_sflight.
ENDSELECT;
Code: Alles auswählen.
SELECT * FROM SFLIGHT INTO TABLE it_sflight.
Code: Alles auswählen.
SELECT * FROM SFLIGHT INTO it_sflight.
ENDSELECT;
Code: Alles auswählen.
DATA spfli_tab TYPE TABLE OF spfli.
SELECT *
FROM spfli
INTO spfli_tab
WHERE carrid = p_carrid.
Code: Alles auswählen.
data: it_sflight type TABLE OF sflight,
ls_sflight type sflight,
it_sflight2 type TABLE OF sflight.
SELECT * FROM SFLIGHT INTO ls_sflight.
append ls_sflight to it_sflight.
ENDSELECT.
oder:
select * from sflight into table it_sflight2.