MCH_MPOS SAP (Maintenance Items) Structure details
Description: Maintenance Items
Structure field list including key, data, relationships and ABAP select examples
MCH_MPOS 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 "Maintenance Items" 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_MCH_MPOS TYPE MCH_MPOS.
The MCH_MPOS table consists of various fields, each holding specific information or linking keys about Maintenance Items data available in SAP. These include WAPOS (Maintenance item), WARPL (Maintenance Plan), PSTXT (Item Short Text), EQUNR (Equipment 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 MCH_MPOS 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
WAPOS | Maintenance item | WAPOS | CHAR | 16 | ALPHA | POSNU | MPS | MPOSL | |
WARPL | Maintenance Plan | WARPL | CHAR | 12 | Assigned to domain | ALPHA | WARPL | MPL | MPLAL |
PSTXT | Item Short Text | POSTXT | CHAR | 40 | TEXT40 | ||||
EQUNR | Equipment Number | EQUNR | CHAR | 18 | EQUI | ALPHA | EQUNR | EQN | EQUI |
PLNTY | Task List Type | PLNTY | CHAR | 1 | TCA01 | PLNTY | PTY | H_TCA01 | |
PLNNR | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
PLNAL | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
WPGRP | Planner Group for Customer Service and Plant Maintenance | INGRP | CHAR | 3 | T024I | INGRP | IHG | ||
IWERK | Maintenance Planning Plant | IWERK | CHAR | 4 | T399I | WERKS | IWK | ||
BAUTL | Assembly | BAUTL | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
ANLZU | Syst.Condition | ANLZU | CHAR | 1 | Assigned to domain | ANLZU | |||
AUART | Order Type | AUFART | CHAR | 4 | T003O | AUFART | AAT | ||
ILART | Maintenance activity type | ILA | CHAR | 3 | T353I | ILART | H_T350I | ||
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
PRIOK | Priority | PRIOK | CHAR | 1 | T356 | PRIOK | PRIOK | ||
PSPEL | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
KDAUF | Sales Document | VBELN_VA | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Sales Document Item | POSNR_VA | NUMC | 6 | Assigned to domain | POSNR | APO | ||
BSTNR | Purchase Order Number | BSTNR | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | |
BSTPO | Purchase Order Item Number | BSTPO | NUMC | 5 | Assigned to domain | EBELP | |||
SERIALNR | Serial Number | GERNR | CHAR | 18 | GERNR | GERNR | SER | ||
SERMAT | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
DEVICEID | Additional Device Data | DEVICEID | CHAR | 40 | DEVICEID | ||||
TPLNR | Functional Location | TPLNR | CHAR | 30 | IFLOT | TPLNR | TPLNR | IFL | IFLM |
ARBPL | Work center | ARBPL | CHAR | 8 | ARBPL | AGR | |||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
QMART | Notification Type | QMART | CHAR | 2 | Assigned to domain | QMART | QMR | ||
APFKT | Execution factor for whole task list | APFKT | DEC | 3 | AFAKT | ||||
CYCLESEQIND | Cycle set sequence | CYCLESEQIND | NUMC | 2 | NUMC2 | ||||
TASK_DETERMINE | Automatic task determination in the notification | TASK_DETERMINE | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure MCH_MPOS using ABAP code?
As MCH_MPOS 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 MCH_MPOS as there is no data to select.How to access SAP table MCH_MPOS
Within an ECC or HANA version of SAP you can also view further information about MCH_MPOS 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