INCLUDE
ARTICLE
Cannot Use TABLES Statement
Creation of table work areas with the TABLES statement is not
allowed in ABAP Objects.
In ABAP Objects, the following syntax causes an error message:
TABLES dbtab.
Correct syntax:
DATA wa TYPE dbtab.
Reason:
The semantics of the TABLES statement is ambiguous.
Explicit work areas should be defined for database accesses instead of
implicit table work areas.
Common interface work areas
for passing data between programs and
procedures
are not supported in ABAP Objects. In classes, only the
components that a user can see are used as interface, that is, visible
attributes and the interface parameters of methods and events.
The data transport between ABAP programs and
logical databases or
dynpros via global table work areas is not
allowed in ABAP Objects and is replaced with other concepts.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved