ABAP Keyword Documentation → ABAP − Reference → ABAP Syntax → ABAP Statements → Operands → Data Objects in Operand Positions
Writer Positions
In a writer position, the content of the operand is changed when the statement is executed. Only modifiable data objects (that is, no literals, text symbols, constants, or non-modifiable formal parameters) can be specified as follows in writer positions:
- A visible data object specified in this
place using a name
dobj
, a field symbol<fs>
, or a dereferenced data referencedref->*
(ifdref
is typed in full). Like in reading positions,[]
can be appended in internal tables, to address the table body.
- A subarea of a
flat character-like or byte-like data object specified using an
offset/length. An offset or length cannot be specified in writing positions for data objects of the
deep data types
string
andxstring
.
- In a declaration position, an inline declaration of a data object or field symbol can be made using a declaration expression.
- Writable expressions can be specified in a result position.
Writer-only positions, where an operand is overwritten without being read, and writer positions where an operand is read and written are both available.
Other versions: 7.31 | 7.40 | 7.54
Notes
- In some writing positions, certain expressions can also be specified.
- Enumerated variables can only be used in writing positions in which the operand type is the enumerated type and only the associated enumerated values can be written.