MCS04 SAP (Structure for Table of Drill-Down Function Codes) Structure details
Description: Structure for Table of Drill-Down Function Codes
Structure field list including key, data, relationships and ABAP select examples
MCS04 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 "Structure for Table of Drill-Down Function Codes" 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_MCS04 TYPE MCS04.
The MCS04 table consists of various fields, each holding specific information or linking keys about Structure for Table of Drill-Down Function Codes data available in SAP. These include DDICFELD (Field Name), TABFELD (Field name), RANGES_SUF (R/2 table), DOMNAME (Domain name).. 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)
SAP MCS04 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 |
FCODE | Function Code | FCODE | CHAR | 20 | FCODE | ||||
DDICFELD | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
TABFELD | Field name | FNAME_D | CHAR | 30 | CHAR30 | ||||
RANGES_SUF | R/2 table | CHAR5 | CHAR | 5 | CHAR5 | ||||
DOMNAME | Domain name | DOMNAME | CHAR | 30 | Assigned to domain | DOMNAME | DD_DOMA | ||
ROLLNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
OUTPUTLEN | Output Length | OUTPUTLEN | NUMC | 6 | DDLENG | ||||
MEMORYID | Set/Get parameter ID | MEMORYID | CHAR | 20 | Assigned to domain | MEMORYID | |||
REPTEXT | Heading | REPTEXT | CHAR | 55 | REPTEXT | ||||
SCRTEXT_L | Long Field Label | SCRTEXT_L | CHAR | 40 | SCRTEXT_L | ||||
SCRTEXT_M | Medium Field Label | SCRTEXT_M | CHAR | 20 | SCRTEXT_M | ||||
SCRTEXT_S | Short Field Label | SCRTEXT_S | CHAR | 10 | SCRTEXT_S | ||||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
KEYFLAG | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
ROLLNAME01 | Name of data element to be included in chain (preceding DE) | MCRNAME_01 | CHAR | 30 | Assigned to domain | ROLLNAME | |||
LISTE_NEU_AUFBAUEN | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
KETT_AKT | Characteristic chain is active | KETT_AKT | CHAR | 1 | QKZ |
Key field | Non-key field |
How do I retrieve data from SAP structure MCS04 using ABAP code?
As MCS04 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 MCS04 as there is no data to select.How to access SAP table MCS04
Within an ECC or HANA version of SAP you can also view further information about MCS04 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