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 thevalspecified in characters or bytes.
- 
IN {CHARACTER|BYTE} MODE
 Specifies either character or byte processing
- 
WITH NULL
 Obsolete: Replaces all the bytes indobjwith the hexadecimal value 0.