MDG_MDF_S_TABINFO SAP (Information for Master Data Tables) Structure details
Description: Information for Master Data Tables
Related tables to MDG_MDF_S_TABINFO
Access table MDG_MDF_S_TABINFO
Structure field list including key, data, relationships and ABAP select examples
MDG_MDF_S_TABINFO 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 "Information for Master Data Tables" 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_MDF_S_TABINFO TYPE MDG_MDF_S_TABINFO.
The MDG_MDF_S_TABINFO table consists of various fields, each holding specific information or linking keys about Information for Master Data Tables data available in SAP. These include TABNAME (Table Name), DBASE (Internal Name for Database), UUID (Global Unique ID for table), CRSTAMP (Time of nametab generation).. 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_MDF_S_TABINFO 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 |
TABNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
DBASE | Internal Name for Database | INTBASE | CHAR | 1 | CHAR1 | ||||
UUID | Global Unique ID for table | UUID | RAW | 16 | UUID | ||||
CRSTAMP | Time of nametab generation | CRSTAMP | CHAR | 14 | TIMESTMP | ||||
ABSTAMP | ABAP Time Stamp | ABSTAMP | CHAR | 14 | TIMESTMP | ||||
DYSTAMP | Screen time stamp | DYSTAMP | CHAR | 14 | TIMESTMP | ||||
FLDCNT | Number of table fields | FLDCNT | RAW | 2 | NTABLONG | ||||
TABLEN | Table length in bytes | TABLENGTH | RAW | 4 | DDRAW4 | ||||
KEYCNT | Number of key fields in table | KEYCNT | RAW | 1 | NTABSHORT | ||||
KEYLEN | Length of Table Key in Bytes | KEYLENGTH | RAW | 2 | NTABLONG | ||||
CLPOS | Position number of the client field in the table | CLPOS | RAW | 1 | NTABSHORT | ||||
TABTYPE | Type of the Dictionary object | TABTYPE | CHAR | 1 | TABTYPE | ||||
TABFORM | How the Dictionary object is implemented in the database | TABFORM | CHAR | 1 | TABFORM | ||||
REFNAME | Name of physical table (for pool/cluster/view) | REFNAME | CHAR | 30 | Assigned to domain | AS4TAB | |||
FLAGBYTE | Flag of length 1 byte for table attributes | TABFLAG_D | RAW | 1 | NTABSHORT | ||||
EXROUT | Flag if table to be compressed | EXROUT | RAW | 1 | NTABSHORT | ||||
FLAG3 | Flag of length 1 byte for table attributes | TABFLAG_D | RAW | 1 | NTABSHORT | ||||
FLAG4 | Flag of length 1 byte for table attributes | TABFLAG_D | RAW | 1 | NTABSHORT | ||||
FLAG5 | Flag of length 1 byte for table attributes | TABFLAG_D | RAW | 1 | NTABSHORT | ||||
FLAG6 | Flag of length 1 byte for table attributes | TABFLAG_D | RAW | 1 | NTABSHORT | ||||
BUFSTATE | Buffering type of table | BUFSTATE | CHAR | 1 | BUFSTATE | ||||
BUFPARM | Supplementary information in generic buffering | BUFPARM | RAW | 2 | NTABLONG | ||||
ALIGN | Table alignment | ALIGNMENT | RAW | 1 | NTABSHORT | ||||
POINTERLG | Pointer length with which nametab was generated | POINTERLG | RAW | 1 | NTABSHORT | ||||
UNICODELG | Unicode length with which runtime object was generated | UNICODELG | RAW | 1 | NTABSHORT | ||||
COMPCNT | ABAP Dictionary: Number of Fields with Depth 0 | DDCOMPCNT | RAW | 2 | NTABLONG | ||||
LEAFCNT | ABAP Dictionary: Leaf Content of Structure | DDLEAFCNT | RAW | 2 | NTABLONG | ||||
CUSTOMER_CONTENT | Master Data: General Indicator | MDG_MDF_FLG | CHAR | 1 | MDG_MDF_FLG |
Key field | Non-key field |
How do I retrieve data from SAP structure MDG_MDF_S_TABINFO using ABAP code?
As MDG_MDF_S_TABINFO 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_MDF_S_TABINFO as there is no data to select.How to access SAP table MDG_MDF_S_TABINFO
Within an ECC or HANA version of SAP you can also view further information about MDG_MDF_S_TABINFO 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