# MSKA — Sales Order Stock

> Holds special stock assigned to a specific sales order item (special stock indicator E) in make-to-order scenarios, per plant, storage location and batch. Unrestricted, quality inspection, restricted and blocked quantities are in separate fields. Join it to VBAP on VBELN and POSNR to match the sales item.

- Modules: MM
- Type: Transparent table
- S/4HANA status: Compatibility view in S/4HANA (Replaced by: MATDOC)
- In S/4HANA sales order stock quantities are no longer persisted in MSKA; they are calculated from MATDOC and the name MSKA is read through the compatibility view NSDM_V_MSKA. Reading code keeps working, but the table must not be written directly.
- URL: https://nekuhub.com/en/tables/mska/

## 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 |
| LGORT | Storage location | Yes |
| CHARG | Batch | Yes |
| SOBKZ | Special stock indicator | Yes |
| VBELN | Sales document | Yes |
| POSNR | Sales document item | Yes |
| KALAB | Unrestricted-use stock | - |
| KAINS | Stock in quality inspection | - |
| KAEIN | Restricted-use stock | - |
| KASPE | Blocked stock | - |

## Transactions working with this table

MMBE

## Reports using this table

