DB2_DB02_HISTORY SAP (DB02: Structure for history of a system) Structure details

Dictionary Type: Structure
Description: DB02: Structure for history of a system




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




Structure field list including key, data, relationships and ABAP select examples

DB2_DB02_HISTORY 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 "DB02: Structure for history of a system" 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_DB02_HISTORY TYPE DB2_DB02_HISTORY.

The DB2_DB02_HISTORY table consists of various fields, each holding specific information or linking keys about DB02: Structure for history of a system data available in SAP. These include COLTIME (Field type time, HHMMSS), #TS (Natural Number), #TABLES (Natural Number), #IX (Natural Number).. 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_DB02_HISTORY 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
COLDATEField type date, YYYYMMDD DB2DATEDATS8DB2DATE
COLTIMEField type time, HHMMSS DB2TIMETIMS6DB2TIME
#TSNatural Number INT4INT410INT4
#TABLESNatural Number INT4INT410INT4
#IXNatural Number INT4INT410INT4
#AUXNatural Number INT4INT410INT4
ALLOC_TSSize in MB DB2SIZEMBDEC16
ALLOC_IXSize in MB DB2SIZEMBDEC16
ALLOC_AUXSize in MB DB2SIZEMBDEC16
ALLOC_SIZESize in KB DB2SIZEKBDEC19
FREE_SIZESize in KB DB2SIZEKBDEC19
PCT_USED2 byte integer (signed) INT2INT25INT2
DELTA_ALLOCSize in KB DB2SIZEKBDEC19

Key field Non-key field



How do I retrieve data from SAP structure DB2_DB02_HISTORY using ABAP code?

As DB2_DB02_HISTORY 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_DB02_HISTORY as there is no data to select.

How to access SAP table DB2_DB02_HISTORY

Within an ECC or HANA version of SAP you can also view further information about DB2_DB02_HISTORY 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!