MPOS SAP (Maintenance item) Table details
Dictionary Type: Table
Description: Maintenance item
Description: Maintenance item
Table field list including key, data, relationships and ABAP select examples
MPOS is a standard SAP Table which is used to store Maintenance item data and is available within R/3 SAP systems depending on the version and release level.
The MPOS table consists of various fields, each holding specific information or linking keys about Maintenance item data available in SAP. These include WAPOS (Maintenance item), WARPL (Maintenance Plan), WSTRA (Maintenance strategy), WPPOS (Item in the maintenance plan).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP MPOS table 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 | MPLA | ALPHA | WARPL | MPL | MPLAL |
WSTRA | Maintenance strategy | STRAT | CHAR | 6 | T351 | WSTRA | STR | STRAA | |
WPPOS | Item in the maintenance plan | WPPOS | NUMC | 4 | WPPOS | ||||
PSTXT | Item Short Text | POSTXT | CHAR | 40 | TEXT40 | ||||
EQUNR | Equipment Number | EQUNR | CHAR | 18 | EQUI | ALPHA | EQUNR | EQN | EQUI |
OBKNR | Object list number | OBJKNR | INT4 | 10 | Assigned to domain | OBJKN | |||
ERKNZ | Creation indicator | ERKNZ | CHAR | 1 | FLAG | ||||
AEKNZ | Change indicator | AEKNZ | CHAR | 1 | FLAG | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
ERSDT | Date of creation | EDATUM | DATS | 8 | DATUM | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
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 | ||
STATUS | Maintenance Item Status | MPSTAT | CHAR | 1 | FLAG | ||||
LTKNZ | Long Text Indicator | MPLTX | CHAR | 1 | XFELD | ||||
WPGRP | Planner Group for Customer Service and Plant Maintenance | INGRP | CHAR | 3 | T024I | INGRP | IHG | ||
OBJTY | Object types of the CIM resource | CR_OBJTY | CHAR | 2 | CR_OBJTY | ||||
GEWRK | Object ID of the Work Center | LGWID | NUMC | 8 | CRID | CR_OBJID | |||
IWERK | Maintenance Planning Plant | IWERK | CHAR | 4 | T399I | WERKS | IWK | ||
LANGU | Language key of the long text | MPLANGU | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
ILOAN | Location and account assignment for technical object | ILOAN | CHAR | 12 | ILOA | ILOAN | |||
ILOAI | ILOA Individual | ILOAI | CHAR | 1 | X | ||||
LAUFN | Order number | LAUFN | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
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 | ||
INACT | Indicator that maintenance item is inactive | INACT | CHAR | 1 | FLAG | ||||
ILART | Maintenance activity type | ILA | CHAR | 3 | T353I | ILART | H_T350I | ||
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
OBJNR | Object number | J_OBJNR | CHAR | 22 | ONR00 | J_OBJNR | ONR | ||
IND_ABRVO | Indicator showing settlement rule maintained | IND_ABRVO | CHAR | 1 | CHAR01 | ||||
PSPEL | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
STD_NETZ | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
STD_AVO | Number of the task list node | PLNKN | NUMC | 8 | KNTNR | ||||
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 | ||
MITYP | Maintenance item category | MITYP | CHAR | 2 | T399P | CHAR2 | |||
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 | |||
PACKNO | Package number | PACKNO | NUMC | 10 | Assigned to domain | PACKNO | |||
NETPR | Net price | NETPR | CURR | 11(2) | WERTV6 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
SAKTO | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
AUFNR | Settlement order | ILOM_ORDST | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ORDE | |
APFKT | Execution factor for whole task list | APFKT | DEC | 3 | AFAKT | ||||
SCRRENTY | SCREEN TYPE: for order-order category (see domain) | SCREENTY | CHAR | 4 | CHAR4 | ||||
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 | ||||
QMNUM | Notification No | QMNUM | CHAR | 12 | QMEL | ALPHA | QMNUM | IQM | |
QMART | Notification Type | QMART | CHAR | 2 | TQ80 | QMART | QMR | ||
LBLNI | Entry Sheet Number | LBLNI | CHAR | 10 | Assigned to domain | ALPHA | LBLNI | LBL | ESSR |
TASK_DETERMINE | Automatic task determination in the notification | TASK_DETERMINE | CHAR | 1 | CHAR1 | ||||
PRIOK | Priority | PRIOK | CHAR | 1 | T356 | PRIOK | PRIOK | ||
QMKAT | Catalog Type - Coding | QMKAT | CHAR | 1 | Assigned to domain | QKATART | |||
QMGRP | Code Group - Coding | QMGRP | CHAR | 8 | Assigned to domain | QCODEGRP | |||
QMCOD | Coding | QMCOD | CHAR | 4 | Assigned to domain | QCODE | |||
PHYNR | Physical Sample Number | QPHYSPRNR | CHAR | 12 | Assigned to domain | ALPHA | QPHYSPRNR | QPN | |
ART | Inspection Type | QPART | CHAR | 8 | Assigned to domain | QPART | QLA | ||
PRUEFLOS | Inspection Lot Number | QPLOS | NUMC | 12 | Assigned to domain | QPLOS | QLS | QALS | |
TSTMP_BW | Time Stamp for BI Delta Extraction | TSTMP_BW_EXT | DEC | 16 | RKE_TSTMP | ||||
NO_AUFRELKZ | Do Not Release Immediately | NO_AUFRELKZ | CHAR | 1 | XFELD | ||||
.INCLU--AP | 0 | ||||||||
DESNUM | CU: Design Number | /CUM/DESNUM | CHAR | 12 | Assigned to domain | ALPHA | /CUM/DESNUM | /CUM/DESNUM | |
.INCLU--AP | 0 | ||||||||
CYCLESEQIND | Cycle Set Sequence | CYCLESETSEQ | NUMC | 2 | NUMC2 | ||||
ADPSP | Reference Element PM/PS | ADDCOMPARE_CORE | CHAR | 40 | Assigned to domain | ADDCOMPARE_CORE | ADCP | ||
IND_MPOS_API | Maintenance Item Was Created/Changed by API | IND_MPOS_API | CHAR | 2 | IND_API |
Key field | Non-key field |
How do I retrieve data from SAP table MPOS using ABAP code
The following ABAP code Example will allow you to do a basic selection on MPOS to SELECT all data from the tableDATA: WA_MPOS TYPE MPOS.
SELECT SINGLE *
FROM MPOS
INTO CORRESPONDING FIELDS OF WA_MPOS
WHERE...
How to access SAP table MPOS
Within an ECC or HANA version of SAP you can also view further information about 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