P_SlowMoMatPrMoMatDocRec

DDL: P_SLOWMOMATPRMOMATDOCREC Type: view_entity COMPOSITE Package: ODATA_MM_IM_SLONOMOMAT

Material Document Records

P_SlowMoMatPrMoMatDocRec is a Composite CDS View that provides data about "Material Document Records" in SAP S/4HANA. It reads from 1 data source (I_MaterialDocumentRecord) and exposes 8 fields with key fields Material, Plant, MaterialBaseUnit. Part of development package ODATA_MM_IM_SLONOMOMAT.

Data Sources (1)

SourceAliasJoin Type
I_MaterialDocumentRecord I_MaterialDocumentRecord from

Parameters (1)

NameTypeDefault
P_InventoryConsumptionGroup inventory_consumption_group

Annotations (6)

NameValueLevelField
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Material StockIdentifyingMaterial
KEY Plant Plant
KEY MaterialBaseUnit MaterialBaseUnit
PostingDate PostingDate
GoodsMovementType GoodsMovementType
MatlStkChangeQtyInBaseUnit MatlStkChangeQtyInBaseUnit
MatlCnsmpnQtyInMatlBaseUnit MatlCnsmpnQtyInMatlBaseUnit
InventoryConsumptionGroup
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.dataClass:#TRANSACTIONAL
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck:#NOT_REQUIRED
//@EndUserText.label: 'Material Document Records'

define view entity P_SlowMoMatPrMoMatDocRec with parameters  P_InventoryConsumptionGroup: inventory_consumption_group

 as select from I_MaterialDocumentRecord
 
{
   
  key StockIdentifyingMaterial  as Material,
  key Plant,
  key MaterialBaseUnit,  
      PostingDate,
      GoodsMovementType,
      
      @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
      MatlStkChangeQtyInBaseUnit,      
     
      @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
      MatlCnsmpnQtyInMatlBaseUnit,
      
      cast ($parameters.P_InventoryConsumptionGroup as inventory_consumption_group preserving type ) as InventoryConsumptionGroup
       
}