I_MaterialValuation
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_ProductValuationBasic, I_ProdVltdStockSubcontractor) and exposes 42 fields with key field CostEstimate.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_ProdSalesOrderStockValuation | I_ProdSalesOrderStockValuation | union_all |
| I_ProductProjectStockValuation | I_ProductProjectStockValuation | union_all |
| I_ProductValuationBasic | I_ProductValuationBasic | from |
| I_ProdVltdStockSubcontractor | I_ProdVltdStockSubcontractor | union_all |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | ProdCostEstNumber | ProdCostEst.No. | |
| MaterialValuationClass | ValuationClass | Valuation Class | ||
| InventoryValuationCategory | ValuationCategory | Valuation Cat. | ||
| Material | Product | Product Sold | ||
| InventoryValuationType | ValuationType | Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| WBSElement | WBS Internal ID | |||
| InventorySpecialStockType | Special Stock Type | |||
| SDDocument | SD Document | |||
| SDDocumentItem | WBS Element | |||
| Supplier | Supplier | |||
| MaterialValuationClass | ValuationClass | Valuation Class | ||
| InventoryValuationCategory | ValuationCategory | Valuation Cat. | ||
| Material | Product | Product Sold | ||
| InventoryValuationType | ValuationType | Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| WBSElement | WBS Internal ID | |||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| SDDocument | SDDocument | SD Document | ||
| SDDocumentItem | SDDocumentItem | WBS Element | ||
| Supplier | Supplier | |||
| MaterialValuationClass | ValuationClass | Valuation Class | ||
| InventoryValuationCategory | ValuationCategory | Valuation Cat. | ||
| Material | Product | Product Sold | ||
| InventoryValuationType | ValuationType | Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| WBSElement | WBS Internal ID | |||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| SDDocument | SD Document | |||
| SDDocumentItem | WBS Element | |||
| Supplier | Supplier | Supplier | ||
| MaterialValuationClass | ValuationClass | Valuation Class | ||
| InventoryValuationCategory | ValuationCategory | Valuation Cat. | ||
| Material | Product | Product Sold | ||
| InventoryValuationType | ValuationType | Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| WBSElement | WBSElementInternalID | WBS Internal ID | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| SDDocument | SD Document | |||
| SDDocumentItem | WBS Element | |||
| Supplier | Supplier | |||
| PriceDeterminationControl | PriceDeterminationControl | Price Determ. |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_MaterialValuation.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_MaterialValuation AS
SELECT
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
FROM I_ProductValuationBasic
-- UNION ALL with additional select branch(es): I_ProdSalesOrderStockValuation, I_ProdVltdStockSubcontractor, I_ProductProjectStockValuation
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA