SAP MSLB Table in S/4 HANA - Special Stocks with Supplier









MSLB is a standard SAP Table which is used to store Special Stocks with Supplier data and is available within SAP S/4 HANA systems and previous ECC R/3 systems. Below is the technical details and the field list relevant for an SAP S/4 HANA system, see here for details and fields available within the SAP R/3 version of the MSLB table(ECC)

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via SM30: Display/Maintenance Allowed but with Restrictions
Enhancement category: Can be enhanced (character-type or numeric)
Dictionary Type: Transparent table
View reference: NSDM_V_MSLB
DDL Object: NSDM_DDL_MSLB


MSLB data in SAP S/4 Hana is actually from NSDM_E_MSLB_DIFF

MSLB table is actually just a a DDL object CDS view which selects the data from NSDM_E_MSLB_DIFF and presents it as if the table exists. Clever really as this means all ABAP code that performs a select on this table will actually work as if this isna traditional table in SAP.


NSDM_E_MSLB_DIFF used for fields of table MSLB

The data and therefore the actual field list comes from the ddl cds view and are mapped from the source hana table to match the legacy ECC SAP MSLB Table. Below is the CDS code that builds this table view

MSLB table structure field list

Also Below is the traditional view of MSLB field list that makes up the SAP database table structure as you would see it within SE11, including highlighted key fields, description, data type and other technical details of each field

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP SHLP Field
MANDTClientMANDTCLNT3(0) T000MANDT
MATNRMaterial NumberMATNRCHAR40(0) MARAMATN1MATNRMATS_MAT1MATNR
WERKSPlantWERKS_DCHAR4(0) MARCWERKSWRKH_T001W_CWERKS
CHARGBatch NumberCHARG_DCHAR10(0) MCHACHARGCHA
SOBKZSpecial Stock IndicatorSOBKZCHAR1(0) T148SOBKZ
LIFNRAccount Number of Vendor or CreditorLIFNRCHAR10(0) LFA1ALPHALIFNRLIFKRED_CLIFNR
LFGJAFiscal Year of Current PeriodLFGJANUMC4(0) GJAHRGJAHR
LFMONCurrent period (posting period)LFMONNUMC2(0) MONAT
LBSPRPhysical Inventory Blocking IndicatorSPERRCHAR1(0) SPERR
LBLABValuated Unrestricted-Use StockLABSTQUAN13(3) MENG13V
LBINSStock in Quality InspectionINSMEQUAN13(3) MENG13V
LBVLAValuated unrestricted-use stock in previous periodVMLABQUAN13(3) MENG13V
LBVINStock in Quality Inspection in Previous PeriodVMINSQUAN13(3) MENG13V
LBILLPhysical inventory indicator for whse stock in current yearKZILLCHAR3(0) INVKZ
LBILQPhys. inventory ind. f. stock in qual. insp. in current yearKZILQCHAR3(0) INVKZ
LBVLLPhysical inventory indicator for stock in previous yearKZVLLCHAR3(0) INVKZ
LBVLQPhys. inventory ind. f. stock in qual. insp. in prev. periodKZVLQCHAR3(0) INVKZ
LBFLLPhysical inventory indicator for stock in following yearKZFLLCHAR3(0) INVKZ
LBFLQPhysical inventory indicator, quality insp.stck, follow.yr.KZFLQCHAR3(0) INVKZ
LBDLLDate of Last Posted CountDLINLDATS8(0) DATS
LBEINTotal Stock of All Restricted BatchesEINMEQUAN13(3) MENG13V
LBVEIRestricted-Use Stock in Previous PeriodVMEINQUAN13(3) MENG13V
ERSDACreated OnERSDADATS8(0) DATUM
LBJINFiscal year of current physical inventory indicatorGJINVNUMC4(0) GJAHRGJAHR
LBRUEMxxxH rec. already exists for per. before last of Mxxx per.SBRUECHAR1(0) XFELD
LBUMLStock in Transfer for Subcontracting (Plant to Plant)UMLME_OQUAN13(3) MENG13V
SGT_SCATStock SegmentSGT_SCATCHAR40(0) SGT_SRCASGT_SSGT_CAT_FIELD_POPUPVALUE
/CWM/LBLABValuated, Unrestricted-Use Stock in Parallel Unit of Measure/CWM/LBLABQUAN13(3) MENG13V
/CWM/LBINSInspection Stock in Parallel Unit of Measure/CWM/LBINSQUAN13(3) MENG13V
/CWM/LBEINTotal Stock of All Restricted Batches in Parallel UoM/CWM/LBEINQUAN13(3) MENG13V
/CWM/LBUMLStock in Transfer Subcontractor (Plant to Plant) in PUoM/CWM/UMLME_OQUAN13(3) MENG13V
/CWM/LBVLAValuated unrestricted-use stock in previous periodVMLABQUAN13(3) MENG13V
/CWM/LBVINStock in Quality Inspection in Previous PeriodVMINSQUAN13(3) MENG13V
/CWM/LBVEIRestricted-Use Stock in Previous PeriodVMEINQUAN13(3) MENG13V




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!