SAP DATA OBJECTS USAGE WRITING



Get Example source ABAP code based on a different SAP table
  



Data Objects in Write Positions
Only modifiable data objects, that is, no literals, text symbols, constants, or non-modifiable formal parameters, can be specified as follows at write positions:
Specification of a visible data object specified at this position using the identifier dobj, a field symbol <(><)>, or a dereferenced data reference dref->* if dref is typed completely. Like in read positions, [] can be appended to internal tables to address the table body.
Specification of a subarea of a flat character-like or byte-like data object using an offset/length specification. An offset or length specification cannot be made in write positions for data objects of the deep data types string and xstring.
At a declaration position, an inline declaration of a data object or field symbol can be made using a declaration expression.
Writable expressions can be listed in a result position.
The following write positions can be distinguished:
Read/write positions, where an operand is first read and then written.
Write-only positions, where an operand is overwritten without being read first. For the time being, those are declaration positions only.



Latest notes:

In result positions, certain writable expressions can be specified.
Enumerated variables can only be used in write positions where the operand type is the enumerated type and only the associated enumerated values can be written.
NON_V5_HINTS
ABAP_HINT_END