ABAP Keyword Documentation → ABAP - Quick Reference
CLEAR - Quick 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 the type-dependent initial value.
Additions
-
WITH val
Fills the data object with the characters or bytes specified inval
. -
IN {CHARACTER|BYTE} MODE
Specifies character string or byte string processing. -
WITH NULL
Obsolete: Replaces all the bytes indobj
with the hexadecimal value 0.