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

DATA - OCCURS

Quick Reference

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 replaced by this:

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 use of the addition WITH HEADER LINE is obsolete