P_Matval_Manage_Pnv

DDL: P_MATVAL_MANAGE_PNV SQL: PMATVALMGMPNV Type: view BASIC

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)

SourceAliasJoin Type
P_Matval_Manage_Bal bal left_outer
P_Matval_Manage_Ckml ckml left_outer
P_Matval_Manage_Pnv_Pre pre from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PMATVALMGMPNV view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view

Fields (27)

KeyFieldSource TableSource FieldDescription
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 */
;