COLLECT - result
Short Reference
ABAP Syntax ABAP_KEY
... { ASSIGNING <(><<)>fs> [CASTING] }
| { REFERENCE INTO dref }.
What does it do? The addition ASSIGNING is used to assign the
inserted or existing row to a field symbol fs and the
addition REFERENCE INTO is used to set a reference to the 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.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved