MCP6_LI SAP (Lines Index: Planning Matrix) Structure details
Description: Lines Index: Planning Matrix
Structure field list including key, data, relationships and ABAP select examples
MCP6_LI 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 "Lines Index: Planning Matrix" 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_LI TYPE MCP6_LI.
The MCP6_LI table consists of various fields, each holding specific information or linking keys about Lines Index: Planning Matrix data available in SAP. These include LINE (Matrix line number), LINETYPE (Line category), KRIT1 (Planning object), FNAME (Field 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 or numeric)
SAP MCP6_LI 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 |
BLOCKID | Area in planning screen | BLOKZ | CHAR | 1 | CHAR1 | ||||
LINE | Matrix line number | MXROW | INT4 | 10 | INT4 | ||||
LINETYPE | Line category | LINET | CHAR | 1 | CHAR1 | ||||
KRIT1 | Planning object | PLOBJ | CHAR | 18 | CHAR18 | ||||
FNAME | Field Name | CHAR21 | CHAR | 21 | CHAR21 | ||||
TABHK | Generated DDIC table for LIS, conditions, messages | GSTRU | CHAR | 30 | Assigned to domain | AS4TAB | |||
FELDH | Field name in the generated DDIC structure | STFNA | CHAR | 30 | Assigned to domain | FDNAME | |||
LINKZ | Text indicator: SOP | LINKZ | CHAR | 10 | CHAR10 | ||||
INFUN | Name of Function Module | RS38L_FNAM | CHAR | 30 | TFDIR | FUNCNAME | LIB | ||
OUFUN | Name of Function Module | RS38L_FNAM | CHAR | 30 | TFDIR | FUNCNAME | LIB | ||
VGFUN | Name of Function Module | RS38L_FNAM | CHAR | 30 | TFDIR | FUNCNAME | LIB | ||
FLGIS | Indicator: actual data | FLGIS | CHAR | 1 | CHAR01 | ||||
FLGEV | Indicator: event | FLGEV | CHAR | 1 | CHAR01 | ||||
FLGFC | Indicator: forecast is possible | FLGFC | CHAR | 1 | XFLAG | ||||
FLGVI | Indicator: copy from SIS | FLGVI | CHAR | 1 | XFLAG | ||||
FLGDS | Indicator: structural aggregation | FLGDS | CHAR | 1 | FLGDS | ||||
FLGDZ | Time-based disaggregation, carried out proportionally | FLGDZ | CHAR | 1 | XFLAG | ||||
NKFIX | Cut off places after decimal point | NKFIX | CHAR | 1 | X | ||||
ANZNK | Number of decimal places | ANZNK | INT1 | 3 | ANZNK | ||||
DDICT | Line text: SOP | LINTX | CHAR | 60 | LINTX | ||||
FREET | Line text: SOP | LINTX | CHAR | 60 | LINTX | ||||
PLOBT | Line text: SOP | LINTX | CHAR | 60 | LINTX | ||||
LTEXT | Indicator: line description | LDESC | CHAR | 1 | CHAR01 | ||||
PFIELD | Field Name | CHAR21 | CHAR | 21 | CHAR21 | ||||
DOMNAME | Domain name | DOMNAME | CHAR | 30 | Assigned to domain | DOMNAME | DD_DOMA | ||
PMATF | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
RETYP | Repetition type | REPTY | CHAR | 1 | CHAR01 | ||||
RELEN | Repetition length | RELEN | INT2 | 5 | INT2 | ||||
BASRE | Matrix line number | MXROW | INT4 | 10 | INT4 | ||||
STRUL | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
OBLIG | Entries in the Field | SCRFFOBL | CHAR | 1 | SCRPFOBL | ||||
INPUT | Input expected for this field | SCRFFEIN | CHAR | 1 | SCRPFLAG | ||||
OUTPUT | Output expected for this field | SCRFFOUT | CHAR | 1 | SCRPFLAG | ||||
INTENS | Display bright | SCRFHELL | CHAR | 1 | SCRPFLAG | ||||
HIDDEN | Invisible display | SCRFUNSI | CHAR | 1 | SCRPFLAG | ||||
LENGTH | Defined field length on screen | SCRLENGTH | RAW | 1 | HEX01 | ||||
AWAHL | Indicator for selection of a field | AWAHL | CHAR | 1 | XFLAG | ||||
FLGPG | Flag: regenerate planning object text | FLGPG | CHAR | 1 | CHAR01 | ||||
ELINE | Matrix line number | MXROW | INT4 | 10 | INT4 | ||||
EFNAME | Field name in the generated DDIC structure | STFNA | CHAR | 30 | Assigned to domain | FDNAME | |||
KAPALI | Line number | DZEILN | NUMC | 10 | NUMC10 | ||||
MARKED | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure MCP6_LI using ABAP code?
As MCP6_LI 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_LI as there is no data to select.How to access SAP table MCP6_LI
Within an ECC or HANA version of SAP you can also view further information about MCP6_LI 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