MDG_MDF_S_LOC_ROLE_MAIN SAP (FIN Master Data: Local Roles and Restrictions on Hierarchies) Structure details

Dictionary Type: Structure
Description: FIN Master Data: Local Roles and Restrictions on Hierarchies




ABAP Code to SELECT data from MDG_MDF_S_LOC_ROLE_MAIN
Related tables to MDG_MDF_S_LOC_ROLE_MAIN
Access table MDG_MDF_S_LOC_ROLE_MAIN




Structure field list including key, data, relationships and ABAP select examples

MDG_MDF_S_LOC_ROLE_MAIN 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 "FIN Master Data: Local Roles and Restrictions on Hierarchies" 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_LOC_ROLE_MAIN TYPE MDG_MDF_S_LOC_ROLE_MAIN.

The MDG_MDF_S_LOC_ROLE_MAIN table consists of various fields, each holding specific information or linking keys about FIN Master Data: Local Roles and Restrictions on Hierarchies data available in SAP. These include CHAR_CLASS (Reference type), HIER_CLASS (Reference type), NET_CLASS (Reference type), ONLY_INTTYPE (ABAP data type (C,D,N,...)).. 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_LOC_ROLE_MAIN 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
ROLEMaster Data: Role MDG_MDF_ROLECHAR10Assigned to domainMDG_MDF_ROLE
CHAR_CLASSReference type CLASSNAMECHAR30CLASSNAME
HIER_CLASSReference type CLASSNAMECHAR30CLASSNAME
NET_CLASSReference type CLASSNAMECHAR30CLASSNAME
ONLY_INTTYPEABAP data type (C,D,N,...) INTTYPECHAR1INTTYPE
ONLY_INTLENInternal Length in Bytes INTLENNUMC6DDLENG
ONLY_TYPEMaster Data: Field Type: Characteristic or Key Figure MDG_MDF_FIELDTYPECHAR1MDG_MDF_FIELDTYPE
ROLLNAMEData element (semantic domain) ROLLNAMECHAR30Assigned to domainROLLNAMEROLDD_DTEL
FIELDNAMEMaster Data: Field Name MDG_MDF_FIELDNAMECHAR30Assigned to domainFDNAMEMDG_MDF_FIELDNAME_BASIC
ROLLNAME_SIDData element (semantic domain) ROLLNAMECHAR30Assigned to domainROLLNAMEROLDD_DTEL
SOBJObject Name OB_OBJECTCHAR30Assigned to domainOB_OBJECT
BUFFER_TYPEMaster Data: Type of Read Buffering MDG_MDF_BUFF_TYPENUMC1MDG_MDF_BUFF_TYPE
WITH_DELTA_LEAFMaster Data: General Indicator MDG_MDF_FLGCHAR1MDG_MDF_FLG
TIMESTAMPUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
UNAMEUser Name UNAMECHAR12UNAME
HAS_HIERARCHYGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
UNIQUE_INDEPFLDGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
ONLY_ONE_HRYNAMEGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
ONLY_ONE_ROOTGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
DEPENDENT_HRYNMGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
EDGE_VERSION_DEPGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
EDGE_TIME_DEPGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
NO_PERIOD_CONVGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
CLOSELY_LINKEDGeneral Indicator for Master Data MDG_MDF_FLG_TRISTATECHAR1MDG_MDF_FLG_TRISTATE
TABNAME_AUTH_CHECKTable Name TABNAMECHAR30Assigned to domainAS4TABDTB
APPL_CLASSReference type CLASSNAMECHAR30CLASSNAME
DEEP_COPYMaster Data: Deep Copy MDG_MDF_DEEP_COPYCHAR1MDG_MDF_FLG
DEEP_DELETEMaster Data: Deep Delete MDG_MDF_DEEP_DELETECHAR1MDG_MDF_FLG
DEEP_TRANSPORTMaster Data: Deep Transport MDG_MDF_DEEP_TRANSPORTCHAR1MDG_MDF_FLG
WHERE_USEDMaster Data: Where-Used List MDG_MDF_WHERE_USEDCHAR1MDG_MDF_FLG
HRY_STORAGE_TYPEType of Local Hierarchy Storage MDG_MDF_HRY_STORAGE_TYPECHAR1MDG_MDF_HRY_STORAGE_TYPE

Key field Non-key field



How do I retrieve data from SAP structure MDG_MDF_S_LOC_ROLE_MAIN using ABAP code?

As MDG_MDF_S_LOC_ROLE_MAIN 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_LOC_ROLE_MAIN as there is no data to select.

How to access SAP table MDG_MDF_S_LOC_ROLE_MAIN

Within an ECC or HANA version of SAP you can also view further information about MDG_MDF_S_LOC_ROLE_MAIN 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!