Friday, April 11, 2014

ABAP - Copy Table1 to Table2




  *& Report  ZMYSAPLIBRARY
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT  ZMYSAPLIBRARY.

TABLES : sflight,
         zsflight.

data : itab like sflight occurs 0 with header line.

select * from sflight into table itab.

loop at itab.
insert into zsflight values itab .
endloop.


No comments:

Post a Comment