MCP6_MAKRO SAP (Macros) Structure details

Dictionary Type: Structure
Description: Macros




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




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
SCTYPPlanning type SCTYPCHAR11T445PSCTYPPTS
MAKROMacro name MNAMECHAR10T445NMNAME
CALFDSequence in which the macro is processed CALFDNUMC10NUMC10
Z1Matrix line number MXROWINT410INT4
O1Matrix column MXCOLINT410INT4
OPOperator OPERATCHAR2OPERAT
Z2Matrix line number MXROWINT410INT4
O2Matrix column MXCOLINT410INT4
WERTMatrix element value MXVALFLTP16(16) FLTP
Z3Matrix line number MXROWINT410INT4
SUTYPPlanning type SCTYPCHAR11Assigned to domainSCTYPPTS
SUMAKMacro name MNAMECHAR10Assigned to domainMNAME
GRPZENumber of the routine used for copying GRPNONUMC3Assigned to domainGRPNO
GRPNONumber of the routine used for copying GRPNONUMC3Assigned to domainGRPNO
ARKZ1Absolute/relative indicator AREKZCHAR1CHAR01
ARKZ2Absolute/relative indicator AREKZCHAR1CHAR01
ARKZ3Absolute/relative indicator AREKZCHAR1CHAR01
RELE1Repetition length RELENINT25INT2
VAFUNName of Function Module RS38L_FNAMCHAR30TFDIRFUNCNAMELIB
EHBA1Indicator: conversion to structural unit EHBASCHAR1CHAR01
EHBA2Indicator: conversion to structural unit EHBASCHAR1CHAR01
EHBA3Indicator: conversion to structural unit EHBASCHAR1CHAR01
EHBA4Indicator: conversion to structural unit EHBASCHAR1CHAR01
RELE2Repetition length RELENINT25INT2
RELE3Repetition length RELENINT25INT2
DISKZIndicator: macro to perform disaggregation DISMACHAR1CHAR01
MARKZIndicator: column selection is relevant MARKZCHAR1CHAR01
OPTYPType of arithmetic function MCP6_OPTYPCHAR2CHAR2
PLOBJPlanning object PLOBJCHAR18CHAR18

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