I_CntrlPurContrExchRateUnion

DDL: I_CNTRLPURCONTREXCHRATEUNION Type: view_entity COMPOSITE

Union Layer Central Contract Exch Rate

I_CntrlPurContrExchRateUnion is a Composite CDS View that provides data about "Union Layer Central Contract Exch Rate" in SAP S/4HANA. It reads from 4 data sources (I_CntrlPurContrExchangeRateNew, I_CntrlPurContrCmmdtyExchRate, I_CmmdtyPricingMigrationStatus, I_CmmdtyPricingMigrationStatus) and exposes 49 fields with key fields CentralPurchaseContract, CentralPurchaseContractItem, ConditionRecord, ConditionValidityEndDate, ConditionSequentialNumber.

Data Sources (4)

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Union Layer Central Contract Exch Rate view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.dataMaintenance #RESTRICTED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY CentralPurchaseContract I_CntrlPurContrExchangeRateNew CentralPurchaseContract Purchasing Doc.
KEY CentralPurchaseContractItem I_CntrlPurContrExchangeRateNew CentralPurchaseContractItem Item in Central Purchase Contract
KEY ConditionRecord I_CntrlPurContrExchangeRateNew ConditionRecord Cond.Record No.
KEY ConditionValidityEndDate I_CntrlPurContrExchangeRateNew ConditionValidityEndDate Valid To
KEY ConditionSequentialNumber I_CntrlPurContrExchangeRateNew ConditionSequentialNumber SequNo of Cond.
KEY PricingConditionTerm I_CntrlPurContrExchangeRateNew PricingConditionTerm Term Number
KEY PrcgCndnTrmExchRateDateTime I_CntrlPurContrExchangeRateNew PrcgCndnTrmExchRateDateTime Exch Rate Time Stamp
CndnExchRatePerdDetnResultUUID I_CntrlPurContrExchangeRateNew CndnTrmQtanPerdDetnResultUUID PerDet.Out.GUID
PrcgConditionExchangeRateType I_CntrlPurContrExchangeRateNew PrcgConditionExchangeRateType Exch. Rate Type
PricingConditionSourceCurrency I_CntrlPurContrExchangeRateNew PricingConditionSourceCurrency Curr:Conv. from
PricingConditionTargetCurrency I_CntrlPurContrExchangeRateNew PricingConditionTargetCurrency Curr.: Conv. to
PricingConditionExchangeRate I_CntrlPurContrExchangeRateNew PricingConditionExchangeRate Conv.:Ex.Rate
NumberOfSourceCurrencyUnits I_CntrlPurContrExchangeRateNew NumberOfSourceCurrencyUnits Ratio (from)
NumberOfTargetCurrencyUnits I_CntrlPurContrExchangeRateNew NumberOfTargetCurrencyUnits Ratio (to)
CndnTrmExchRateSubstnDateTime I_CntrlPurContrExchangeRateNew CndnTrmExchRateSubstnDateTime Subst Time Stamp
CndnTrmExchRateIsNonTradingDay I_CntrlPurContrExchangeRateNew CndnTrmExchRateIsNonTradingDay Non-Trading Day
PrcgCndnTrmExchRateIsMissing I_CntrlPurContrExchangeRateNew PrcgCndnTrmExchRateIsMissing ExchangeRate Missing
CndnTrmExchRateIsSubstituted I_CntrlPurContrExchangeRateNew CndnTrmExchRateIsSubstituted Substitute Exr
PrcgCndnTrmExchRateIsIgnored I_CntrlPurContrExchangeRateNew PrcgCndnTrmExchRateIsIgnored Exchg. Rate Ignored
PrcgCndnTrmExchRateFcstStatus I_CntrlPurContrExchangeRateNew PrcgCndnTrmExchRateFcstStatus Forecast Status
PrcgConditionSwapExchangeRate I_CntrlPurContrExchangeRateNew PrcgConditionSwapExchangeRate Swap Exchange Rate
PrcgConditionSpotExchangeRate I_CntrlPurContrExchangeRateNew PrcgConditionSpotExchangeRate Spot Exchange Rate
ConditionType I_CntrlPurContrExchangeRateNew ConditionType Condition type
_ExchRateSourceCurrency I_CntrlPurContrExchangeRateNew _ExchRateSourceCurrency
CentralPurchaseContract Purchasing Doc.
KEY CentralPurchaseContractItem I_CntrlPurContrCmmdtyExchRate CentralPurchaseContractItem Item in Central Purchase Contract
KEY ConditionRecord I_CntrlPurContrCmmdtyExchRate ConditionRecord Cond.Record No.
KEY ConditionValidityEndDate I_CntrlPurContrCmmdtyExchRate ConditionValidityEndDate Valid To
KEY ConditionSequentialNumber I_CntrlPurContrCmmdtyExchRate ConditionSequentialNumber SequNo of Cond.
KEY PricingConditionTerm I_CntrlPurContrCmmdtyExchRate PricingConditionTerm Term Number
KEY PrcgCndnTrmExchRateDateTime I_CntrlPurContrCmmdtyExchRate PrcgCndnTrmExchRateDateTime Exch Rate Time Stamp
CndnExchRatePerdDetnResultUUID I_CntrlPurContrCmmdtyExchRate CndnExchRatePerdDetnResultUUID PerDet.Out.GUID
PrcgConditionExchangeRateType I_CntrlPurContrCmmdtyExchRate PrcgConditionExchangeRateType Exch. Rate Type
PricingConditionSourceCurrency I_CntrlPurContrCmmdtyExchRate PricingConditionSourceCurrency Curr:Conv. from
PricingConditionTargetCurrency I_CntrlPurContrCmmdtyExchRate PricingConditionTargetCurrency Curr.: Conv. to
PricingConditionExchangeRate I_CntrlPurContrCmmdtyExchRate PricingConditionExchangeRate Conv.:Ex.Rate
NumberOfSourceCurrencyUnits I_CntrlPurContrCmmdtyExchRate NumberOfSourceCurrencyUnits Ratio (from)
NumberOfTargetCurrencyUnits I_CntrlPurContrCmmdtyExchRate NumberOfTargetCurrencyUnits Ratio (to)
CndnTrmExchRateSubstnDateTime I_CntrlPurContrCmmdtyExchRate CndnTrmExchRateSubstnDateTime Subst Time Stamp
CndnTrmExchRateIsNonTradingDay I_CntrlPurContrCmmdtyExchRate CndnTrmExchRateIsNonTradingDay Non-Trading Day
PrcgCndnTrmExchRateIsMissing I_CntrlPurContrCmmdtyExchRate PrcgCndnTrmExchRateIsMissing ExchangeRate Missing
CndnTrmExchRateIsSubstituted I_CntrlPurContrCmmdtyExchRate CndnTrmExchRateIsSubstituted Substitute Exr
PrcgCndnTrmExchRateIsIgnored I_CntrlPurContrCmmdtyExchRate PrcgCndnTrmExchRateIsIgnored Exchg. Rate Ignored
PrcgCndnTrmExchRateFcstStatus I_CntrlPurContrCmmdtyExchRate PrcgCndnTrmExchRateFcstStatus Forecast Status
PrcgConditionSwapExchangeRate I_CntrlPurContrCmmdtyExchRate PrcgConditionSwapExchangeRate Swap Exchange Rate
PrcgConditionSpotExchangeRate I_CntrlPurContrCmmdtyExchRate PrcgConditionSpotExchangeRate Spot Exchange Rate
ConditionType I_CntrlPurContrCmmdtyExchRate ConditionType Condition type
_ExchRateSourceCurrency I_CntrlPurContrCmmdtyExchRate _ExchRateSourceCurrency
_ExchRateTargetCurrency I_CntrlPurContrCmmdtyExchRate _ExchRateTargetCurrency

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_CntrlPurContrExchRateUnion.
-- 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.

