EMGGEN SAP (General Fields) Structure details
Description: General Fields
Structure field list including key, data, relationships and ABAP select examples
EMGGEN 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 "General Fields" 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_EMGGEN TYPE EMGGEN.
The EMGGEN table consists of various fields, each holding specific information or linking keys about General Fields data available in SAP. These include WMODE (Processing Mode (1 = Display, 2 = Change, 3 = Create...)), DB_UPDATE (Database Updated (X) or not (SPACE)), OKCODE (Function Code), UPD_ONLINE (Update Online).. 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: Can be enhanced (character-type or numeric)
SAP EMGGEN 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 |
KENNZX | Indicator | EMG_KENNZX | CHAR | 1 | EMG_KENNZX | ||||
WMODE | Processing Mode (1 = Display, 2 = Change, 3 = Create...) | EMG_MODE | CHAR | 1 | EMG_MODE | ||||
DB_UPDATE | Database Updated (X) or not (SPACE) | EMG_UPDATE | CHAR | 1 | EMG_KENNZX | ||||
OKCODE | Function Code | CUA_CODE | CHAR | 20 | CUA_CODE | ||||
UPD_ONLINE | Update Online | EMG_UPDONLINE | CHAR | 1 | EMG_KENNZX | ||||
NO_DIALOG | Suppress Maintenance Screens | EMG_DARK | CHAR | 1 | EMG_KENNZX | ||||
EXIT_TYPE | Function with Which Editing was Exited | EMG_EXIT_TYPE | CHAR | 20 | CUA_CODE | ||||
ACTUAL | Consistent Data | EMG_ACTUAL | CHAR | 1 | EMG_KENNZX |
Key field | Non-key field |
How do I retrieve data from SAP structure EMGGEN using ABAP code?
As EMGGEN 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 EMGGEN as there is no data to select.How to access SAP table EMGGEN
Within an ECC or HANA version of SAP you can also view further information about EMGGEN 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