DB4TS SAP (DB2/400 Table Parameters) Structure details

Dictionary Type: Structure
Description: DB2/400 Table Parameters




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




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_BYDB2/400: Partitioning Properties of a Table DB4PARTBYCHAR5DB4PARTBY
R_KEY_COL_NAMEDB2/400: Partition Key Column DB4KEYCOLNAMECHAR30DB4KEYCOLNAME
R_NULLS_LASTDB2/400: NULL Value Sort Below RANGE Partitioning DB4NULLSLASTCHAR1DB4NULLSLAST
R_PART_NAMEDB2/400: Name of a Table Partition DB4PARTNAMECHAR10DB4PARTNAME
R_LOW_BND_EXCLDB2/400: Exclusion Property of a Boundary Vector DB4BOUNDEXCLCHAR1DB4BOUNDEXCL
R_HIGH_BND_EXCLDB2/400: Exclusion Property of a Boundary Vector DB4BOUNDEXCLCHAR1DB4BOUNDEXCL
R_LOW_VALUEDB2/400: Boundary Value of a Single-Dimensional Value Area DB4DIMVALCHAR60DB4DIMVAL
R_HIGH_VALUEDB2/400: Boundary Value of a Single-Dimensional Value Area DB4DIMVALCHAR60DB4DIMVAL
H_NUM_PARTSDB2/400: Number of Partitions of a Table DB4NUMPARTSNUMC4DB4NUMPARTS
H_KEY_COL_NAMEDB2/400: Partition Key Column DB4KEYCOLNAMECHAR30DB4KEYCOLNAME
H_PART_NAMEDB2/400: Name of a Table Partition DB4PARTNAMECHAR10DB4PARTNAME

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 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!