P_Matval_Manage_Pnv
P_Matval_Manage_Pnv is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (P_Matval_Manage_Bal, P_Matval_Manage_Ckml, P_Matval_Manage_Pnv_Pre) and exposes 27 fields with key fields CostEstimate, FiscalYear, FiscalPeriod, LedgerValuationCurrencyRole, ValuationArea.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_Matval_Manage_Bal | bal | left_outer |
| P_Matval_Manage_Ckml | ckml | left_outer |
| P_Matval_Manage_Pnv_Pre | pre | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMATVALMGMPNV | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | P_Matval_Manage_Pnv_Pre | CostEstimate | Cost EstimateNo |
| KEY | FiscalYear | P_Matval_Manage_Pnv_Pre | FiscalYear | G/L Fiscal Year |
| KEY | FiscalPeriod | P_Matval_Manage_Pnv_Pre | FiscalPeriod | Tax period |
| KEY | LedgerValuationCurrencyRole | P_Matval_Manage_Pnv_Pre | LedgerValuationCurrencyRole | Valuation Area |
| KEY | ValuationArea | P_Matval_Manage_Pnv_Pre | ValuationArea | Valuation Area |
| MaterialPriceUnitQty | P_Matval_Manage_Ckml | MaterialPriceUnitQty | Price unit | |
| MovingAveragePrice | P_Matval_Manage_Ckml | MovingAveragePrice | Per. Unit Price | |
| InvtryValnSpecialStockType | P_Matval_Manage_Ckml | InvtryValnSpecialStockType | Special Stock | |
| InventorySpecialStockValnType | P_Matval_Manage_Ckml | InventorySpecialStockValnType | Valuation | |
| MaterialPriceControl | P_Matval_Manage_Ckml | MaterialPriceControl | Price Control | |
| StandardPrice | P_Matval_Manage_Ckml | StandardPrice | Standard price | |
| PriceDeterminationControl | P_Matval_Manage_Ckml | PriceDeterminationControl | Price Determ. | |
| FuturePrice | P_Matval_Manage_Ckml | FuturePrice | ||
| FuturePlannedPrice | P_Matval_Manage_Ckml | FuturePlannedPrice | Fut. Plnd Price | |
| FuturePriceValidityStartDate | P_Matval_Manage_Ckml | FuturePriceValidityStartDate | Valid from | |
| TotalVltdStockQuantity | P_Matval_Manage_Bal | TotalVltdStockQuantity | ||
| AmountInCompanyCodeCurrency | P_Matval_Manage_Bal | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| AmountInGroupCurrency | P_Matval_Manage_Bal | AmountInGroupCurrency | Amnt in GrpCrcy | |
| AmountInFreeDefinedCurrency1 | P_Matval_Manage_Bal | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | |
| AmountInFreeDefinedCurrency2 | P_Matval_Manage_Bal | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | |
| AmountInFreeDefinedCurrency3 | P_Matval_Manage_Bal | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | |
| AmountInFreeDefinedCurrency4 | P_Matval_Manage_Bal | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | |
| AmountInFreeDefinedCurrency5 | P_Matval_Manage_Bal | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | |
| AmountInFreeDefinedCurrency6 | P_Matval_Manage_Bal | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | |
| AmountInFreeDefinedCurrency7 | P_Matval_Manage_Bal | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | |
| AmountInFreeDefinedCurrency8 | P_Matval_Manage_Bal | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | |
| period_type | P_Matval_Manage_Pnv_Pre | period_type | Repeat Appmt Type |
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 P_Matval_Manage_Pnv.
-- 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.
-- SQL view name: PMATVALMGMPNV
CREATE VIEW P_Matval_Manage_Pnv AS
SELECT
pre.CostEstimate AS CostEstimate,
pre.FiscalYear AS FiscalYear,
pre.FiscalPeriod AS FiscalPeriod,
pre.LedgerValuationCurrencyRole AS LedgerValuationCurrencyRole,
pre.ValuationArea AS ValuationArea,
ckml.MaterialPriceUnitQty AS MaterialPriceUnitQty,
ckml.MovingAveragePrice AS MovingAveragePrice,
ckml.InvtryValnSpecialStockType AS InvtryValnSpecialStockType,
ckml.InventorySpecialStockValnType AS InventorySpecialStockValnType,
ckml.MaterialPriceControl AS MaterialPriceControl,
ckml.StandardPrice AS StandardPrice,
ckml.PriceDeterminationControl AS PriceDeterminationControl,
ckml.FuturePrice AS FuturePrice,
ckml.FuturePlannedPrice AS FuturePlannedPrice,
ckml.FuturePriceValidityStartDate AS FuturePriceValidityStartDate,
bal.TotalVltdStockQuantity AS TotalVltdStockQuantity,
bal.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
bal.AmountInGroupCurrency AS AmountInGroupCurrency,
bal.AmountInFreeDefinedCurrency1 AS AmountInFreeDefinedCurrency1,
bal.AmountInFreeDefinedCurrency2 AS AmountInFreeDefinedCurrency2,
bal.AmountInFreeDefinedCurrency3 AS AmountInFreeDefinedCurrency3,
bal.AmountInFreeDefinedCurrency4 AS AmountInFreeDefinedCurrency4,
bal.AmountInFreeDefinedCurrency5 AS AmountInFreeDefinedCurrency5,
bal.AmountInFreeDefinedCurrency6 AS AmountInFreeDefinedCurrency6,
bal.AmountInFreeDefinedCurrency7 AS AmountInFreeDefinedCurrency7,
bal.AmountInFreeDefinedCurrency8 AS AmountInFreeDefinedCurrency8,
pre.period_type AS period_type
FROM P_Matval_Manage_Pnv_Pre AS pre
LEFT OUTER JOIN P_Matval_Manage_Ckml AS ckml ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_Matval_Manage_Bal AS bal ON /* join condition not captured in parsed metadata */
;
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