Ansicht
Dokumentation

ABAPINSERT_ITAB_RESULT - INSERT ITAB RESULT

ABAPINSERT_ITAB_RESULT - INSERT ITAB RESULT

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

INSERT, result

Short Reference



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

Effect

These additions can only be used when inserting single lines. If the insertion is successful, the addition ASSIGNING is used to assign the inserted line to a field symbol <fs> or the addition REFERENCE INTO is used to set a reference to the inserted line in a reference variable.

The syntax and meaning are the same as when specifying the output behavior in the statement READ TABLE and the same restrictions apply regarding the modification of key fields for primary and secondary table keys. In particular, inline declarations using the declaration operators DATA, FINAL and FIELD-SYMBOL are possible.

Example

See addition INITIAL LINE.

Example

After the DO loop, the internal table ref_tab contains references to each line of the internal table itab.






ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1924 Date: 20240425 Time: 125526     sap01-206 ( 30 ms )