CREATE VIEW I_CntrlPurContrExchRateUnion AS
SELECT
  new.CentralPurchaseContract AS CentralPurchaseContract,
  new.CentralPurchaseContractItem AS CentralPurchaseContractItem,
  new.ConditionRecord AS ConditionRecord,
  new.ConditionValidityEndDate AS ConditionValidityEndDate,
  new.ConditionSequentialNumber AS ConditionSequentialNumber,
  new.PricingConditionTerm AS PricingConditionTerm,
  new.PrcgCndnTrmExchRateDateTime AS PrcgCndnTrmExchRateDateTime,
  new.CndnTrmQtanPerdDetnResultUUID AS CndnExchRatePerdDetnResultUUID,
  new.PrcgConditionExchangeRateType AS PrcgConditionExchangeRateType,
  new.PricingConditionSourceCurrency AS PricingConditionSourceCurrency,
  new.PricingConditionTargetCurrency AS PricingConditionTargetCurrency,
  new.PricingConditionExchangeRate AS PricingConditionExchangeRate,
  new.NumberOfSourceCurrencyUnits AS NumberOfSourceCurrencyUnits,
  new.NumberOfTargetCurrencyUnits AS NumberOfTargetCurrencyUnits,
  new.CndnTrmExchRateSubstnDateTime AS CndnTrmExchRateSubstnDateTime,
  new.CndnTrmExchRateIsNonTradingDay AS CndnTrmExchRateIsNonTradingDay,
  new.PrcgCndnTrmExchRateIsMissing AS PrcgCndnTrmExchRateIsMissing,
  new.CndnTrmExchRateIsSubstituted AS CndnTrmExchRateIsSubstituted,
  new.PrcgCndnTrmExchRateIsIgnored AS PrcgCndnTrmExchRateIsIgnored,
  new.PrcgCndnTrmExchRateFcstStatus AS PrcgCndnTrmExchRateFcstStatus,
  new.PrcgConditionSwapExchangeRate AS PrcgConditionSwapExchangeRate,
  new.PrcgConditionSpotExchangeRate AS PrcgConditionSpotExchangeRate,
  new.ConditionType AS ConditionType,
  new._ExchRateSourceCurrency AS _ExchRateSourceCurrency,
  old._ExchRateTargetCurrency AS _ExchRateTargetCurrency
FROM I_CntrlPurContrExchangeRateNew AS new
INNER JOIN I_CmmdtyPricingMigrationStatus AS tf ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_CntrlPurContrCmmdtyExchRate
;