I_MLPriceByMultipleValnComprn
ML Price multiple Valuations comparison
I_MLPriceByMultipleValnComprn is a Composite CDS View that provides data about "ML Price multiple Valuations comparison" in SAP S/4HANA. It reads from 1 data source (P_MatlLdgrPrByMltplValuations) and exposes 54 fields with key fields CostEstimate, Ledger, CurrencyRole, MaterialPriceType, MaterialPriceSubtype. It has 10 associations to related views. Part of development package ODATA_ML_MNTRMATLPRICES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MatlLdgrPrByMltplValuations | P_MatlLdgrPrByMltplValuations | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Plant | $projection.ValuationArea = _Plant.Plant |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_MaterialPriceControl | _MaterialPriceControl | $projection.MaterialPriceControl = _MaterialPriceControl.MaterialPriceControl |
| [1..1] | I_MaterialLedgerPriceType | _PriceType | $projection.MaterialPriceType = _PriceType.MaterialPriceType |
| [0..1] | I_WBSElementBasicData | _WBSElementBasicData | $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID |
| [0..1] | I_InvtryValnSpecialStockType | _InvtryValnSpecialStockType | $projection.InvtryValnSpecialStockType = _InvtryValnSpecialStockType.InvtryValnSpecialStockType |
| [0..1] | I_MatlPriceCostEstimateStage | _MatlPriceCostEstimateStage | $projection.MaterialPriceCostEstimateStage = _MatlPriceCostEstimateStage.MaterialPriceCostEstimateStage |
| [0..1] | I_StkMatlPriceValuationType | _StkMatlPriceValuationType | $projection.StkMaterialPriceValuationType = _StkMatlPriceValuationType.StkMaterialPriceValuationType |
| [0..1] | I_SlsOrdProjValnStrategyStdVH | _SlsOrdProjValnStrategy | $projection.CurPlanProjSlsOrdValnStrategy = _SlsOrdProjValnStrategy.SlsOrdProjValnStrategy |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | ML Price multiple Valuations comparison | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | CostEstimate | Cost EstimateNo | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | CurrencyRole | CurrencyRole | Curr./Val. Type | |
| KEY | MaterialPriceType | MaterialPriceType | Price Type | |
| KEY | MaterialPriceSubtype | MaterialPriceSubtype | ||
| KEY | MaterialPriceValidityStartDate | MaterialPriceValidityStartDate | ||
| KEY | MaterialPriceValidityEndDate | MaterialPriceValidityEndDate | ||
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | MaterialPriceControl | MaterialPriceControl | Price Control | |
| KEY | CurPlanProjSlsOrdValnStrategy | CurPlanProjSlsOrdValnStrategy | ||
| KEY | MaterialPriceCostEstimateStage | MaterialPriceCostEstimateStage | ||
| KEY | InventoryValuationType | InventoryValuationType | Valuation Type | |
| KEY | InvtryValnSpecialStockType | InvtryValnSpecialStockType | ||
| KEY | StkMaterialPriceValuationType | StkMaterialPriceValuationType | ||
| KEY | MaterialPriceExtReference | MaterialPriceExtReference | ||
| KEY | MaterialPriceExtRefCategory | MaterialPriceExtRefCategory | ||
| KEY | SalesOrder | SalesOrder | SD Document | |
| KEY | SalesOrderItem | SalesOrderItem | Sales Order Item | |
| Material | Material | Vehicle Model | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| Supplier | Supplier | Supplier | ||
| SlsOrdProjValnStrgyName | SlsOrdProjValnStrgyName | |||
| MaterialValuationListText | MaterialValuationListText | |||
| MatlLdgrPrValnCrcyRoleSemKey | MatlLdgrPrValnCrcyRoleSemKey | |||
| ValidOnDate | ValidOnDate | |||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| AmountInFreeDefinedCurrency2 | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | ||
| AmountInFreeDefinedCurrency3 | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | ||
| AmountInFreeDefinedCurrency4 | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | ||
| AmountInFreeDefinedCurrency5 | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | ||
| AmountInFreeDefinedCurrency6 | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | ||
| AmountInFreeDefinedCurrency7 | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | ||
| AmountInFreeDefinedCurrency8 | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | ||
| AmountInFreeDefinedCurrency9 | AmountInFreeDefinedCurrency9 | |||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| FreeDefinedCurrency9 | FreeDefinedCurrency9 | |||
| _Plant | _Plant | |||
| _Material | _Material | |||
| _CompanyCode | _CompanyCode | |||
| _MaterialPriceControl | _MaterialPriceControl | |||
| _PriceType | _PriceType | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _InvtryValnSpecialStockType | _InvtryValnSpecialStockType | |||
| _MatlPriceCostEstimateStage | _MatlPriceCostEstimateStage | |||
| _StkMatlPriceValuationType | _StkMatlPriceValuationType | |||
| _SlsOrdProjValnStrategy | _SlsOrdProjValnStrategy |
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_MLPriceByMultipleValnComprn.
-- 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_MLPriceByMultipleValnComprn AS
SELECT
CostEstimate,
Ledger,
CurrencyRole,
MaterialPriceType,
MaterialPriceSubtype,
MaterialPriceValidityStartDate,
MaterialPriceValidityEndDate,
CompanyCode,
MaterialPriceControl,
CurPlanProjSlsOrdValnStrategy,
MaterialPriceCostEstimateStage,
InventoryValuationType,
InvtryValnSpecialStockType,
StkMaterialPriceValuationType,
MaterialPriceExtReference,
MaterialPriceExtRefCategory,
SalesOrder,
SalesOrderItem,
Material,
ValuationArea,
WBSElementInternalID,
Supplier,
SlsOrdProjValnStrgyName,
MaterialValuationListText,
MatlLdgrPrValnCrcyRoleSemKey,
ValidOnDate,
AmountInFreeDefinedCurrency1,
AmountInFreeDefinedCurrency2,
AmountInFreeDefinedCurrency3,
AmountInFreeDefinedCurrency4,
AmountInFreeDefinedCurrency5,
AmountInFreeDefinedCurrency6,
AmountInFreeDefinedCurrency7,
AmountInFreeDefinedCurrency8,
AmountInFreeDefinedCurrency9,
FreeDefinedCurrency1,
FreeDefinedCurrency2,
FreeDefinedCurrency3,
FreeDefinedCurrency4,
FreeDefinedCurrency5,
FreeDefinedCurrency6,
FreeDefinedCurrency7,
FreeDefinedCurrency8,
FreeDefinedCurrency9
FROM P_MatlLdgrPrByMltplValuations
LEFT OUTER JOIN I_Plant AS _Plant ON ValuationArea = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_MaterialPriceControl AS _MaterialPriceControl ON MaterialPriceControl = _MaterialPriceControl.MaterialPriceControl -- association [0..1]
LEFT OUTER JOIN I_MaterialLedgerPriceType AS _PriceType ON MaterialPriceType = _PriceType.MaterialPriceType -- association [1..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_InvtryValnSpecialStockType AS _InvtryValnSpecialStockType ON InvtryValnSpecialStockType = _InvtryValnSpecialStockType.InvtryValnSpecialStockType -- association [0..1]
LEFT OUTER JOIN I_MatlPriceCostEstimateStage AS _MatlPriceCostEstimateStage ON MaterialPriceCostEstimateStage = _MatlPriceCostEstimateStage.MaterialPriceCostEstimateStage -- association [0..1]
LEFT OUTER JOIN I_StkMatlPriceValuationType AS _StkMatlPriceValuationType ON StkMaterialPriceValuationType = _StkMatlPriceValuationType.StkMaterialPriceValuationType -- association [0..1]
LEFT OUTER JOIN I_SlsOrdProjValnStrategyStdVH AS _SlsOrdProjValnStrategy ON CurPlanProjSlsOrdValnStrategy = _SlsOrdProjValnStrategy.SlsOrdProjValnStrategy -- association [0..1]
;
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