# MSLB — Special Stocks with Vendor

> Holds company-owned special stock located at a vendor, mainly components provided to a subcontractor (special stock indicator O), per vendor and batch. Used to monitor subcontracting and reconcile stock held at vendors. There is no storage location in the key; the stock is tracked at plant and vendor level.

- Modules: MM
- Type: Transparent table
- S/4HANA status: Compatibility view in S/4HANA (Replaced by: MATDOC)
- In S/4HANA special stock at vendor is no longer persisted in MSLB; it is calculated from MATDOC and the name MSLB is read through the compatibility view NSDM_V_MSLB. Reading code keeps working, but the table must not be written directly.
- URL: https://nekuhub.com/en/tables/mslb/

## ABAP Cloud and clean core status

Not to be released for ABAP Cloud (MM-IM-GF). SAP does not release this object for ABAP Cloud. It keeps working in classic ABAP; in ABAP Cloud and clean core development use the successor below.

- Use instead in ABAP Cloud: I_MATERIALSTOCK

Source: SAP's list of released objects (S/4HANA Cloud Private Edition, latest), SAP Cloudification Repository (https://github.com/SAP/abap-atc-cr-cv-s4hc)

## Main fields

| Field | Description | Key |
|---|---|---|
| MATNR | Material | Yes |
| WERKS | Plant | Yes |
| CHARG | Batch | Yes |
| SOBKZ | Special stock indicator | Yes |
| LIFNR | Vendor | Yes |
| LBLAB | Unrestricted-use stock | - |
| LBINS | Stock in quality inspection | - |
| LBEIN | Restricted-use stock | - |

## Transactions working with this table

MBLB, ME2O, MMBE

## Reports using this table

- Subcontracting Dispatch, Dispatch Order Printout and Stock at Subcontractor Tracking Program: https://nekuhub.com/en/programs/subcontracting-dispatch-order-and-stock-at-subcontractor-tracking/
- Subcontracting Component Consumption and Stock at Vendor Reconciliation Report: https://nekuhub.com/en/reports/subcontracting-component-consumption-and-stock-at-vendor-reconciliation-report/
- Subcontract Processing Yield and Waste Reconciliation Report: https://nekuhub.com/en/reports/subcontract-processing-yield-and-waste-reconciliation-report/
