ENHTAB SAP (Enhancements for Tables) Table details
Dictionary Type: Table
Description: Enhancements for Tables
Description: Enhancements for Tables
Table field list including key, data, relationships and ABAP select examples
ENHTAB is a standard SAP Table which is used to store Enhancements for Tables data and is available within R/3 SAP systems depending on the version and release level.
The ENHTAB table consists of various fields, each holding specific information or linking keys about Enhancements for Tables data available in SAP. These include VERSION (ABAP: Program Status (Active, Saved, Transported...)), TABNAME (Table Name), TABKEY (Table Key), STATE (Status of an Enhancement Element).. 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 ENHTAB 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 |
ENHNAME | ID of an Enhancement | ENHNAME | CHAR | 30 | ENHNAME | ||||
VERSION | ABAP: Program Status (Active, Saved, Transported...) | R3STATE | CHAR | 1 | R3STATE | ||||
TABNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
TABKEY | Table Key | TABKEY | CHAR | 120 | CHAR120 | ||||
STATE | Status of an Enhancement Element | ENHELEMSTATE | CHAR | 1 | ENHELEMSTATE | ||||
ELEMUSAGE | Enhancement Element Use | ENHELEMUSAGE | CHAR | 4 | ENHELEMUSAGE | ||||
MASTERTYPE | Object Type | TROBJTYPE | CHAR | 4 | OBJECT | SCTSOBJECT | |||
MASTERNAME | Object Name in Object Directory | SOBJ_NAME | CHAR | 40 | SOBJ_NAME | ||||
VIEWNAME | Name of SAP table view | VIEWNAME | CHAR | 30 | Assigned to domain | VIEWNAME | DVI | ||
UPGRADE | Enhancement Upgrade | ENHUPGRADE | CHAR | 1 | ENHUPGRADE |
Key field | Non-key field |
How do I retrieve data from SAP table ENHTAB using ABAP code
The following ABAP code Example will allow you to do a basic selection on ENHTAB to SELECT all data from the tableDATA: WA_ENHTAB TYPE ENHTAB.
SELECT SINGLE *
FROM ENHTAB
INTO CORRESPONDING FIELDS OF WA_ENHTAB
WHERE...
How to access SAP table ENHTAB
Within an ECC or HANA version of SAP you can also view further information about ENHTAB 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