V_PEG_MDRS SAP (Generated Table for View) Table View details

Dictionary Type: Table View
Description: Generated Table for View




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




Table View field list including key, data, relationships and ABAP select examples

V_PEG_MDRS is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.

The V_PEG_MDRS table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include RSNUM (Number of Reservation/Dependent Requirement), RSPOS (Item Number of Reservation/Dependent Requirement), RSART (Record type), BDART (Requirement type).. 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: Not classified


SAP V_PEG_MDRS table view 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
MANDTClient MANDTCLNT3T000MANDT
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10RSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
RSARTRecord type RSARTCHAR1RSART
BDARTRequirement type BDARTCHAR2BDARTBDA
UPSKZIndicator: sub-items exist UPSKZCHAR1XFELD
SCHGTIndicator: Bulk Material SCHGTCHAR1XFELD
TXTPSItem text indicator TXTPSCHAR1XFELD
DUMPSPhantom item indicator DUMPSCHAR1XFELD
KFPOSIndicator: 'configurable item' KFPOSCHAR1XFLAG
DBSKZDirect procurement indicator DBSKZCHAR1DBSKZ
XLOEKItem is Deleted XLOEKCHAR1XFELD
XWAOKGoods Movement for Reservation Allowed XWAOKCHAR1XFELD
KZEARFinal Issue for This Reservation KZEARCHAR1XFELD
RSSTAStatus of reservation RSSTACHAR1STATR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
CHARGBatch Number CHARG_DCHAR10MCHACHARGCHA
KNTTPAccount Assignment Category KNTTPCHAR1T163KKNTTPKNT
SOBKZSpecial Stock Indicator SOBKZCHAR1T148SOBKZ
KZVBRConsumption Posting KZVBRCHAR1KZVBR
BDTERRequirement Date for the Component BDTERDATS8DATUM
NLFZTLead-time offset NLFZTDEC3NLFZT
BDMNGRequirement Quantity BDMNGQUAN13(3) MENG13
ALPOSAlternative item indicator ALTPSCHAR1XFELD
EWAHRUsage probability in % (alternative item) EWAHRDEC3DEC3
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
ENMNGQuantity Withdrawn ENMNGQUAN13(3) MENG13
BAUGRMaterial number of higher-level assembly BAUGRCHAR18MARAMATN1MATNR
SERNRBOM explosion number SERNRCHAR8SNUMSERNR
KDAUFSales Order Number KDAUFCHAR10VBUKALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
PSPELWBS Element PS_POSNRNUMC8ABPSPPS_POSNR
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
PLNUMPlanned order number PLNUMCHAR10PLAFALPHAPLNUMPAF
BANFNPurchase Requisition Number BANFNCHAR10ALPHABANFNBANMBAN_C
BNFPOItem Number of Purchase Requisition BNFPONUMC5EBANBNFPOBAP
EBELNPurchasing Document Number EBELNCHAR10EKKOALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5EKPOEBELPBSP
EBELEDelivery Schedule Line Counter EETENNUMC4EKETEETEN
AUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
AUFPSOrder item number AUFPSCHAR2CHAR2
UMWRKReceiving/Issuing Plant UMWRKCHAR4T001WWERKS
UMLGOReceiving/Issuing Storage Location UMLGOCHAR4T001LLGORT
KZAUSDiscontinuation type AUSLFCHAR1AUSLF
NFEAGDiscontinuation group CS_NFEAGCHAR2CHAR2
NFGRPFollow-up group CS_NFGRPCHAR2CHAR2
NFPKZIndicator: Follow-Up Item CS_KZNFPCHAR1XFELD
NAFKZIndicator: follow-up material active/not active NAFKZCHAR1XFELD
NOMNGRequired quantity NOMNGQUAN13(3) MENG13
NFUMLNOT USED: Quantity transfer factor for follow-up material NFUMLDEC5(4) NFUML
NOMATFollow-Up/Original Material NOMATCHAR18MARAMATN1MATNR
POSTPItem Category (Bill of Material) POSTPCHAR1T418POSTP
POSNRBOM item number APOSNCHAR4NUMCVSPOSN
SBTERLatest requirements date SBTERDATS8DATUM
VERTIMRP Distribution Key SA_VERTLCHAR4T437VSA_VERTL
VMENGConfirmed quantity for availability check in SKU VMENGQUAN15(3) MENG15
NDISPEffective for Materials Planning NO_DISP_PLUSCHAR1NO_DISP_PLUS
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
XFEHLMissing Part XFEHLCHAR1XFELD
PBDNRRequirements Plan Number PBDNRCHAR10CHAR10PBN
VRPLAIndicator: planning without final assembly VRPLACHAR1XFELD
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
UMREZNumerator for Conversion to Base Units of Measure UMREZDEC5UMBSZ
UMRENDenominator for conversion to base units of measure UMRENDEC5UMBSN
ERFMEUnit of Entry ERFMEUNIT3T006CUNITMEINS
ERFMGQuantity in Unit of Entry ERFMGQUAN13(3) MENG13
KZBWSValuation of Special Stock KZBWSCHAR1KZBWS
TECHSParameter Variant/Standard Variant TECHSCHAR12TECHS
REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
BWARTMovement Type (Inventory Management) BWARTCHAR3T156BWARTBWA
UMSOKSpecial Stock Indicator for Physical Stock Transfer UMSOKCHAR1SOBKZ
STLTYBOM category STLTYCHAR1STLTY
STLKNBOM item node number STLKNNUMC8KNTNR
STPOZInternal counter CIM_COUNTNUMC8CIM_COUNT
VORABInd: Preliminary order VORABKZCHAR1XFELD
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT

Key field Non-key field



How do I retrieve data from SAP table V_PEG_MDRS using ABAP code

The following ABAP code Example will allow you to do a basic selection on V_PEG_MDRS to SELECT all data from the table
DATA: WA_V_PEG_MDRS TYPE V_PEG_MDRS.

SELECT SINGLE *
FROM V_PEG_MDRS
INTO CORRESPONDING FIELDS OF WA_V_PEG_MDRS
WHERE...

How to access SAP table V_PEG_MDRS

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