Örnek 1
data : begin of gt_bkpf occurs 0,
       bukrs like bkpf-bukrs,
       belnr like bkpf-belnr,
       gjahr like bkpf-gjahr,
       end of gt_bkpf.

select bukrs belnr gjahr up to 100000 rows
       from bkpf
       into gt_bkpf.
append gt_bkpf.
endselect.
 
Örnek 2 

data : begin of gt_bkpf occurs 0,
       bukrs like bkpf-bukrs,
       belnr like bkpf-belnr,
       gjahr like bkpf-gjahr,
       end of gt_bkpf.

select bukrs belnr gjahr up to 100000 rows
       from bkpf
       into table gt_bkpf.



Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com