TCMP_DAT SAP (Comparison Data, Generic Comparison Tool) Table details
Dictionary Type: Table
Description: Comparison Data, Generic Comparison Tool
Description: Comparison Data, Generic Comparison Tool
Table field list including key, data, relationships and ABAP select examples
TCMP_DAT is a standard SAP Table which is used to store Comparison Data, Generic Comparison Tool data and is available within R/3 SAP systems depending on the version and release level.
The TCMP_DAT table consists of various fields, each holding specific information or linking keys about Comparison Data, Generic Comparison Tool data available in SAP. These include OBJECT_ID (Comparison Object ID), SUBOBJTYPE (Subobject Type, Generic Comparison Tool), SUBOBJ_ID (Suboject ID), DIFFERENCE (Flag with Values ' ' and 'X').. 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: S - System table, maint. only by SAP, change = modificationDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP TCMP_DAT 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 | 32-Character Comparison ID | CMP_CO_ID | CHAR | 32 | TCMP | SYCHAR32 | |||
OBJECT_ID | Comparison Object ID | CMP_OBJ_ID | CHAR | 40 | SOBJ_NAME | ||||
SUBOBJTYPE | Subobject Type, Generic Comparison Tool | CMP_SUTY | CHAR | 6 | TCMP_SUTY | ||||
SUBOBJ_ID | Suboject ID | CMP_SU_ID | CHAR | 70 | CHAR70 | ||||
DIFFERENCE | Flag with Values ' ' and 'X' | CTM_YESNO | CHAR | 1 | CTM_YESNO | ||||
ADJUSTED | Flag with Values ' ' and 'X' | CTM_YESNO | CHAR | 1 | CTM_YESNO |
Key field | Non-key field |
How do I retrieve data from SAP table TCMP_DAT using ABAP code
The following ABAP code Example will allow you to do a basic selection on TCMP_DAT to SELECT all data from the tableDATA: WA_TCMP_DAT TYPE TCMP_DAT.
SELECT SINGLE *
FROM TCMP_DAT
INTO CORRESPONDING FIELDS OF WA_TCMP_DAT
WHERE...
How to access SAP table TCMP_DAT
Within an ECC or HANA version of SAP you can also view further information about TCMP_DAT 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