SAP APPEND RESULT ABAP Statements

Get Example source ABAP code based on a different SAP table
  



APPEND - result

Short Reference
• CASTING APPEND
• ASSIGNING APPEND
• REFERENCE INTO APPEND


ABAP Syntax ABAP_KEY ... { ASSIGNING <(><<)>fs> [CASTING] }

| { REFERENCE INTO dref }.

What does it do? These additions can only be used when appending single rows. If the append was successful, the addition ASSIGNING is used to assign the appended row to a field symbol <(><<)>fs>; the addition REFERENCE INTO is used to set a reference to the appended row 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 and FIELD-SYMBOL are possible.



Example ABAP Coding
See the addition INITIAL
LINE.

Return to menu