MDG_GN_ABAP_SOURCE SAP (ABAP Source Data (Source Code and Textpools)) Structure details
Description: ABAP Source Data (Source Code and Textpools)
Related tables to MDG_GN_ABAP_SOURCE
Access table MDG_GN_ABAP_SOURCE
Structure field list including key, data, relationships and ABAP select examples
MDG_GN_ABAP_SOURCE 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 "ABAP Source Data (Source Code and Textpools)" 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_MDG_GN_ABAP_SOURCE TYPE MDG_GN_ABAP_SOURCE.
The MDG_GN_ABAP_SOURCE table consists of various fields, each holding specific information or linking keys about ABAP Source Data (Source Code and Textpools) data available in SAP. These include NAME (ABAP Program Name), SQLX (Source code protection), EDTX (Editor lock flag), VARCL (Case-Sensitive).. 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 MDG_GN_ABAP_SOURCE 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 |
HEADER | 0 | ||||||||
NAME | ABAP Program Name | PROGNAME | CHAR | 40 | PROGNAME | ||||
SQLX | Source code protection | SQLX | CHAR | 1 | SYCHAR01 | ||||
EDTX | Editor lock flag | EDTX | CHAR | 1 | RDIR_FUNC | ||||
VARCL | Case-Sensitive | VARCL | CHAR | 1 | SYCHAR01 | ||||
DBAPL | Application database | DBAPL | CHAR | 1 | APPL_KUERZ | ||||
DBNA | Logical database | DBNA | CHAR | 2 | SYCHAR02 | ||||
CLAS | Program class | CLAS | CHAR | 4 | CLAS | ||||
TYPE | Selection screen version | RDIR_TYPE | CHAR | 3 | SYCHAR03 | ||||
OCCURS | Automatically generated program | OCCU | CHAR | 1 | SYCHAR01 | ||||
SUBC | Program type | SUBC | CHAR | 1 | SUBC | ||||
APPL | Application | RDIR_APPL | CHAR | 1 | PAPPL | ||||
SECU | Authorization Group | SECU | CHAR | 8 | SYCHAR08 | ||||
CNAM | Author | CNAM | CHAR | 12 | SYCHAR12 | ||||
CDAT | Created on | RDIR_CDATE | DATS | 8 | SYDATS | ||||
UNAM | Last changed by | UNAM | CHAR | 12 | SYCHAR12 | ||||
UDAT | Changed On | RDIR_UDATE | DATS | 8 | SYDATS | ||||
VERN | Version number | VERN | CHAR | 6 | SYCHAR06 | ||||
LEVL | Level | RDIR_LEVL | CHAR | 4 | SYCHAR04 | ||||
RSTAT | Status | RDIR_RSTAT | CHAR | 1 | RSTAT | ||||
RMAND | Client | RMAND | CHAR | 3 | SYCHAR03 | ||||
RLOAD | Master Language | RLOAD | LANG | 1 | ISOLA | LANG | |||
FIXPT | Fixed point arithmetic | FIXPT | CHAR | 1 | RDIR_FUNC | ||||
SSET | Start only via variant | SSET | CHAR | 1 | RDIR_FUNC | ||||
SDATE | Standard selection screen generation: Date | RDIR_SDATE | DATS | 8 | SYDATS | ||||
STIME | Standard selection screen generation: Time | RDIR_STIME | CHAR | 6 | SYCHAR06 | ||||
IDATE | Selection screen generation: Date | RDIR_IDATE | DATS | 8 | SYDATS | ||||
ITIME | Selection screen generation: Time | RDIR_ITIME | CHAR | 6 | SYCHAR06 | ||||
LDBNAME | LDB name | LDBNAM | CHAR | 20 | LDBNAME | LDB | SH_LDBD | ||
UCCHECK | Flag, if unicode check was performed | UCCHECK | CHAR | 1 | SYCHAR01 | ||||
HEADER_CHANGED | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | BOOLE_D | CHAR | 1 | BOOLE | ||||
T_CODING | 0 | ||||||||
CODING_CHANGED | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | BOOLE_D | CHAR | 1 | BOOLE | ||||
T_TEXTPOOLS | 0 | ||||||||
TEXTPOOLS_CHANGED | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | BOOLE_D | CHAR | 1 | BOOLE |
Key field | Non-key field |
How do I retrieve data from SAP structure MDG_GN_ABAP_SOURCE using ABAP code?
As MDG_GN_ABAP_SOURCE 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 MDG_GN_ABAP_SOURCE as there is no data to select.How to access SAP table MDG_GN_ABAP_SOURCE
Within an ECC or HANA version of SAP you can also view further information about MDG_GN_ABAP_SOURCE 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