MDPA SAP (View of planned order/dummy conponents for BOM explosion) Structure details

Dictionary Type: Structure
Description: View of planned order/dummy conponents for BOM explosion




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




Structure field list including key, data, relationships and ABAP select examples

MDPA 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 "View of planned order/dummy conponents for BOM explosion" 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_MDPA TYPE MDPA.

The MDPA table consists of various fields, each holding specific information or linking keys about View of planned order/dummy conponents for BOM explosion data available in SAP. These include PWWRK (Production plant in planned order), LGORT (Storage Location), OBART (Object type), PLNUM (Planned order 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 MDPA 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
MATNRPlanning material PLMATCHAR18Assigned to domainMATN1MATNRMAT
PWWRKProduction plant in planned order PWWRKCHAR4Assigned to domainWERKS
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
OBARTObject type OBARTCHAR1OBART
PLNUMPlanned order number PLNUMCHAR10Assigned to domainALPHAPLNUMPAF
PAARTOrder type PAARTCHAR4PAART
BESKZProcurement Type BESKZCHAR1BESKZMBS
SOBESSpecial procurement type SOBESCHAR1SOBES
GSMNGTotal planned order quantity GSMNGQUAN13(3) MENG13
TLMNGPartial lot quantity TLMNGQUAN13(3) MENG13
AVMNGFixed quantity of scrap from production AVMNGQUAN13(3) MENG13
LAGMEBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
PSTTROrder start date in planned order PSTTRDATS8DATUM
PEDTROrder finish date in the planned order PEDTRDATS8DATUM
UMSKZConversion indicator for planned order PLUMSCHAR1XFELD
KNTTPAccount Assignment Category KNTTPCHAR1Assigned to domainKNTTPKNT
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
KZVBRConsumption Posting KZVBRCHAR1KZVBR
KZBWSValuation of Special Stock KZBWSCHAR1KZBWS
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
PSPELWBS Element PS_POSNRNUMC8Assigned to domainABPSPPS_POSNR
SERNRBOM explosion number SERNRCHAR8Assigned to domainSERNR
PALTRExplosion date PALTRDATS8DATUM
TECHSParameter Variant/Standard Variant TECHSCHAR12TECHS
REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
STLANBOM Usage STLANCHAR1Assigned to domainSTLANCSV
STALTAlternative BOM STALTCHAR2ALPHAALTNR
STSTABOM status STLSTNUMC2Assigned to domainSTLST
FRTHWProduction note in the planned order FRTHWCHAR1FRTHW
AENNRChange Number AENNRCHAR12Assigned to domainAENNRAENNRAEN
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
CUARTSingle-Character Indicator CHAR1CHAR1CHAR1
VERTODistribution key for quantity produced SA_VERTOCHAR4Assigned to domainSA_VERTL
AUSSLException message key AUSSLCHAR2Assigned to domainAUSSL
OLDSLException message key AUSSLCHAR2Assigned to domainAUSSL
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
AUFSTOrder level AUFSTNUMC2AUFST
AUFWGOrder path AUFWGNUMC2AUFWG
BAUSTAssembly order level BAUSTNUMC2AUFST
BAUWGAssembly order path BAUWGNUMC2AUFWG
DISSTLow-Level Code DISSTCHAR3DISST
ALTSLMethod for Selecting Alternative Bills of Material ALTSLCHAR1ALTSL
STLTYBOM category STLTYCHAR1STLTY
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
PRNKZInd.: Leading order in collective order is planned ordre PRNKZCHAR1KREUZ
SBNUMSimulation requirements number SBNUMNUMC10Assigned to domainSBNUM
SBPOSSimulation requirements item number SBPOSNUMC4RSPOS
GSBTRTotal commitment date of plnd ord. after ATP check f.comps. GSBTR_PLAFDATS8DATUM
VFMNGPlanned order: committed quantity VFMNGQUAN13(3) MENG13
MDPBVPlanned order: confirmation of availability MDPBVCHAR1MDPBV
KZAVCIndicator for type of availability check KZAVCCHAR1KZAVC
MTVFPChecking Group for Availability Check MTVFPCHAR2Assigned to domainMTVFP
VRPLAIndicator: planning without final assembly VRPLACHAR1XFELD
KFPOSIndicator: 'configurable item' KFPOSCHAR1XFLAG
DUMPSPhantom item indicator DUMPSCHAR1XFELD
AUFPL_ORDRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZL_ORDGeneral counter for order CO_APLZLNUMC8Assigned to domainCO_APLZL
WAMNGIssued Quantity WAMNGQUAN13(3) MENG13
WEMNGQuantity of Goods Received WEMNGQUAN13(3) MENG13
EDGNOInternal number for edge of object dependencies tree EDGNONUMC17Assigned to domainEDGNO
FLIEFFixed Vendor FLIEFCHAR10Assigned to domainALPHALIFNR
PLSCNPlanning Scenario of Long-Term Planning PLSCNNUMC3Assigned to domainPLSCNPLS
PLWRKPlanning Plant PLWRKCHAR4Assigned to domainWERKSWRK
BERIDMRP Area BERIDCHAR10Assigned to domainBERIDBERID
ARSNRSettlement reservation number ARSNRNUMC10MDNUM
EMLIFVendor to be supplied/who is to receive delivery EMLIFCHAR10Assigned to domainALPHALIFNR
STAEXStatus information on BOM explosion in planned order MD_STAEXCHAR2MD_STAEX
.INCLU--AP 0
SERRUType of subcontracting SERRUCHAR1SERRUSERRU
ANZSNNumber of serial numbers ANZSNINT410INT4
DISUB_SOBKZSpecial stock indicator Subcontracting DISUB_SOBKZ_LBCHAR1DISUB_SOBKZ_LB
DISUB_PSPNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
DISUB_KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
DISUB_VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
DISUB_POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
DISUB_OWNEROwner of stock OWNER_DCHAR10Assigned to domainALPHALIFNR
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP

Key field Non-key field



How do I retrieve data from SAP structure MDPA using ABAP code?

As MDPA 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 MDPA as there is no data to select.

How to access SAP table MDPA

Within an ECC or HANA version of SAP you can also view further information about MDPA 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!