DB2_DB02_TAB_HISTORY SAP (DB02: structure for history data of a table) Structure details
Description: DB02: structure for history data of a table
Related tables to DB2_DB02_TAB_HISTORY
Access table DB2_DB02_TAB_HISTORY
Structure field list including key, data, relationships and ABAP select examples
DB2_DB02_TAB_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 data of a table" 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_TAB_HISTORY TYPE DB2_DB02_TAB_HISTORY.
The DB2_DB02_TAB_HISTORY table consists of various fields, each holding specific information or linking keys about DB02: structure for history data of a table data available in SAP. These include TO_INTERVAL (Field type date, YYYYMMDD), IT_TABLES (), RANGE (Range for History ( daily, weekly, monthly )), RANGE_LIST ().. 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_TAB_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 |
FROM_INTERVAL | Field type date, YYYYMMDD | DB2DATE | DATS | 8 | DB2DATE | ||||
TO_INTERVAL | Field type date, YYYYMMDD | DB2DATE | DATS | 8 | DB2DATE | ||||
IT_TABLES | 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 |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2_DB02_TAB_HISTORY using ABAP code?
As DB2_DB02_TAB_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_TAB_HISTORY as there is no data to select.How to access SAP table DB2_DB02_TAB_HISTORY
Within an ECC or HANA version of SAP you can also view further information about DB2_DB02_TAB_HISTORY 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