Filling Internal Tables

To fill an internal table, you can either append data line by line, or you can copy the contents of another table.

To fill an internal table line by line, you can use either the APPEND, COLLECT, or INSERT statements.

Appending Lines

Appending Lines Depending on the Standard Key

Inserting Lines

To copy the contents of one internal table into another one, use the variants of the APPEND, INSERT, or MOVE statements.

Appending Lines of an Internal Table

Inserting Lines of an Internal Table

Copying Internal Tables

 

For information about how to fill internal tables with data from database tables using the SELECT statement, see Reading Data into an Internal Table.