DBSTATTDB4 SAP (Table Sizes in the Database) Table details
Dictionary Type: Table
Description: Table Sizes in the Database
Description: Table Sizes in the Database
Table field list including key, data, relationships and ABAP select examples
DBSTATTDB4 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 DBSTATTDB4 table consists of various fields, each holding specific information or linking keys about Table Sizes in the Database data available in SAP. These include ANDAT (Analysis date (yyyymmddhhmm)), VWTYP (Single-Character Indicator), TABSIZE (Used blocks of a table in KB), CURROWS (Number of rows in a table).. 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: Not classified
SAP DBSTATTDB4 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 |
TABNAME | 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 DBSTATTDB4 using ABAP code
The following ABAP code Example will allow you to do a basic selection on DBSTATTDB4 to SELECT all data from the tableDATA: WA_DBSTATTDB4 TYPE DBSTATTDB4.
SELECT SINGLE *
FROM DBSTATTDB4
INTO CORRESPONDING FIELDS OF WA_DBSTATTDB4
WHERE...
How to access SAP table DBSTATTDB4
Within an ECC or HANA version of SAP you can also view further information about DBSTATTDB4 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