I_CntrlPurContrExchRateUnion
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CntrlPurContrExchangeRateNew | new | from |
| I_CntrlPurContrCmmdtyExchRate | old | union_all |
| I_CmmdtyPricingMigrationStatus | tf | inner |
| I_CmmdtyPricingMigrationStatus | tf | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA