I_CurrentMatlValnPriceDEX
Current Matl Valn Price for Extraction
I_CurrentMatlValnPriceDEX (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Accounting and Financial Close
I_CurrentMatlValnPriceDEX is a Composite CDS View (Fact) that provides data about "Current Matl Valn Price for Extraction" in SAP S/4HANA. It reads from 1 data source (P_CURRENTMATLVALNPRICEDEX) and exposes 24 fields with key fields CostEstimate, Ledger, CurrencyRole.
SAP Help Documentation
| Category | CDS Views for Product Cost Controlling |
|---|---|
| Data Category | FACT |
This CDS view provides the data to answer the following business questions: What is the current valid inventory price of a material at the time of request? This view is intended to be used for data extraction. With regular data extraction, you can use this view to create a price history on target system side.
Prerequisites
Authorizations Users must have the authorization to access certain valuation areas and ledgers.
Structure
Further important fields Important fields in this view include the following: Field Name Description CurrencyRole Coded representation of the currency and valuation type LedgerValnCrcyRoleIsUsedInLogs Indicator for the ledger, currency, and valuation type used in logistics
SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables)
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Accounting and Financial Close |
| Application Component | FI-FIO-GL-IS |
| Capabilities | Data Source for Data Extraction |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Private Edition |
| Description | <p></p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What is the current valid inventory price of a material at the time of request?</p></li> </ul> <p>This view is intended to be used for data extraction.</p> <p>With regular data extraction, you can use this view to create a price history on target system side.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CURRENTMATLVALNPRICEDEX | P_CURRENTMATLVALNPRICEDEX | from |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Current Matl Valn Price for Extraction | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.sqlViewName | ICURMATVALPRCDEX | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | CostEstimate | Cost Estimate Number for Cost Est. w/o Qty Structure | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | CurrencyRole | CurrencyRole | Curr./Val. Type | |
| Material | Material | Material Number | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| SalesOrder | SalesOrder | Sales and Distribution Document Number | ||
| SalesOrderItem | SalesOrderItem | Item number of the SD document | ||
| Supplier | Supplier | Account Number of Supplier | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| InvtryValnSpecialStockType | InvtryValnSpecialStockType | Special Stock Indicator | ||
| InventorySpecialStockValnType | InventorySpecialStockValnType | Valuation of Special Stock | ||
| IsSupplierStockValuation | IsSupplierStockValuation | Vendor Stock Valuation Indicator | ||
| InventoryPrice | InventoryPrice | Material Ledger Price | ||
| StandardPrice | StandardPrice | Material Ledger Price | ||
| MovingAveragePrice | MovingAveragePrice | Material Ledger Price | ||
| Currency | Currency | Valuation Crcy | ||
| MaterialPriceControl | MaterialPriceControl | Price control indicator | ||
| MaterialPriceUnitQty | MaterialPriceUnitQty | Price unit | ||
| BaseUnit | BaseUnit | Base Unit of Measure | ||
| LedgerValnCrcyRoleIsUsedInLogs | LedgerValnCrcyRoleIsUsedInLogs | Indicator: currency type is used in logistic reporting | ||
| LedgerName | LedgerName | Ledger Name | ||
| CurrencyRoleName | CurrencyRoleName | Description |
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_CurrentMatlValnPriceDEX.
-- 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_CurrentMatlValnPriceDEX AS
SELECT
CostEstimate,
Ledger,
CurrencyRole,
Material,
ValuationArea,
InventoryValuationType,
CompanyCode,
SalesOrder,
SalesOrderItem,
Supplier,
WBSElementInternalID,
InvtryValnSpecialStockType,
InventorySpecialStockValnType,
IsSupplierStockValuation,
InventoryPrice,
StandardPrice,
MovingAveragePrice,
Currency,
MaterialPriceControl,
MaterialPriceUnitQty,
BaseUnit,
LedgerValnCrcyRoleIsUsedInLogs,
LedgerName,
CurrencyRoleName
FROM P_CURRENTMATLVALNPRICEDEX
;
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