DB4TABLE_STAT SAP (Table Sizes in the Database) Table details
Dictionary Type: Table
Description: Table Sizes in the Database
Description: Table Sizes in the Database
ABAP Code to SELECT data from DB4TABLE_STAT
Related tables to DB4TABLE_STAT
Access table DB4TABLE_STAT
Related tables to DB4TABLE_STAT
Access table DB4TABLE_STAT
Table field list including key, data, relationships and ABAP select examples
DB4TABLE_STAT is a standard SAP Table which is used to store Table Sizes in the Database data and is available within R/3 SAP systems depending on the version and release level.
The DB4TABLE_STAT table consists of various fields, each holding specific information or linking keys about Table Sizes in the Database data available in SAP. These include SCHEMANAME (), TABNAME (Table name), TABNAME_LONG (Table name), ANDAT (Analysis date (yyyymmddhhmm)).. 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: L - Table for storing temporary data, is delivered emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP DB4TABLE_STAT table 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 |
DBHOST | Application Server | SYHOST | CHAR | 32 | HOST_ID | ||||
SCHEMANAME | 0 | ||||||||
TABNAME | Table name | TNAME | CHAR | 30 | Assigned to domain | AS4TAB | |||
TABNAME_LONG | Table name | TNAME | CHAR | 30 | Assigned to domain | AS4TAB | |||
ANDAT | Analysis date (yyyymmddhhmm) | AM_DATE | CHAR | 12 | CHAR12 | ||||
VWTYP | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
TABSIZE | Used blocks of a table in KB | UBLOCKS_KB | DEC | 11 | DEC11 | ||||
CURROWS | Number of rows in a table | OROWS | DEC | 15 | DEC15 | ||||
INDBS | Used blocks of an index-Btree (kb) | BBLOCKS_KB | DEC | 15 | DEC15 | ||||
DLTROWS | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
NUMOPEN | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
NUMCLOSE | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
NUMINSERT | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
NUMUPDATE | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
NUMDELETE | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
NUMLREAD | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
NUMPREAD | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
NUMCST | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
CSTSIZE | iSeries: Number of rows / object size | DB4_ANZ15 | DEC | 15 | DB4_ANZ15 | ||||
CRTDATE | Date | DATUM | DATS | 8 | DATUM | ||||
CRTTIME | Character field of length 6 | CHAR6 | CHAR | 6 | CHAR6 | ||||
SAVDATE | Date | DATUM | DATS | 8 | DATUM | ||||
SAVTIME | Character field of length 6 | CHAR6 | CHAR | 6 | CHAR6 | ||||
RSTDATE | Date | DATUM | DATS | 8 | DATUM | ||||
RSTTIME | Character field of length 6 | CHAR6 | CHAR | 6 | CHAR6 |
Key field | Non-key field |
How do I retrieve data from SAP table DB4TABLE_STAT using ABAP code
The following ABAP code Example will allow you to do a basic selection on DB4TABLE_STAT to SELECT all data from the tableDATA: WA_DB4TABLE_STAT TYPE DB4TABLE_STAT.
SELECT SINGLE *
FROM DB4TABLE_STAT
INTO CORRESPONDING FIELDS OF WA_DB4TABLE_STAT
WHERE...
How to access SAP table DB4TABLE_STAT
Within an ECC or HANA version of SAP you can also view further information about DB4TABLE_STAT 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