Skip to content

ABAP Keyword Documentation →  ABAP - Short Reference 

typing - Short Reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


... { TYPE generic_type } 
  | { LIKE  <generic_fs>|generic_para }
  | { TYPE {[LINE OF] complete_type}
         | {REF TO {data|complete_type|class|intf}} }
  | { LIKE {[LINE OF] dobj}
         | {REF TO dobj} } ... .

Effect

Typing of field symbols or formal parameters.

Additions

  • TYPE
    Typed with reference to a data type.
  • LIKE
    Typed with reference to a data object, generic field symbol or formal parameter.
  • LINE OF
    Typed in relation to the row type of an internal table.
  • REF TO
    Typed as reference type.