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 viewMSLB 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 |
MANDT | Client | MANDT | CLNT | 3(0) | T000 | MANDT | ||||
MATNR | Material Number | MATNR | CHAR | 40(0) | MARA | MATN1 | MATNR | MAT | S_MAT1 | MATNR |
WERKS | Plant | WERKS_D | CHAR | 4(0) | MARC | WERKS | WRK | H_T001W_C | WERKS | |
CHARG | Batch Number | CHARG_D | CHAR | 10(0) | MCHA | CHARG | CHA | |||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1(0) | T148 | SOBKZ | ||||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10(0) | LFA1 | ALPHA | LIFNR | LIF | KRED_C | LIFNR |
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4(0) | GJAHR | GJAHR | ||||
LFMON | Current period (posting period) | LFMON | NUMC | 2(0) | MONAT | |||||
LBSPR | Physical Inventory Blocking Indicator | SPERR | CHAR | 1(0) | SPERR | |||||
LBLAB | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | |||||
LBINS | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | |||||
LBVLA | Valuated unrestricted-use stock in previous period | VMLAB | QUAN | 13(3) | MENG13V | |||||
LBVIN | Stock in Quality Inspection in Previous Period | VMINS | QUAN | 13(3) | MENG13V | |||||
LBILL | Physical inventory indicator for whse stock in current year | KZILL | CHAR | 3(0) | INVKZ | |||||
LBILQ | Phys. inventory ind. f. stock in qual. insp. in current year | KZILQ | CHAR | 3(0) | INVKZ | |||||
LBVLL | Physical inventory indicator for stock in previous year | KZVLL | CHAR | 3(0) | INVKZ | |||||
LBVLQ | Phys. inventory ind. f. stock in qual. insp. in prev. period | KZVLQ | CHAR | 3(0) | INVKZ | |||||
LBFLL | Physical inventory indicator for stock in following year | KZFLL | CHAR | 3(0) | INVKZ | |||||
LBFLQ | Physical inventory indicator, quality insp.stck, follow.yr. | KZFLQ | CHAR | 3(0) | INVKZ | |||||
LBDLL | Date of Last Posted Count | DLINL | DATS | 8(0) | DATS | |||||
LBEIN | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | |||||
LBVEI | Restricted-Use Stock in Previous Period | VMEIN | QUAN | 13(3) | MENG13V | |||||
ERSDA | Created On | ERSDA | DATS | 8(0) | DATUM | |||||
LBJIN | Fiscal year of current physical inventory indicator | GJINV | NUMC | 4(0) | GJAHR | GJAHR | ||||
LBRUE | MxxxH rec. already exists for per. before last of Mxxx per. | SBRUE | CHAR | 1(0) | XFELD | |||||
LBUML | Stock in Transfer for Subcontracting (Plant to Plant) | UMLME_O | QUAN | 13(3) | MENG13V | |||||
SGT_SCAT | Stock Segment | SGT_SCAT | CHAR | 40(0) | SGT_SRCA | SGT_S | SGT_CAT_FIELD_POPUP | VALUE | ||
/CWM/LBLAB | Valuated, Unrestricted-Use Stock in Parallel Unit of Measure | /CWM/LBLAB | QUAN | 13(3) | MENG13V | |||||
/CWM/LBINS | Inspection Stock in Parallel Unit of Measure | /CWM/LBINS | QUAN | 13(3) | MENG13V | |||||
/CWM/LBEIN | Total Stock of All Restricted Batches in Parallel UoM | /CWM/LBEIN | QUAN | 13(3) | MENG13V | |||||
/CWM/LBUML | Stock in Transfer Subcontractor (Plant to Plant) in PUoM | /CWM/UMLME_O | QUAN | 13(3) | MENG13V | |||||
/CWM/LBVLA | Valuated unrestricted-use stock in previous period | VMLAB | QUAN | 13(3) | MENG13V | |||||
/CWM/LBVIN | Stock in Quality Inspection in Previous Period | VMINS | QUAN | 13(3) | MENG13V | |||||
/CWM/LBVEI | Restricted-Use Stock in Previous Period | VMEIN | QUAN | 13(3) | MENG13V |
Search for further information about these or an SAP related objects