SAP WRPL Replenishment: quantities per customer/material Table data and field list

WRPL is a standard SAP Table which is used to store Replenishment: quantities per customer/material data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The WRPL table consists of various fields, each holding specific information or linking keys about Replenishment: quantities per customer/material data available in SAP. These include KUNNR (Recipient), MATNR (Material Number), STOCK (- obsolete -), SOBST (Target stock at recipient)... 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. .

WRPL table Technical Details:

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 WRPL table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the WRPL table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
KUNNRRecipient WRKUNNRCHAR10KNA1ALPHAKUNNRKUN
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
STOCK- obsolete - WRQUAN_OLDQUAN13(3) MENG13
SOBSTTarget stock at recipient WRSOBSTQUAN13(3) MENG13
MABST- obsolete - WRQUAN_OLDQUAN13(3) MENG13
MINBEReorder point WRMINBEQUAN13(3) MENG13
EISBESafety Stock EISBEQUAN13(3) MENG13
MEINS- obsolete - WRUNIT_OLDUNIT3Assigned to domainCUNITMEINS
PERAN- obsolete - WRDEC3_OLDDEC3DEC3
ANZPR- obsolete - WRDEC3_OLDDEC3DEC3
PRMOD- obsolete - WRCHR1_OLDCHAR1CHAR1
CHNGE- obsolete - WRCHR1_OLDCHAR1CHAR1
EXFLG- obsolete - WRCHR1_OLDCHAR1CHAR1
NIMGTUse Replenishment-Based Inventory Management WRNIMGTCHAR1BOOLE
NGRCTCorrect replenishment stock against document quantity WRNGRCTCHAR1BOOLE
DISMMMRP Type DISMMCHAR2T438ADISMM
PRWUGMinimum target stock WRPRWUGQUAN13(3) MENG13
PRWOGMaximum target stock WRPRWOGQUAN13(3) MENG13
TRCOVTarget range of coverage WRANZPRDEC3PERAN
.INCLU--AP 0
SRP_MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
SRP_BFLMEGeneric Material with Logistical Variants BFLMECHAR1BFLME
SRP_PLIFZPlanned Delivery Time in Days PLIFZDEC3DEC3
SRP_WEBAZGoods Receipt Processing Time in Days WEBAZDEC3DEC3
SRP_LFRHYPlanning cycle LFRHYCHAR3Assigned to domainMRPPP
SRP_PERKZPeriod Indicator PERKZCHAR1PERKZPKZ
SRP_PERIVFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
SRP_WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
SRP_RESWKSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4Assigned to domainWERKS
SRP_LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
SRP_MDRELFlag: Relevance of Merchandise Distribution in RESWK WSRP_DC_MDRELCHAR1CHAR1_X
SRP_EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
SRP_WBTYPDefault doc. category, store order inbound - replenishment VWWSBTYPVOCHAR1VWWSBTYPVO
SRP_ATPFLGRun ATP Check WSRP_ATPFLGCHAR1CHAR1_X
SRP_RLTFLGInclude Replenishment Lead-Time in ATP Check WSRP_RLTFLGCHAR1CHAR1_X
SRP_DYNTSCalculate Target Stock Dynamically WSRP_DYNTSCHAR1CHAR1_X
SRP_BZTEKProcessing time required by purchasing department BZTEKNUMC2BZTEK
SRP_MENGUQuantity Updating in Material Master Record MENGUCHAR1XFELD
SRP_HEADMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
SRP_IMFLGStore Replenishment: MM-Based Inventory Management Active WSRP_IMFLGCHAR1CHECKBOX
SRP_WBZFLGInclude Default Replenishment Lead-Time WSRP_WBZFLGCHAR1CHAR1_X
SRP_VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
SRP_VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SRP_SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
SRP_INFLSRead customer-material info record ? INFLSCHAR1XFELD
SRP_DEFQTUNITDefault Unit of Measure WSRP_DEFQTUNITUNIT3Assigned to domainCUNITMEINS
SRP_VENUNITGRVendor Unit of Measure Group WSRP_VENUNITGRCHAR4CHAR4
SRP_BUYUNITGRRecipient Unit of Measure Group WSRP_BUYUNITGRCHAR4CHAR4
SRP_RDPRFRounding Profile RDPRFCHAR4Assigned to domainRDPRF
SRP_MAXQTMaximum quantity MDR1MAXQTDEC30(14) MDR1PACK16DEC14
SRP_MINQTMinimum quantity MDR1MINQTDEC30(14) MDR1PACK16DEC14
SRP_MAMIQTUNITUnit of Measure for Minimum and Maximum Quantity WSRP_MAMIQTUNITUNIT3Assigned to domainCUNITMEINS
SRP_VABMEVariable Purchase Order Unit Active VABMECHAR1VABME
SRP_BSTRFRounding value for purchase order quantity BSTRFQUAN13(3) MENG13
SRP_VAVMEVariable Sales Unit Not Allowed VAVMECHAR1XFELD
SRP_SCMNGIncrement for SD Rounding Proc. in Sales Document Category WSRP_SCMNGQUAN13(3)
SRP_SCHMEUnit of Measure for Increment WSRP_SCHMEUNIT3Assigned to domainCUNITMEINS
SRP_PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP

Key field Non-key field



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

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

SELECT SINGLE *
FROM WRPL
INTO CORRESPONDING FIELDS OF WA_WRPL
WHERE...

How to access SAP table WRPL

Within an ECC or HANA version of SAP you can also view further information about WRPL and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).