DBA_TABLE_STATS SAP (DBA: Table Statistics) Structure details
Description: DBA: Table Statistics
Related tables to DBA_TABLE_STATS
Access table DBA_TABLE_STATS
Structure field list including key, data, relationships and ABAP select examples
DBA_TABLE_STATS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "DBA: Table Statistics" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_DBA_TABLE_STATS TYPE DBA_TABLE_STATS.
The DBA_TABLE_STATS table consists of various fields, each holding specific information or linking keys about DBA: Table Statistics data available in SAP. These include TABLE_SCHEMA (Table schema), TABLE_NAME (Table name), NROWS (Number of records in a table), OCCTB (Used storage space of a table (in KB)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP DBA_TABLE_STATS structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
ANALYSIS_TIMESTAMP | Analysis date (yyyymmddhhmm) | AM_DATE | CHAR | 12 | CHAR12 | ||||
TABLE_SCHEMA | Table schema | 0 | |||||||
TABLE_NAME | Table name | 0 | |||||||
NROWS | Number of records in a table | 0 | |||||||
OCCTB | Used storage space of a table (in KB) | 0 | |||||||
OCCIX | Used storage space for the indexes of a table (in KB) | 0 | |||||||
COMPRESSED | 'X' if table is compressed | 0 | |||||||
COMPRESSABLE | 'X' if this table can be compressed | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure DBA_TABLE_STATS using ABAP code?
As DBA_TABLE_STATS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on DBA_TABLE_STATS as there is no data to select.How to access SAP table DBA_TABLE_STATS
Within an ECC or HANA version of SAP you can also view further information about DBA_TABLE_STATS and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects