Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing Internal Data →  Internal Tables →  Processing Statements for Internal Tables →  INSERT itab 

INSERT - result

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


... { ASSIGNING <fs> [CASTING] } 
  | { REFERENCE INTO dref }.

Effect

These additions can only be used when inserting single lines. If they are inserted successfully, the inserted line is assigned to a field symbol <fs> using the addition ASSIGNING and a reference is set to the inserted line in the reference variable. using the addition REFERENCE INTO.

Syntax and meaning are the same as for the specification of the output response in the statement READ TABLE and the same restrictions apply for the modification of key fields of the primary and secondary table key.


Example

Refer to INITIAL LINE addition.