Error message in ABAP objects for:
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,
i.e. visible attributes and the interface parameters of methods and events.
The data transport
between ABAP programs and logical databases or screens via global table work areas is not allowed in ABAP objects and is replaced with other concepts.
Overview:
Replacement for Obsolete Statements ABAP Objects