SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Processing Internal Data → Assignments → Assigning References → Setting Field Symbols → ASSIGN →
ASSIGN - mem_area
Syntax
... static_dobj
| dynamic_dobj
| dynamic_access
| writable_exp ... .
Alternatives:
Static Specification
1. ... static_dobj
Dynamic Specifications
2. ... dynamic_dobj
3. ... dynamic_access
Specifying an Expression
4. ... writable_exp
Effect
mem_area is used to specify the memory area that is assigned to the field symbol.
In an inline declaration of the field symbol with FIELD-SYMBOL(<fs>), the typing of the field symbol is performed for the static variant and for a specified expression with the data type mem_area. In the dynamic variants, the typing is performed with the generic type data.
The variants differ in the way that the system behaves after a successful assignment:
Notes