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 at this
place using a name
dobj
, a field symbol<fs>
, or a dereferenced data referencedref->*
(ifdref
is typed in full). Similar to reader positions,[]
can be appended for 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 writer 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
Note
Certain expressions can also be specified in some writer positions.