04-22-2008 12:37 PM
Hello,
How do I copy data that is a table that is in the database and and then load the data to an internal table in the ABAP/4 Aditor.
Please help.
04-22-2008 12:40 PM
Hi,
This is the sample code to transfer the MARA table data to Internal table itab.
Data: itab like mara occurs 0 with header line.
Select * from mara into table itab.
Regards,
Satish
04-22-2008 12:40 PM
Hi,
This is the sample code to transfer the MARA table data to Internal table itab.
Data: itab like mara occurs 0 with header line.
Select * from mara into table itab.
Regards,
Satish
04-22-2008 12:45 PM
hi,,
do this way ...
tables : mara.
parameters : p_matnr like mara-matnr,
start-of-selection.
select <fields> from mara into table it_mara
where matnr = p_matnr.
if sy-subrc = 0.
endif.