ABAP – Coping records from one table to another

Copying from the table T777F  into the table  ZCOPY_ T777F

 

TABLES: T777F, ZCOPY_ T777F.

DATA: IT_T777F  TYPE STANDARD TABLE OF  T777F

 

SELECT * FROM T777F INTO table IT_T777F.

INSERT ZCOPY_ T777F FROM TABLE  IT_T777F.
COMMIT WORK.

IF sy-subrc EQ 0.
WRITE: ‘Insertion successfully completed’.
ENDIF.

0 Comments

Leave A Reply