DBSTATDB2N SAP (Copy of DBSTATTDB2 with all components DB2 SMALLINT-conform) Structure details

Dictionary Type: Structure
Description: Copy of DBSTATTDB2 with all components DB2 SMALLINT-conform




ABAP Code to SELECT data from DBSTATDB2N
Related tables to DBSTATDB2N
Access table DBSTATDB2N




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
NAMEDB2 table name DB2TABNAMECHAR18CHAR18
CREATORDB2 creator name DB2CREATORCHAR8CHAR8
TIMESTAMPDate and time of last RUNSTATS DB2STATSTMCHAR26DB2TMSTMP
VWTYPType of Usage of Table Entry AM_VWTYPCHAR2AM_VWTYPE
OPTIOSample Size for Collection of Statistics AM_OPTIOCHAR5CHAR5
SIGNICopy of AM_SIGNI as INT2 to be DB2 SMALLINT-conform AM_SIGNI2INT25AM_SIGNI2
CARDFTotal number of rows in the table DB2CARDFFLTP16(16) FLOATING
NPAGESNumber of pages on which rows of the table appear DB2NPAGESINT410
PAGESIZEDB2 for OS/390 page size in KBytes DB2PGSIZEINT25DB2PGSIZE
PCTROWCOMPCopy of DB2PCTCOMP as INT2 to be DB2 SMALLINT-conform DB2PCTCOM2INT25INT2

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!