ABAP Keyword Documentation →  ABAP − Reference →  Obsolete Language Elements →  Obsolete Declarations →  Data Types and Data Objects → 

TYPES - implicit

Short Reference

Obsolete Syntax

TYPES { dtype }
    | { dtype(len) }
    | { dtype LENGTH len }
    | { dtype TYPE c|n|p|x }
    | { dtype(len) TYPE p}
    | { dtype TYPE p LENGTH len}
    | { dtype TYPE p DECIMALS dec}.


Effect

Obsolete short forms of the statement TYPES with reference to a predefined elementary type abap_type.

Note

All additions should be specified in full, to make them easier to read.

Bad example

TYPES: t1,
       t2 TYPE p.

Good example

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