ABAP Keyword Documentation → ABAP − Short Reference
CLEAR - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
CLEAR dobj [ {WITH val [IN {CHARACTER|BYTE} MODE]}
| {WITH NULL} ].
Effect
Initializes a data object dobj
by assigning an appropriately typed initial value.
Additions
-
WITH val
Fills the data object with theval
specified in characters or bytes. -
IN {CHARACTER|BYTE} MODE
Specifies either character or byte processing -
WITH NULL
Obsolete: Replaces all the bytes indobj
with the hexadecimal value 0.