MDG_GN_ABAP_SOURCE SAP (ABAP Source Data (Source Code and Textpools)) Structure details

Dictionary Type: Structure
Description: ABAP Source Data (Source Code and Textpools)




ABAP Code to SELECT data from MDG_GN_ABAP_SOURCE
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
NAMEABAP Program Name PROGNAMECHAR40PROGNAME
SQLXSource code protection SQLXCHAR1SYCHAR01
EDTXEditor lock flag EDTXCHAR1RDIR_FUNC
VARCLCase-Sensitive VARCLCHAR1SYCHAR01
DBAPLApplication database DBAPLCHAR1APPL_KUERZ
DBNALogical database DBNACHAR2SYCHAR02
CLASProgram class CLASCHAR4CLAS
TYPESelection screen version RDIR_TYPECHAR3SYCHAR03
OCCURSAutomatically generated program OCCUCHAR1SYCHAR01
SUBCProgram type SUBCCHAR1SUBC
APPLApplication RDIR_APPLCHAR1PAPPL
SECUAuthorization Group SECUCHAR8SYCHAR08
CNAMAuthor CNAMCHAR12SYCHAR12
CDATCreated on RDIR_CDATEDATS8SYDATS
UNAMLast changed by UNAMCHAR12SYCHAR12
UDATChanged On RDIR_UDATEDATS8SYDATS
VERNVersion number VERNCHAR6SYCHAR06
LEVLLevel RDIR_LEVLCHAR4SYCHAR04
RSTATStatus RDIR_RSTATCHAR1RSTAT
RMANDClient RMANDCHAR3SYCHAR03
RLOADMaster Language RLOADLANG1ISOLALANG
FIXPTFixed point arithmetic FIXPTCHAR1RDIR_FUNC
SSETStart only via variant SSETCHAR1RDIR_FUNC
SDATEStandard selection screen generation: Date RDIR_SDATEDATS8SYDATS
STIMEStandard selection screen generation: Time RDIR_STIMECHAR6SYCHAR06
IDATESelection screen generation: Date RDIR_IDATEDATS8SYDATS
ITIMESelection screen generation: Time RDIR_ITIMECHAR6SYCHAR06
LDBNAMELDB name LDBNAMCHAR20LDBNAMELDBSH_LDBD
UCCHECKFlag, if unicode check was performed UCCHECKCHAR1SYCHAR01
HEADER_CHANGEDData element for domain BOOLE: TRUE (='X') and FALSE (=' ') BOOLE_DCHAR1BOOLE
T_CODING 0
CODING_CHANGEDData element for domain BOOLE: TRUE (='X') and FALSE (=' ') BOOLE_DCHAR1BOOLE
T_TEXTPOOLS 0
TEXTPOOLS_CHANGEDData element for domain BOOLE: TRUE (='X') and FALSE (=' ') BOOLE_DCHAR1BOOLE

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 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!