MCP6_MAKRO SAP (Macros) Structure details
Description: Macros
Structure field list including key, data, relationships and ABAP select examples
MCP6_MAKRO 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 "Macros" 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_MCP6_MAKRO TYPE MCP6_MAKRO.
The MCP6_MAKRO table consists of various fields, each holding specific information or linking keys about Macros data available in SAP. These include SCTYP (Planning type), MAKRO (Macro name), CALFD (Sequence in which the macro is processed), Z1 (Matrix line number).. 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 or numeric)
SAP MCP6_MAKRO 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 |
SCTYP | Planning type | SCTYP | CHAR | 11 | T445P | SCTYP | PTS | ||
MAKRO | Macro name | MNAME | CHAR | 10 | T445N | MNAME | |||
CALFD | Sequence in which the macro is processed | CALFD | NUMC | 10 | NUMC10 | ||||
Z1 | Matrix line number | MXROW | INT4 | 10 | INT4 | ||||
O1 | Matrix column | MXCOL | INT4 | 10 | INT4 | ||||
OP | Operator | OPERAT | CHAR | 2 | OPERAT | ||||
Z2 | Matrix line number | MXROW | INT4 | 10 | INT4 | ||||
O2 | Matrix column | MXCOL | INT4 | 10 | INT4 | ||||
WERT | Matrix element value | MXVAL | FLTP | 16(16) | FLTP | ||||
Z3 | Matrix line number | MXROW | INT4 | 10 | INT4 | ||||
SUTYP | Planning type | SCTYP | CHAR | 11 | Assigned to domain | SCTYP | PTS | ||
SUMAK | Macro name | MNAME | CHAR | 10 | Assigned to domain | MNAME | |||
GRPZE | Number of the routine used for copying | GRPNO | NUMC | 3 | Assigned to domain | GRPNO | |||
GRPNO | Number of the routine used for copying | GRPNO | NUMC | 3 | Assigned to domain | GRPNO | |||
ARKZ1 | Absolute/relative indicator | AREKZ | CHAR | 1 | CHAR01 | ||||
ARKZ2 | Absolute/relative indicator | AREKZ | CHAR | 1 | CHAR01 | ||||
ARKZ3 | Absolute/relative indicator | AREKZ | CHAR | 1 | CHAR01 | ||||
RELE1 | Repetition length | RELEN | INT2 | 5 | INT2 | ||||
VAFUN | Name of Function Module | RS38L_FNAM | CHAR | 30 | TFDIR | FUNCNAME | LIB | ||
EHBA1 | Indicator: conversion to structural unit | EHBAS | CHAR | 1 | CHAR01 | ||||
EHBA2 | Indicator: conversion to structural unit | EHBAS | CHAR | 1 | CHAR01 | ||||
EHBA3 | Indicator: conversion to structural unit | EHBAS | CHAR | 1 | CHAR01 | ||||
EHBA4 | Indicator: conversion to structural unit | EHBAS | CHAR | 1 | CHAR01 | ||||
RELE2 | Repetition length | RELEN | INT2 | 5 | INT2 | ||||
RELE3 | Repetition length | RELEN | INT2 | 5 | INT2 | ||||
DISKZ | Indicator: macro to perform disaggregation | DISMA | CHAR | 1 | CHAR01 | ||||
MARKZ | Indicator: column selection is relevant | MARKZ | CHAR | 1 | CHAR01 | ||||
OPTYP | Type of arithmetic function | MCP6_OPTYP | CHAR | 2 | CHAR2 | ||||
PLOBJ | Planning object | PLOBJ | CHAR | 18 | CHAR18 |
Key field | Non-key field |
How do I retrieve data from SAP structure MCP6_MAKRO using ABAP code?
As MCP6_MAKRO 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 MCP6_MAKRO as there is no data to select.How to access SAP table MCP6_MAKRO
Within an ECC or HANA version of SAP you can also view further information about MCP6_MAKRO 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