TTREV_COMP SAP (Versions: Structure/Hierarchy Comparisons) Table details

Dictionary Type: Table
Description: Versions: Structure/Hierarchy Comparisons




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




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 objects
Display/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_IDComparison ID HIER_CPIDCHAR32SYCHAR32
IDUnique ID - 32 characters HIER_GUIDCHAR32SYCHAR32
CREATEUSERCreated by HIER_FUSERCHAR12HIER_USER
CREATEDATECreated on HIER_FDATEDATS8SYDATS
CREATETIMECreated at HIER_FTIMETIMS6SYTIME
COMP_TYPEStructure Comparison Type HIER_CTYPECHAR1COMP_TYPESCPTYPE
COMP_RTYPEValid Reference Types in Structure Repository HIER_RTYPECHAR4Assigned to domainHIER_RTYPE
MASTERLANGLanguage Key SPRASLANG1Assigned to domainISOLASPRASSPRH_T002
DELETEDVersion deleted HIER_DELCHAR1XFELD
DELETEUSERLast changed by HIER_LUSERCHAR12HIER_USER
DELETEDATELast Changed On HIER_LDATEDATS8SYDATS
DELETETIMETime of Last Change HIER_LTIMETIMS6SYTIME
VERS_LEFTVersion ID HIER_VERSCHAR32SYCHAR32
USER_LEFTCreated by HIER_FUSERCHAR12HIER_USER
DATE_LEFTCreated on HIER_FDATEDATS8SYDATS
TIME_LEFTCreated at HIER_FTIMETIMS6SYTIME
VERS_RIGHTVersion ID HIER_VERSCHAR32SYCHAR32
USER_RIGHTCreated by HIER_FUSERCHAR12HIER_USER
DATE_RIGHTCreated on HIER_FDATEDATS8SYDATS
TIME_RIGHTCreated at HIER_FTIMETIMS6SYTIME

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 table
DATA: 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 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!