DB4TS SAP (DB2/400 Table Parameters) Structure details
Description: DB2/400 Table Parameters
Structure field list including key, data, relationships and ABAP select examples
DB4TS 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/400 Table Parameters" 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_DB4TS TYPE DB4TS.
The DB4TS table consists of various fields, each holding specific information or linking keys about DB2/400 Table Parameters data available in SAP. These include R_KEY_COL_NAME (DB2/400: Partition Key Column), R_NULLS_LAST (DB2/400: NULL Value Sort Below RANGE Partitioning), R_PART_NAME (DB2/400: Name of a Table Partition), R_LOW_BND_EXCL (DB2/400: Exclusion Property of a Boundary Vector).. 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 DB4TS 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 |
PARTITION_BY | DB2/400: Partitioning Properties of a Table | DB4PARTBY | CHAR | 5 | DB4PARTBY | ||||
R_KEY_COL_NAME | DB2/400: Partition Key Column | DB4KEYCOLNAME | CHAR | 30 | DB4KEYCOLNAME | ||||
R_NULLS_LAST | DB2/400: NULL Value Sort Below RANGE Partitioning | DB4NULLSLAST | CHAR | 1 | DB4NULLSLAST | ||||
R_PART_NAME | DB2/400: Name of a Table Partition | DB4PARTNAME | CHAR | 10 | DB4PARTNAME | ||||
R_LOW_BND_EXCL | DB2/400: Exclusion Property of a Boundary Vector | DB4BOUNDEXCL | CHAR | 1 | DB4BOUNDEXCL | ||||
R_HIGH_BND_EXCL | DB2/400: Exclusion Property of a Boundary Vector | DB4BOUNDEXCL | CHAR | 1 | DB4BOUNDEXCL | ||||
R_LOW_VALUE | DB2/400: Boundary Value of a Single-Dimensional Value Area | DB4DIMVAL | CHAR | 60 | DB4DIMVAL | ||||
R_HIGH_VALUE | DB2/400: Boundary Value of a Single-Dimensional Value Area | DB4DIMVAL | CHAR | 60 | DB4DIMVAL | ||||
H_NUM_PARTS | DB2/400: Number of Partitions of a Table | DB4NUMPARTS | NUMC | 4 | DB4NUMPARTS | ||||
H_KEY_COL_NAME | DB2/400: Partition Key Column | DB4KEYCOLNAME | CHAR | 30 | DB4KEYCOLNAME | ||||
H_PART_NAME | DB2/400: Name of a Table Partition | DB4PARTNAME | CHAR | 10 | DB4PARTNAME |
Key field | Non-key field |
How do I retrieve data from SAP structure DB4TS using ABAP code?
As DB4TS 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 DB4TS as there is no data to select.How to access SAP table DB4TS
Within an ECC or HANA version of SAP you can also view further information about DB4TS 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