Ansicht
Dokumentation

ABAPAPPEND_RESULT - APPEND RESULT

ABAPAPPEND_RESULT - APPEND RESULT

BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

APPEND, result

Short Reference



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

Effect

These additions can only be used when appending single lines. If the append was successful, the addition ASSIGNING is used to assign the appended line to a field symbol <fs>; the addition REFERENCE INTO is used to set a reference to the appended 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 data references in stab point to the random numbers up to 50 and those in ltab point to the random numbers greater than 50 that were appended to itab.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1968 Date: 20240426 Time: 122331     sap01-206 ( 32 ms )