DB2_VIEW_TS_DETAILS SAP (DB2: structure for VIEW_DATA of ..._ACTION_DB02_TS_DETAILS) Structure details
Description: DB2: structure for VIEW_DATA of ..._ACTION_DB02_TS_DETAILS
Related tables to DB2_VIEW_TS_DETAILS
Access table DB2_VIEW_TS_DETAILS
Structure field list including key, data, relationships and ABAP select examples
DB2_VIEW_TS_DETAILS 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 "DB2: structure for VIEW_DATA of ..._ACTION_DB02_TS_DETAILS" 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_DB2_VIEW_TS_DETAILS TYPE DB2_VIEW_TS_DETAILS.
The DB2_VIEW_TS_DETAILS table consists of various fields, each holding specific information or linking keys about DB2: structure for VIEW_DATA of ..._ACTION_DB02_TS_DETAILS data available in SAP. These include SPACENAME (DB2 TS Name), SPACE_CREATOR (DB2 creator name), DBNAME (DB2 DB Name), NUM_PART (2 byte integer (signed)).. 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 DB2_VIEW_TS_DETAILS 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 |
GENERAL_DATA | 0 | ||||||||
SPACENAME | DB2 TS Name | DB2TSNAML | CHAR | 24 | |||||
SPACE_CREATOR | DB2 creator name | DB2CREATORL | CHAR | 128 | |||||
DBNAME | DB2 DB Name | DB2DBNAML | CHAR | 24 | |||||
NUM_PART | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
SPACE_TYPE | TS: Type of object | DB2TSTYPE | CHAR | 20 | |||||
BPOOL | DB2 buffer pool name | DB2BPNAME | CHAR | 8 | DB2BPNAME | ||||
NTABLES | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
SEGSIZE | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
ENCODING_SCHEME | DB2 Encoding | DB2_ENCODING | CHAR | 20 | |||||
MAXROWS | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
DSSIZE | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
MAXPARTITIONS | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
BASE_TABLE_NAME | DB2 long table name | DB2TABNAML | CHAR | 128 | |||||
BASE_TABLE_CREATOR | DB2 creator name | DB2CREATORL | CHAR | 128 | |||||
TAB_DETAILS | 0 | ||||||||
ALLOC_KB | Size in KB | DB2SIZEKB | DEC | 19 | |||||
USED_KB | Size in KB | DB2SIZEKB | DEC | 19 | |||||
CREATEDTS | Character Representation of DB2 Timestamp | DB2TIMESTRING | CHAR | 26 | |||||
PGSIZE | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
STATSTIME | Character Representation of DB2 Timestamp | DB2TIMESTRING | CHAR | 26 | |||||
ALTEREDTS | Character Representation of DB2 Timestamp | DB2TIMESTRING | CHAR | 26 | |||||
AVGROWLEN | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
MAXROWS | Maximum number of rows that DB2 will place on a data page | DB2MROW | INT2 | 5 | DB2MROW | ||||
DSSIZE | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
TAB_TABLES | 0 | ||||||||
IT_TABLES | 0 | ||||||||
TAB_HISTORY | 0 | ||||||||
FROM_INTERVAL | Field type date, YYYYMMDD | DB2DATE | DATS | 8 | DB2DATE | ||||
TO_INTERVAL | Field type date, YYYYMMDD | DB2DATE | DATS | 8 | DB2DATE | ||||
IT_TABLESPACES | 0 | ||||||||
RANGE | Range for History ( daily, weekly, monthly ) | DB2HIST_RANGE | CHAR | 8 | |||||
RANGE_LIST | 0 | ||||||||
COLLAPSED | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
EXPANDED | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
RANGE_PREV | Range for History ( daily, weekly, monthly ) | DB2HIST_RANGE | CHAR | 8 | |||||
HIST_KEEP_DAYS | Count parameters | NUMC4 | NUMC | 4 | NUMC4 | ||||
HIST_KEEP_WEEKS | Count parameters | NUMC4 | NUMC | 4 | NUMC4 | ||||
HIST_KEEP_MONTHS | Count parameters | NUMC4 | NUMC | 4 | NUMC4 | ||||
TAB_PARTITIONS | 0 | ||||||||
IT_PARTITIONS | 0 | ||||||||
TAB_PART_DETAILS | 0 | ||||||||
PARTNO | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
ALLOC_KB | Size in KB | DB2SIZEKB | DEC | 19 | |||||
USED_KB | Size in KB | DB2SIZEKB | DEC | 19 | |||||
PQTY | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
SQTY | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
STORNAME | Storage group | DB2STOGROUP | CHAR | 128 | |||||
FARINDREF | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
NEARINDREF | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
PERCACTIVE | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
LIMITKEY | limitkey | DB2LIMITKEY | CHAR | 128 | |||||
FREEPAGE | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
PCTFREE | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
COMPRESS | Yes / NO Flag | DB2YESNO | CHAR | 3 | |||||
PAGE_SAVE | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
STATSTIME | Character Representation of DB2 Timestamp | DB2TIMESTRING | CHAR | 26 | |||||
GBPCACHE | Group buffer pool cache option | DB2GBPCACHL | CHAR | 8 | |||||
CARDF | cardf | DB2DB02CARDF | DEC | 19 | |||||
ALTEREDTS | Character Representation of DB2 Timestamp | DB2TIMESTRING | CHAR | 26 | |||||
DSNUM | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
EXTENTS | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
LOGICAL_PART | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
CREATEDTS | Character Representation of DB2 Timestamp | DB2TIMESTRING | CHAR | 26 | |||||
AVGROWLEN | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
ROW_FORMAT | Row Format | DB2ROWFORMAT | CHAR | 16 | |||||
REORG_LR_TS | Character Representation of DB2 Timestamp | DB2TIMESTRING | CHAR | 26 | |||||
FREE_SPACE | Size in KB | DB2SIZEKB | DEC | 19 | |||||
PCT_USED | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
LIST_VOL | Serial number of the volume | DB2VOLID | CHAR | 6 | CHAR6 | ||||
TAB_DATASETS | 0 | ||||||||
IT_DATASETS | 0 | ||||||||
PARTLIST | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2_VIEW_TS_DETAILS using ABAP code?
As DB2_VIEW_TS_DETAILS 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 DB2_VIEW_TS_DETAILS as there is no data to select.How to access SAP table DB2_VIEW_TS_DETAILS
Within an ECC or HANA version of SAP you can also view further information about DB2_VIEW_TS_DETAILS 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