ENH_CONTRACT_DIFF SAP (Diff. Structure for ENH Contracts) Structure details

Dictionary Type: Structure
Description: Diff. Structure for ENH Contracts




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




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

ENH_CONTRACT_DIFF 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 "Diff. Structure for ENH Contracts" 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_ENH_CONTRACT_DIFF TYPE ENH_CONTRACT_DIFF.

The ENH_CONTRACT_DIFF table consists of various fields, each holding specific information or linking keys about Diff. Structure for ENH Contracts data available in SAP. These include ENHNAME (ID of an Enhancement), VERSION (ABAP: Program Status (Active, Saved, Transported...)), OBJ_TYPE (Object Type), OBJ_NAME (Object Name in Object 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 ENH_CONTRACT_DIFF 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
ENHOBJ 0
ENHNAMEID of an Enhancement ENHNAMECHAR30ENHNAME
VERSIONABAP: Program Status (Active, Saved, Transported...) R3STATECHAR1R3STATE
OBJ_TYPEObject Type TROBJTYPECHAR4OBJECTSCTSOBJECT
OBJ_NAMEObject Name in Object List TROBJ_NAMECHAR120TROBJ_NAME
STATEStatus of an Enhancement Element ENHELEMSTATECHAR1ENHELEMSTATE
PGMIDProgram ID in Requests and Tasks PGMIDCHAR4PGMID
ELEMUSAGEEnhancement Element Use ENHELEMUSAGECHAR4ENHELEMUSAGE
UPGRADEEnhancement Upgrade ENHUPGRADECHAR1ENHUPGRADE
MAIN_TYPEObject Type TROBJTYPECHAR4OBJECTSCTSOBJECT
MAIN_NAMEDevelopment Environment TADIR Name EU_ANAMECHAR40SYCHAR40
ADDTRANSEnhancement Boolean ENHBOOLEANCHAR1ENHBOOLEAN
INCL_NAMEProgram/Transaction in SQL Trace Evaluation PROGRAMCHAR40Assigned to domainPROGRAMMRID
DETAIL 0
DIFF_FLAGS 0
CONTRACT_BROKENCHAR01 data element for SYST SYCHAR01CHAR1SYCHAR01
COMPATIBLE_CHANGEDCHAR01 data element for SYST SYCHAR01CHAR1SYCHAR01
TRAFFIC_LIGHTCHAR01 data element for SYST SYCHAR01CHAR1SYCHAR01
CHANGED_OBJ_TYPEChanged Object Type ENH_CHGD_OBTYPECHAR2ENH_CHG_OBJTYPE_DO
CHANGE_INDICATOREnh. Upgrade Change Indicator ENH_CHGD_INDICATORCHAR4ENH_CHGD_INDICATOR_DO

Key field Non-key field



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

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

How to access SAP table ENH_CONTRACT_DIFF

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