# I_MaterialStock — Material Stock Calculation

> Returns stock quantities calculated from material documents, broken down by material, plant, storage location, batch, stock type and special stock. It is a released (C1) VDM composite view that can be used in custom CDS views, ABAP reports and S/4HANA Cloud / ABAP Cloud development. Corresponding table(s): MATDOC.

- Modules: MM
- Type: CDS view
- S/4HANA status: S/4HANA only

- URL: https://nekuhub.com/en/tables/i-materialstock/

## ABAP Cloud and clean core status

Released for ABAP Cloud (MM-IM-VDM-SGM). SAP has released this object for ABAP Cloud and clean core development; it can be used directly in S/4HANA Cloud and ABAP Cloud extensions.


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 |
|---|---|---|
| Material | Material | Yes |
| Plant | Plant | Yes |
| StorageLocation | Storage location | Yes |
| Batch | Batch | Yes |
| Supplier | Supplier | Yes |
| SDDocument | Sales order | Yes |
| SDDocumentItem | Sales order item | Yes |
| WBSElementInternalID | WBS element internal ID | Yes |
| Customer | Customer | Yes |
| SpecialStockIdfgStockOwner | Special stock owner | Yes |
| InventoryStockType | Stock type | Yes |
| InventorySpecialStockType | Special stock type | Yes |
| FiscalYearVariant | Fiscal year variant | Yes |
| MatlDocLatestPostgDate | Latest posting date | Yes |
| MaterialBaseUnit | Base unit of measure | Yes |
| CompanyCode | Company code | - |
| MatlWrhsStkQtyInMatlBaseUnit | Warehouse stock quantity in base unit | - |
| MatlStkIncrQtyInMatlBaseUnit | Stock increase quantity in base unit | - |
| MatlCnsmpnQtyInMatlBaseUnit | Consumption quantity in base unit | - |

## Reports using this table

