DBSTATDB2N SAP (Copy of DBSTATTDB2 with all components DB2 SMALLINT-conform) Structure details
Description: Copy of DBSTATTDB2 with all components DB2 SMALLINT-conform
Structure field list including key, data, relationships and ABAP select examples
DBSTATDB2N 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 "Copy of DBSTATTDB2 with all components DB2 SMALLINT-conform" 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_DBSTATDB2N TYPE DBSTATDB2N.
The DBSTATDB2N table consists of various fields, each holding specific information or linking keys about Copy of DBSTATTDB2 with all components DB2 SMALLINT-conform data available in SAP. These include CREATOR (DB2 creator name), TIMESTAMP (Date and time of last RUNSTATS), VWTYP (Type of Usage of Table Entry), OPTIO (Sample Size for Collection of Statistics).. 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: Not classified
SAP DBSTATDB2N 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 |
NAME | DB2 table name | DB2TABNAME | CHAR | 18 | CHAR18 | ||||
CREATOR | DB2 creator name | DB2CREATOR | CHAR | 8 | CHAR8 | ||||
TIMESTAMP | Date and time of last RUNSTATS | DB2STATSTM | CHAR | 26 | DB2TMSTMP | ||||
VWTYP | Type of Usage of Table Entry | AM_VWTYP | CHAR | 2 | AM_VWTYPE | ||||
OPTIO | Sample Size for Collection of Statistics | AM_OPTIO | CHAR | 5 | CHAR5 | ||||
SIGNI | Copy of AM_SIGNI as INT2 to be DB2 SMALLINT-conform | AM_SIGNI2 | INT2 | 5 | AM_SIGNI2 | ||||
CARDF | Total number of rows in the table | DB2CARDF | FLTP | 16(16) | FLOATING | ||||
NPAGES | Number of pages on which rows of the table appear | DB2NPAGES | INT4 | 10 | |||||
PAGESIZE | DB2 for OS/390 page size in KBytes | DB2PGSIZE | INT2 | 5 | DB2PGSIZE | ||||
PCTROWCOMP | Copy of DB2PCTCOMP as INT2 to be DB2 SMALLINT-conform | DB2PCTCOM2 | INT2 | 5 | INT2 |
Key field | Non-key field |
How do I retrieve data from SAP structure DBSTATDB2N using ABAP code?
As DBSTATDB2N 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 DBSTATDB2N as there is no data to select.How to access SAP table DBSTATDB2N
Within an ECC or HANA version of SAP you can also view further information about DBSTATDB2N 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