P_DMVCECEdgeLeft

DDL: P_DMVCECEDGELEFT Type: view_entity BASIC

P_DMVCECEdgeLeft is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_ProductCostEstimateItem) and exposes 14 fields with key fields ParentProdCostEstNumber, ParentCostingType, ParentCostingDate, ParentCostingVersion, ParentValuationVariant. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductCostEstimateItem I_ProductCostEstimateItem from

Parameters (5)

NameTypeDefault
P_ProdCostEstNumber ck_kalnr1
P_CostingType ck_kalka
P_CostingDate ck_kadky
P_CostingVersion ck_tvers
P_ValuationVariant bwvar

Associations (1)

CardinalityTargetAliasCondition
[0..1] P_DMVCECCostEstimateHead _CostEstimateHead $projection.ProdCostEstNumber = _CostEstimateHead.ProdCostEstNumber and $projection.CostingType = _CostEstimateHead.CostingType and $projection.CostingDate = _CostEstimateHead.CostingDate and $projection.CostingVersion = _CostEstimateHead.CostingVersion and $projection.ValuationVariant = _CostEstimateHead.ValuationVariant

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ParentProdCostEstNumber CostEstimate Cost EstimateNo
KEY ParentCostingType CostingType Costing Type
KEY ParentCostingDate CostingDate Costing Date
KEY ParentCostingVersion CostingVersion Costing Version
KEY ParentValuationVariant ValuationVariant Valuation Variant
KEY ProdCostEstNumber TransferCostEstimate Cost Est Number
KEY CostingType TransferCostingType Costing Type
KEY CostingDate TransferCostingDate Costing Date
KEY CostingVersion TransferCostingVersion Costing Version
KEY ValuationVariant TransferValuationVariant Val. Variant
KEY CostingItem CostingItem WBS Element
CostingItemCategory CostingItemCategory Item Category
Material _CostEstimateHead Material Vehicle Model
Plant _CostEstimateHead Plant Valuation Area

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_DMVCECEdgeLeft.
-- 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.
-- Parameters: P_ProdCostEstNumber : ck_kalnr1, P_CostingType : ck_kalka, P_CostingDate : ck_kadky, P_CostingVersion : ck_tvers, P_ValuationVariant : bwvar

CREATE VIEW P_DMVCECEdgeLeft AS
SELECT
  CostEstimate AS ParentProdCostEstNumber,
  CostingType AS ParentCostingType,
  CostingDate AS ParentCostingDate,
  CostingVersion AS ParentCostingVersion,
  ValuationVariant AS ParentValuationVariant,
  TransferCostEstimate AS ProdCostEstNumber,
  TransferCostingType AS CostingType,
  TransferCostingDate AS CostingDate,
  TransferCostingVersion AS CostingVersion,
  TransferValuationVariant AS ValuationVariant,
  CostingItem,
  CostingItemCategory,
  _CostEstimateHead.Material AS Material,
  _CostEstimateHead.Plant AS Plant
FROM I_ProductCostEstimateItem
LEFT OUTER JOIN P_DMVCECCostEstimateHead AS _CostEstimateHead ON ProdCostEstNumber = _CostEstimateHead.ProdCostEstNumber AND CostingType = _CostEstimateHead.CostingType AND CostingDate = _CostEstimateHead.CostingDate AND CostingVersion = _CostEstimateHead.CostingVersion AND ValuationVariant = _CostEstimateHead.ValuationVariant  -- association [0..1]
;