I_ValnPriceCategoryPrice
Prices of Valuation Price Categories
I_ValnPriceCategoryPrice is a Composite CDS View that provides data about "Prices of Valuation Price Categories" in SAP S/4HANA. It reads from 1 data source (P_ValnPriceCategoryPrice) and exposes 27 fields with key fields ValuationPriceCategory, FiscalYear, FiscalPeriod, LedgerValuationCurrencyRole, CostEstimate. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ValnPriceCategoryPrice | vpcp | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ControllingArea | _ControllingArea | $projection.controllingarea = _ControllingArea.ControllingArea |
| [0..*] | I_ValuationPriceCategoryText | _ValuationPriceCategoryText | $projection.ValuationPriceCategory = _ValuationPriceCategoryText.ValuationPriceCategory |
| [0..1] | I_LedgerText | _LedgerText | _LedgerText.Ledger = vpcp.Ledger and _LedgerText.Language = $session.system_language |
| [0..1] | I_LedgerText | _LeadingLedgerText | _LeadingLedgerText.Ledger = _LeadingLedger.Ledger and _LeadingLedgerText.Language = $session.system_language |
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_Plant | _Plant | $projection.ValuationArea = _Plant.Plant |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IVALPRCATPR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Prices of Valuation Price Categories | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ValuationPriceCategory | ValuationPriceCategory | ||
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | LedgerValuationCurrencyRole | P_ValnPriceCategoryPrice | LedgerValuationCurrencyRole | Valuation Area |
| KEY | CostEstimate | P_ValnPriceCategoryPrice | CostEstimate | Cost EstimateNo |
| LegalCurrencyRole | LegalCurrencyRole | |||
| Material | Material | Vehicle Model | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ControllingArea | _CompanyCode | ControllingArea | Controlling Area | |
| AccountingValuationView | ||||
| LedgerendasLedger | ||||
| LedgerNameendasLedgerName | ||||
| ValuationPriceCategoryPrice | ValuationPriceCategoryPrice | RVP f.PricePro. | ||
| Currency | Currency | Valuation Crcy | ||
| MaterialPriceUnitQty | MaterialPriceUnitQty | Price unit | ||
| ValuationQuantityUnit | ValuationQuantityUnit | Valuation Unit | ||
| ValuationPriceNumeratorAmount | ValuationPriceNumeratorAmount | |||
| ValuationPriceDenominatorQty | ValuationPriceDenominatorQty | |||
| TotalValuatedStockAmount | TotalValuatedStockAmount | |||
| TotalVltdStockQuantity | TotalVltdStockQuantity | |||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _ValuationPriceCategoryText | _ValuationPriceCategoryText |
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_ValnPriceCategoryPrice.
-- 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_ValnPriceCategoryPrice AS
SELECT
ValuationPriceCategory,
FiscalYear,
FiscalPeriod,
vpcp.LedgerValuationCurrencyRole AS LedgerValuationCurrencyRole,
vpcp.CostEstimate AS CostEstimate,
LegalCurrencyRole,
Material,
ValuationArea,
InventoryValuationType,
CompanyCode,
_CompanyCode.ControllingArea AS ControllingArea,
cast('0' as fins_valutyp_wo_cogm) AS AccountingValuationView,
case vpcp.Ledger when '' then _LeadingLedger.Ledger else vpcp.Ledger end as Ledger AS LedgerendasLedger,
case vpcp.Ledger when '' then _LeadingLedgerText[1:Language = $session.system_language].LedgerName else _LedgerText[1:Language = $session.system_language].LedgerName end as LedgerName AS LedgerNameendasLedgerName,
ValuationPriceCategoryPrice,
Currency,
MaterialPriceUnitQty,
ValuationQuantityUnit,
ValuationPriceNumeratorAmount,
ValuationPriceDenominatorQty,
TotalValuatedStockAmount,
TotalVltdStockQuantity
FROM P_ValnPriceCategoryPrice AS vpcp
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON controllingarea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_ValuationPriceCategoryText AS _ValuationPriceCategoryText ON ValuationPriceCategory = _ValuationPriceCategoryText.ValuationPriceCategory -- association [0..*]
LEFT OUTER JOIN I_LedgerText AS _LedgerText ON _LedgerText.Ledger = vpcp.Ledger AND _LedgerText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LedgerText AS _LeadingLedgerText ON _LeadingLedgerText.Ledger = _LeadingLedger.Ledger AND _LeadingLedgerText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON ValuationArea = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- 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