Ansicht
Dokumentation

ABAPCLEAR_WITH_NULL - CLEAR WITH NULL

ABAPCLEAR_WITH_NULL - CLEAR WITH NULL

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

CLEAR, WITH NULL

Short Reference



CLEAR dobj WITH NULL.

Effect

This variant of the statement CLEAR, which is not allowed in ABAP Objects, replaces all bytes in dobj with the value hexadecimal 0. In this case, the data object dobj must be flat.

Note

The addition WITH NULL should only be used for byte-like data objects and should therefore be replaced by the addition CLEAR WITH val, which offers a higher degree of security in this context.

CLEAR f WITH NULL.

CONSTANTS hex TYPE x LENGTH VALUE IS INITIAL.
CLEAR f WITH hex.






CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 985 Date: 20240419 Time: 153840     sap01-206 ( 17 ms )