SAP OO OBS NO LENGTH 1

Get Example source ABAP code based on a different SAP table
  


ABAP Code Snippet
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.