Ansicht
Dokumentation

ABENOO_OBS_IMPLICITE_TYPE_1 - OO OBS IMPLICITE TYPE 1

ABENOO_OBS_IMPLICITE_TYPE_1 - OO OBS IMPLICITE TYPE 1

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Cannot Declare Type, Length, or Decimal Places Implicitly

In the TYPES statement in ABAP Objects, you must implicitly declare the type of type C types; the length of type C, N, P, and X types; and the number of decimal places of type P types.

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

TYPES: t1,
       t2 TYPE p.

Correct syntax:

TYPES: t1(1) TYPE c,
       t2(8) TYPE p DECIMALS 0.

Cause:

Complete type definitions are a prerequisite for considering incompletely defined types as generic types later. In the DATA statement, short forms are completed as before.






BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1005 Date: 20240419 Time: 040804     sap01-206 ( 19 ms )