ABAP Keyword Documentation →  ABAP − Reference →  Declarations →  Declaration Statements →  Data Types and Data Objects →  Declaring Data Objects → 

TABLES  Syntax Diagram

Short Reference

Syntax

TABLES table_wa.

Effect

This statement is not allowed in classes and declares a data object table_wa as a table work area whose data type is adopted from the identically named structured data type table_wa from the ABAP Dictionary. table_wa must be defined as a flat structure in ABAP Dictionary. Either database tables or views can be specified for table_wa.

Table work areas declared with TABLES are interface work areas and should only be declared in the global declaration section of a program for the following purpose:

Programming Guideline

No table work areas except for classical dynpros

Notes