DB2IXDETL SAP (Detailed Information on a DB2 Index) Structure details
Description: Detailed Information on a DB2 Index
Structure field list including key, data, relationships and ABAP select examples
DB2IXDETL 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 "Detailed Information on a DB2 Index" 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_DB2IXDETL TYPE DB2IXDETL.
The DB2IXDETL table consists of various fields, each holding specific information or linking keys about Detailed Information on a DB2 Index data available in SAP. These include CREATOR (DB2 creator name), TBNAME (Name of the table on which the index is defined), TBCREATOR (Authorization ID of the owner of the table), UNIQUERULE (Whether the index is unique).. 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 DB2IXDETL 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 | Name of a DB2 for OS/390 index | DB2IDXNAME | CHAR | 18 | CHAR18 | ||||
CREATOR | DB2 creator name | DB2CREATOR | CHAR | 8 | CHAR8 | ||||
TBNAME | Name of the table on which the index is defined | DB2TBNAME | CHAR | 18 | CHAR18 | ||||
TBCREATOR | Authorization ID of the owner of the table | DB2TBCREA | CHAR | 8 | CHAR8 | ||||
UNIQUERULE | Whether the index is unique | DB2UNIQUE | CHAR | 1 | DB2UNIQUE | ||||
COLCOUNT | Number of columns in the key | DB2KCOLCNT | INT2 | 5 | DB2SINT | ||||
CLUSTERING | Whether CLUSTER was specified when the index was created | DB2CLUSTER | CHAR | 1 | DB2YNFLAG | ||||
CLUSTERED | Whether the table is actually clustered by the index | DB2CLUSTRD | CHAR | 1 | DB2YNFLAG | ||||
DBNAME | Database name | DB2DBNAME | CHAR | 8 | D2DBNAME | ||||
INDEXSPACE | Name of the indexspace that contains the index | DB2IXSPACE | CHAR | 8 | CHAR8 | ||||
PARTITIONS | Number of partitions of a tablespace or index | DB2NUMPART | INT2 | 5 | DB2SINT | ||||
NLEAF | Number of active leaf pages in the index | DB2NLEAF | INT4 | 10 | |||||
NLEVELS | DB2 for OS/390 number of levels in the index tree | DB2NLEVELS | INT2 | 5 | DB2SINT | ||||
BPOOL | DB2/390: Buffer pool | DB2BUFPOOL | CHAR | 8 | DB2BUFPOOL | ||||
PGSIZE | DB2 for OS/390 page size in KBytes | DB2PGSIZE | INT2 | 5 | DB2PGSIZE | ||||
CLURATIO | Clusterratio: Percentage of rows in clustering order | DB2CLURAT2 | INT2 | 5 | DB2SINT | ||||
STATSTIME | Date and time of last RUNSTATS | DB2STATSTM | CHAR | 26 | DB2TMSTMP | ||||
INDEXTYPE | Index type | DB2IXTYPE | CHAR | 1 | DB2IXTYPE | ||||
FIRSTKEY | Number of distinct values in the first key column | DB2FRSTKEY | FLTP | 16(16) | FLTP | ||||
FULLKEY | Number of distinct values of the key | DB2FULLKEY | FLTP | 16(16) | FLTP | ||||
CREATEDTS | Time when the CREATE statement was executed | DB2CREADTS | CHAR | 26 | DB2TMSTMP | ||||
ALTEREDTS | Time of most recent ALTER statement on the object | DB2ALTEDTS | CHAR | 26 | DB2TMSTMP |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2IXDETL using ABAP code?
As DB2IXDETL 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 DB2IXDETL as there is no data to select.How to access SAP table DB2IXDETL
Within an ECC or HANA version of SAP you can also view further information about DB2IXDETL 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