TTREV_COMP SAP (Versions: Structure/Hierarchy Comparisons) Table details
Dictionary Type: Table
Description: Versions: Structure/Hierarchy Comparisons
Description: Versions: Structure/Hierarchy Comparisons
Table field list including key, data, relationships and ABAP select examples
TTREV_COMP is a standard SAP Table which is used to store Versions: Structure/Hierarchy Comparisons data and is available within R/3 SAP systems depending on the version and release level.
The TTREV_COMP table consists of various fields, each holding specific information or linking keys about Versions: Structure/Hierarchy Comparisons data available in SAP. These include ID (Unique ID - 32 characters), CREATEUSER (Created by), CREATEDATE (Created on), CREATETIME (Created at).. 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: W - System table, contents transportable via separate TR objectsDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP TTREV_COMP table 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 |
COMPARE_ID | Comparison ID | HIER_CPID | CHAR | 32 | SYCHAR32 | ||||
ID | Unique ID - 32 characters | HIER_GUID | CHAR | 32 | SYCHAR32 | ||||
CREATEUSER | Created by | HIER_FUSER | CHAR | 12 | HIER_USER | ||||
CREATEDATE | Created on | HIER_FDATE | DATS | 8 | SYDATS | ||||
CREATETIME | Created at | HIER_FTIME | TIMS | 6 | SYTIME | ||||
COMP_TYPE | Structure Comparison Type | HIER_CTYPE | CHAR | 1 | COMP_TYPES | CPTYPE | |||
COMP_RTYPE | Valid Reference Types in Structure Repository | HIER_RTYPE | CHAR | 4 | Assigned to domain | HIER_RTYPE | |||
MASTERLANG | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
DELETED | Version deleted | HIER_DEL | CHAR | 1 | XFELD | ||||
DELETEUSER | Last changed by | HIER_LUSER | CHAR | 12 | HIER_USER | ||||
DELETEDATE | Last Changed On | HIER_LDATE | DATS | 8 | SYDATS | ||||
DELETETIME | Time of Last Change | HIER_LTIME | TIMS | 6 | SYTIME | ||||
VERS_LEFT | Version ID | HIER_VERS | CHAR | 32 | SYCHAR32 | ||||
USER_LEFT | Created by | HIER_FUSER | CHAR | 12 | HIER_USER | ||||
DATE_LEFT | Created on | HIER_FDATE | DATS | 8 | SYDATS | ||||
TIME_LEFT | Created at | HIER_FTIME | TIMS | 6 | SYTIME | ||||
VERS_RIGHT | Version ID | HIER_VERS | CHAR | 32 | SYCHAR32 | ||||
USER_RIGHT | Created by | HIER_FUSER | CHAR | 12 | HIER_USER | ||||
DATE_RIGHT | Created on | HIER_FDATE | DATS | 8 | SYDATS | ||||
TIME_RIGHT | Created at | HIER_FTIME | TIMS | 6 | SYTIME |
Key field | Non-key field |
How do I retrieve data from SAP table TTREV_COMP using ABAP code
The following ABAP code Example will allow you to do a basic selection on TTREV_COMP to SELECT all data from the tableDATA: WA_TTREV_COMP TYPE TTREV_COMP.
SELECT SINGLE *
FROM TTREV_COMP
INTO CORRESPONDING FIELDS OF WA_TTREV_COMP
WHERE...
How to access SAP table TTREV_COMP
Within an ECC or HANA version of SAP you can also view further information about TTREV_COMP 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