P_MATDOCREC
Material Documents without Link to PI Item
P_MATDOCREC is a CDS View in S/4HANA. Material Documents without Link to PI Item. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_EnhPhysInvtryActvStkSep | view_entity | left_outer | COMPOSITE | Additional fields for P_EnhPhysInvtryActvStkSeparator |
@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'