sapdev logo background
sapdev logo sapdev logo
Comments

SAP OO OBS NO LENGTH 1 documentation, setup help and example usage



Return to SAP documentation index


INCLUDE
ARTICLE

Incorrect Length Entry in Declaration

You cannot enter a length when typing data types D, F, I, or T in the TYPES , DATA , CLASS-DATA , STATICS , or CONSTANTS statements in ABAP Objects.

  • In ABAP Objects, the following statement causes an error message:


  • DATA: f1(8) TYPE d, f2(4) TYPE i.
  • Correct syntax:


  • DATA: f1 TYPE d, f2 TYPE i.
  • Cause:


  • The inbuilt elementary data types D, F, I, and T already have predefined, unmodifiable lengths. Entering a different length is not allowed. Entering the predefined length is superfluous.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    OO_OBS_NON_LOCAL_1
    OO_OBS_OCCURS_1




    comments powered by Disqus