I_MaterialValuation
Material Valuation
I_MaterialValuation is a Basic CDS View (Dimension) that provides data about "Material Valuation" in SAP S/4HANA. It reads from 4 data sources (ebew, mbew, obew, qbew) and exposes 42 fields with key field CostEstimate.
Data Sources (4)
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMATVALUATION | view | |
| EndUserText.label | Material Valuation | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | CostEstimate | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | kaln1 | ||
| MaterialValuationClass | bklas | |||
| InventoryValuationCategory | bwtty | |||
| Material | matnr | |||
| InventoryValuationType | bwtar | |||
| ValuationArea | mbew | bwkey | ||
| WBSElement | ||||
| InventorySpecialStockType | ||||
| SDDocument | ||||
| SDDocumentItem | ||||
| Supplier | ||||
| MaterialValuationClass | bklas | |||
| InventoryValuationCategory | bwtty | |||
| Material | matnr | |||
| InventoryValuationType | bwtar | |||
| ValuationArea | ebew | bwkey | ||
| WBSElement | ||||
| InventorySpecialStockType | sobkz | |||
| SDDocument | vbeln | |||
| SDDocumentItem | posnr | |||
| Supplier | ||||
| MaterialValuationClass | bklas | |||
| InventoryValuationCategory | bwtty | |||
| Material | matnr | |||
| InventoryValuationType | bwtar | |||
| ValuationArea | obew | bwkey | ||
| WBSElement | ||||
| InventorySpecialStockType | sobkz | |||
| SDDocument | ||||
| SDDocumentItem | ||||
| Supplier | lifnr | |||
| MaterialValuationClass | bklas | |||
| InventoryValuationCategory | bwtty | |||
| Material | matnr | |||
| InventoryValuationType | bwtar | |||
| ValuationArea | qbew | bwkey | ||
| WBSElement | pspnr | |||
| InventorySpecialStockType | sobkz | |||
| SDDocument | ||||
| SDDocumentItem | ||||
| Supplier | ||||
| PriceDeterminationControl | mlast |
@AbapCatalog.sqlViewName: 'IMATVALUATION'
@EndUserText.label: 'Material Valuation'
@VDM.viewType: #BASIC
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.representativeKey: 'CostEstimate'
@AbapCatalog.preserveKey:true
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@Metadata.allowExtensions:true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_MaterialValuation as
select from mbew
{
key kaln1 as CostEstimate,
bklas as MaterialValuationClass,
bwtty as InventoryValuationCategory,
matnr as Material,
bwtar as InventoryValuationType,
mbew.bwkey as 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,
mlast as PriceDeterminationControl
}
union all
select from ebew
{
key kaln1 as CostEstimate,
bklas as MaterialValuationClass,
bwtty as InventoryValuationCategory,
matnr as Material,
bwtar as InventoryValuationType,
ebew.bwkey as ValuationArea,
cast('00000000' as ps_psp_pnr) as WBSElement,
sobkz as InventorySpecialStockType,
vbeln as SDDocument,
posnr as SDDocumentItem,
cast('' as lifnr) as Supplier,
mlast as PriceDeterminationControl
}
union all
select from obew
{
key kaln1 as CostEstimate,
bklas as MaterialValuationClass,
bwtty as InventoryValuationCategory,
matnr as Material,
bwtar as InventoryValuationType,
obew.bwkey as ValuationArea,
cast('00000000' as ps_psp_pnr) as WBSElement,
sobkz as InventorySpecialStockType,
cast('' as vbeln) as SDDocument,
cast('000000' as posnr) as SDDocumentItem,
lifnr as Supplier,
mlast as PriceDeterminationControl
}
union all
select from qbew
{
key kaln1 as CostEstimate,
bklas as MaterialValuationClass,
bwtty as InventoryValuationCategory,
matnr as Material,
bwtar as InventoryValuationType,
qbew.bwkey as ValuationArea,
pspnr as WBSElement,
sobkz as InventorySpecialStockType,
cast('' as vbeln) as SDDocument,
cast('000000' as posnr) as SDDocumentItem,
cast('' as lifnr) as Supplier,
mlast as PriceDeterminationControl
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EBEW",
"MBEW",
"OBEW",
"QBEW"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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