sapdev logo background
sapdev logo sapdev logo
Comments

ABAP DATA OCCURS Statement syntax, information and example SAP source code



Return to Statement index



DATA - OCCURS

Short Reference

ABAP Syntax(Obsolete) DATA itab { {TYPE [REF TO] type}
| {LIKE [REF TO] dobj} } OCCURS n
[WITH HEADER LINE] .

What does it do? 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.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




DATA_LOB_HANDLE
DATA_OPTIONS




comments powered by Disqus