P_MatDocRec
Material Documents without Link to PI Item
P_MatDocRec is a Composite CDS View that provides data about "Material Documents without Link to PI Item" in SAP S/4HANA. It reads from 1 data source (I_MaterialDocumentRecord) and exposes 19 fields. Part of development package ODATA_MM_IM_PI_MASS_CREATE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialDocumentRecord | MatDoc | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| MaterialDocumentYear | I_MaterialDocumentRecord | MaterialDocumentYear | ||
| MaterialDocument | I_MaterialDocumentRecord | MaterialDocument | ||
| MaterialDocumentItem | I_MaterialDocumentRecord | MaterialDocumentItem | ||
| StockIdentifyingMaterial | StockIdentifyingMaterial | |||
| Plant | I_MaterialDocumentRecord | Plant | ||
| StockIdfgStorageLocation | StockIdfgStorageLocation | |||
| StockIdentifyingBatch | StockIdentifyingBatch | |||
| SpecialStockIdfgSupplier | SpecialStockIdfgSupplier | |||
| SpecialStockIdfgSalesOrder | SpecialStockIdfgSalesOrder | |||
| SpecialStockIdfgSalesOrderItem | SpecialStockIdfgSalesOrderItem | |||
| SpecialStockIdfgWBSElement | SpecialStockIdfgWBSElement | |||
| SpecialStockIdfgCustomer | SpecialStockIdfgCustomer | |||
| InventorySpecialStockType | I_MaterialDocumentRecord | InventorySpecialStockType | ||
| InventoryStockType | InventoryStockType | |||
| SpecialStockIdfgStockOwner | SpecialStockIdfgStockOwner | |||
| PostingDate | I_MaterialDocumentRecord | PostingDate | ||
| MaterialBaseUnit | I_MaterialDocumentRecord | MaterialBaseUnit | ||
| MatlStkChangeQtyInBaseUnit | MatlStkChangeQtyInBaseUnit | |||
| GoodsMovementType | GoodsMovementType |
@AccessControl.authorizationCheck: #NOT_ALLOWED
@VDM.private: true
@VDM.viewType: #COMPOSITE
define view entity P_MatDocRec
as select from I_MaterialDocumentRecord as MatDoc
{
MatDoc.MaterialDocumentYear,
MatDoc.MaterialDocument,
MatDoc.MaterialDocumentItem,
StockIdentifyingMaterial,
MatDoc.Plant,
StockIdfgStorageLocation,
StockIdentifyingBatch,
SpecialStockIdfgSupplier,
SpecialStockIdfgSalesOrder,
SpecialStockIdfgSalesOrderItem,
SpecialStockIdfgWBSElement,
SpecialStockIdfgCustomer,
MatDoc.InventorySpecialStockType,
InventoryStockType,
SpecialStockIdfgStockOwner,
MatDoc.PostingDate,
MatDoc.MaterialBaseUnit,
@Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
MatlStkChangeQtyInBaseUnit,
GoodsMovementType
}
where GoodsMovementIsCancelled <> 'X'
and GoodsMovementCancellationType <> '2'
and GoodsMovementCancellationType <> '3'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA