P_ProductValuationD

DDL: P_PRODUCTVALUATIOND SQL: PPRDVALUATIOND Type: view BASIC

P_ProductValuationD is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (prd_valuation) and exposes 6 fields with key fields Draftkey, ActiveProduct, ActiveValuationArea, ActiveInventoryValuationType.

Data Sources (1)

SourceAliasJoin Type
prd_valuation DraftDocument from

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName PPRDVALUATIOND view
VDM.private true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Draftkey prd_valuation draftkey NodeID
KEY ActiveProduct prd_valuation activeproduct Product
KEY ActiveValuationArea prd_valuation activevaluationarea Valuation area
KEY ActiveInventoryValuationType prd_valuation activeinventoryvaluationtype Valuation type
ParentDraftKey prd_valuation parentdraftkey NodeID
priceunitqty prd_valuation priceunitqty Price unit

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_ProductValuationD.
-- 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: PPRDVALUATIOND

CREATE VIEW P_ProductValuationD AS
SELECT
  DraftDocument.draftkey AS Draftkey,
  DraftDocument.activeproduct AS ActiveProduct,
  DraftDocument.activevaluationarea AS ActiveValuationArea,
  DraftDocument.activeinventoryvaluationtype AS ActiveInventoryValuationType,
  DraftDocument.parentdraftkey AS ParentDraftKey,
  DraftDocument.priceunitqty AS priceunitqty
FROM prd_valuation AS DraftDocument
;