P_DMVCECEdgeLeft

DDL: P_DMVCECEDGELEFT Type: view_entity BASIC Package: ODATA_ML_DMVC_EC

F4898 Edges to the left

P_DMVCECEdgeLeft is a Basic CDS View that provides data about "F4898 Edges to the left" 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. Part of development package ODATA_ML_DMVC_EC.

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
KEY ParentCostingDate CostingDate
KEY ParentCostingVersion CostingVersion
KEY ParentValuationVariant ValuationVariant
KEY ProdCostEstNumber TransferCostEstimate
KEY CostingType TransferCostingType
KEY CostingDate TransferCostingDate
KEY CostingVersion TransferCostingVersion
KEY ValuationVariant TransferValuationVariant
KEY CostingItem CostingItem
CostingItemCategory CostingItemCategory
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]
;