P_MatDocRec

DDL: P_MATDOCREC Type: view_entity COMPOSITE Package: ODATA_MM_IM_PI_MASS_CREATE

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)

SourceAliasJoin Type
I_MaterialDocumentRecord MatDoc from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_ALLOWED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (19)

KeyFieldSource TableSource FieldDescription
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'