Code: Alles auswählen.
tables sflight.
data: itab type sflight occurs 0,
wa_itab type sflight.
select * from sflight into table itab UP TO 20 rows.
loop at itab into wa_itab.
write: / wa_itab-carrid, wa_itab-connid.
endloop.
Code: Alles auswählen.
SELECT COUNT( * ) FROM your_table INTO lv_counter.