sapdev logo background
sapdev logo sapdev logo
Comments

SAP OO OBS CLEAR WITH NULL 1 documentation, setup help and example usage



Return to SAP documentation index


INCLUDE
ARTICLE

Cannot Use CLEAR WITH NULL

The statement CLEAR WITH NULL is not permitted in ABAP Objects.

  • Error message in ABAP Objects if the following syntax is used:


  • CLEAR f WITH NULL.
  • Correct syntax:


  • CONSTANTS hex(1) TYPE x VALUE IS INITIAL.
    CLEAR f with hex.
  • Reason:


  • Initialization with an incompatible type must be avoided. If required, the statement CLEAR WITH NULL can be replaced by the above sequence of statements.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    OO_OBS_CHECK_1
    OO_OBS_CLUSTER_DATA_1




    comments powered by Disqus