I_MaterialValuation

DDL: I_MATERIALVALUATION Type: view_entity COMPOSITE Package: FINS_ML_VDM

Material Valuation

I_MaterialValuation is a Composite CDS View that provides data about "Material Valuation" in SAP S/4HANA. It reads from 4 data sources (I_ProdSalesOrderStockValuation, I_ProductProjectStockValuation, I_ProdVltdStockSubcontractor, P_ProductValuationBasic) and exposes 42 fields with key field CostEstimate. Part of development package FINS_ML_VDM.

Data Sources (4)

SourceAliasJoin Type
I_ProdSalesOrderStockValuation I_ProdSalesOrderStockValuation union_all
I_ProductProjectStockValuation I_ProductProjectStockValuation union_all
I_ProdVltdStockSubcontractor I_ProdVltdStockSubcontractor union_all
P_ProductValuationBasic P_ProductValuationBasic from

Annotations (10)

NameValueLevelField
EndUserText.label Material Valuation view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.representativeKey CostEstimate view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY CostEstimate ProdCostEstNumber
MaterialValuationClass ValuationClass
InventoryValuationCategory ValuationCategory
Material Product
InventoryValuationType ValuationType
ValuationArea ValuationArea
WBSElement
InventorySpecialStockType
SDDocument
SDDocumentItem
Supplier
MaterialValuationClass ValuationClass
InventoryValuationCategory ValuationCategory
Material Product
InventoryValuationType ValuationType
ValuationArea ValuationArea
WBSElement
InventorySpecialStockType InventorySpecialStockType
SDDocument SDDocument
SDDocumentItem SDDocumentItem
Supplier
MaterialValuationClass ValuationClass
InventoryValuationCategory ValuationCategory
Material Product
InventoryValuationType ValuationType
ValuationArea ValuationArea
WBSElement
InventorySpecialStockType InventorySpecialStockType
SDDocument
SDDocumentItem
Supplier Supplier
MaterialValuationClass ValuationClass
InventoryValuationCategory ValuationCategory
Material Product
InventoryValuationType ValuationType
ValuationArea ValuationArea
WBSElement WBSElementInternalID
InventorySpecialStockType InventorySpecialStockType
SDDocument
SDDocumentItem
Supplier
PriceDeterminationControl PriceDeterminationControl
@EndUserText.label: 'Material Valuation'
@AccessControl.authorizationCheck: #MANDATORY 
@AccessControl.personalData.blocking: #REQUIRED  
@ObjectModel.representativeKey: 'CostEstimate'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@VDM.viewType: #COMPOSITE
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions:true
define view entity I_MaterialValuation as 

select from P_ProductValuationBasic // mbew

{
   key ProdCostEstNumber as CostEstimate,
   
   ValuationClass as MaterialValuationClass,
   ValuationCategory as InventoryValuationCategory,
   Product as Material,
   ValuationType as InventoryValuationType,
   ValuationArea,
   cast('00000000' as ps_psp_pnr) as WBSElement,
   cast('' as sobkz) as InventorySpecialStockType,
   cast('' as vbeln) as SDDocument,
   cast('000000' as posnr) as SDDocumentItem,
   cast('' as lifnr) as Supplier,
   PriceDeterminationControl
}

union all 

select from I_ProdSalesOrderStockValuation // ebew 

{
   key ProdCostEstNumber as CostEstimate,
   
   ValuationClass as MaterialValuationClass,
   ValuationCategory as InventoryValuationCategory,
   Product as Material,
   ValuationType as InventoryValuationType,
   ValuationArea,
   cast('00000000' as ps_psp_pnr) as WBSElement,
   InventorySpecialStockType,
   SDDocument,
   SDDocumentItem,
   cast('' as lifnr) as Supplier,
   PriceDeterminationControl
}

union all

select from I_ProdVltdStockSubcontractor //obew 

{
   key ProdCostEstNumber as CostEstimate,

   ValuationClass as MaterialValuationClass,
   ValuationCategory as  InventoryValuationCategory,
   Product as Material,
   ValuationType as InventoryValuationType,
   ValuationArea,
   cast('00000000' as ps_psp_pnr) as WBSElement,
   InventorySpecialStockType,
   cast('' as vbeln) as SDDocument,
   cast('000000' as posnr) as SDDocumentItem,
   Supplier,
   PriceDeterminationControl
}

union all

select from I_ProductProjectStockValuation //qbew 

{
   key ProdCostEstNumber as CostEstimate,

   ValuationClass as MaterialValuationClass,
   ValuationCategory as  InventoryValuationCategory,
   Product as Material,
   ValuationType as InventoryValuationType,
   ValuationArea,
   WBSElementInternalID as WBSElement,
   InventorySpecialStockType,
   cast('' as vbeln) as SDDocument,
   cast('000000' as posnr) as SDDocumentItem,
   cast('' as lifnr) as Supplier,
   PriceDeterminationControl
}