Ansicht
Dokumentation

ABENOO_OBS_NO_LENGTH_2 - OO OBS NO LENGTH 2

ABENOO_OBS_NO_LENGTH_2 - OO OBS NO LENGTH 2

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

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.






PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 879 Date: 20240426 Time: 222315     sap01-206 ( 25 ms )