Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete Declarations →  Internal Tables 

DATA - OCCURS

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

DATA itab { {TYPE [REF TO] type}
          | {LIKE [REF TO] dobj} } OCCURS n
          [WITH HEADER LINE].

Effect

This statement is forbidden in classes. It has exactly the same function as the following DATA statement for the declaration of a standard table and is replace by this also:

DATA itab { {TYPE STANDARD TABLE OF [REF TO] type}
          | {LIKE STANDARD TABLE OF [REF TO] dobj} }
          WITH NON-UNIQUE DEFAULT KEY
          INITIAL SIZE n.
          [WITH HEADER LINE].

The usage of the addition WITH HEADER LINE is obsolete anyway.