I_CostEstimateExchangeRateType

DDL: I_COSTESTIMATEEXCHANGERATETYPE SQL: ICEEXRATY Type: view COMPOSITE

Exchange Rate Type by Cost Estimate Head

I_CostEstimateExchangeRateType is a Composite CDS View that provides data about "Exchange Rate Type by Cost Estimate Head" in SAP S/4HANA. It reads from 3 data sources (I_ProductCostEstimate, I_CostingVersion, I_PlanningCategory) and exposes 10 fields with key fields CostingReferenceObject, CostEstimate, CostingType, CostingDate, CostingVersion. It has 3 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_ProductCostEstimate CostEstimateHead from
I_CostingVersion CostingVersion left_outer
I_PlanningCategory PlanningCategory left_outer

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_CostingType _CostingType $projection.CostingType = _CostingType.CostingType
[0..1] I_CostingVersion _CostingVersion $projection.CostingVersion = _CostingVersion.CostingVersion and $projection.CostingType = _CostingVersion.CostingType and $projection.ValuationVariant = _CostingVersion.ValuationVariant
[1..1] I_CostingValuationVariant _ValuationVariant $projection.ValuationVariant = _ValuationVariant.ValuationVariant

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICEEXRATY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Exchange Rate Type by Cost Estimate Head view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CostingReferenceObject I_ProductCostEstimate CostingReferenceObject Reference Obj.
KEY CostEstimate I_ProductCostEstimate CostEstimate Cost EstimateNo
KEY CostingType I_ProductCostEstimate CostingType Costing Type
KEY CostingDate I_ProductCostEstimate CostingDate Costing Date
KEY CostingVersion I_ProductCostEstimate CostingVersion Costing Version
KEY ValuationVariant I_ProductCostEstimate ValuationVariant Valuation Variant
KEY CostIsEnteredManually I_ProductCostEstimate CostIsEnteredManually Additive Costs
_CostingType _CostingType
_CostingVersion _CostingVersion
_ValuationVariant _ValuationVariant

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 I_CostEstimateExchangeRateType.
-- 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: ICEEXRATY

CREATE VIEW I_CostEstimateExchangeRateType AS
SELECT
  CostEstimateHead.CostingReferenceObject AS CostingReferenceObject,
  CostEstimateHead.CostEstimate AS CostEstimate,
  CostEstimateHead.CostingType AS CostingType,
  CostEstimateHead.CostingDate AS CostingDate,
  CostEstimateHead.CostingVersion AS CostingVersion,
  CostEstimateHead.ValuationVariant AS ValuationVariant,
  CostEstimateHead.CostIsEnteredManually AS CostIsEnteredManually
FROM I_ProductCostEstimate AS CostEstimateHead
LEFT OUTER JOIN I_CostingVersion AS CostingVersion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PlanningCategory AS PlanningCategory ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CostingType AS _CostingType ON CostingType = _CostingType.CostingType  -- association [1..1]
LEFT OUTER JOIN I_CostingVersion AS _CostingVersion ON CostingVersion = _CostingVersion.CostingVersion AND CostingType = _CostingVersion.CostingType AND ValuationVariant = _CostingVersion.ValuationVariant  -- association [0..1]
LEFT OUTER JOIN I_CostingValuationVariant AS _ValuationVariant ON ValuationVariant = _ValuationVariant.ValuationVariant  -- association [1..1]
;