I_PrcgCndnQtanGrpExchangeRate
Exchange Rates in Quotation Group
I_PrcgCndnQtanGrpExchangeRate is a Basic CDS View that provides data about "Exchange Rates in Quotation Group" in SAP S/4HANA. It reads from 1 data source (cpe_qtgp_exchrt) and exposes 22 fields with key fields DocItmCmmdtyPrcgCndnUUID, PricingConditionTerm, CmmdtyPrcgCndnQtanGroupItem, PrcgConditionConversionPlace, PrcgCndnTrmExchRateDateTime.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cpe_qtgp_exchrt | cpe_qtgp_exchrt | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.technicalName | IPrcgCndnQtanGrpExchangeRate | view | |
| EndUserText.label | Exchange Rates in Quotation Group | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocItmCmmdtyPrcgCndnUUID | docitemcond_guid | Doc. Cond. Item GUID | |
| KEY | PricingConditionTerm | termno | Term Number | |
| KEY | CmmdtyPrcgCndnQtanGroupItem | quotgrouppos | Position | |
| KEY | PrcgConditionConversionPlace | convplace | Conv. Place | |
| KEY | PrcgCndnTrmExchRateDateTime | exchangerate_timestamp | Exch Rate Time Stamp | |
| PrcgConditionExchangeRateType | exchangerate_type | Exch. Rate Type | ||
| PricingConditionSourceCurrency | from_currency | Curr:Conv. from | ||
| PricingConditionTargetCurrency | to_currency | Target Currency | ||
| PricingConditionExchangeRate | exchangerate | Exchange rate | ||
| NumberOfSourceCurrencyUnits | ratio_from_currency | Ratio (from) | ||
| NumberOfTargetCurrencyUnits | ratio_to_currency | Ratio (to) | ||
| CndnTrmExchRateSubstnDateTime | substitution_timestamp | Subst Time Stamp | ||
| CndnTrmExchRateIsNonTradingDay | closed_market | Non-Trading Day | ||
| PrcgCndnTrmExchRateIsMissing | missing | Quotation Missing | ||
| CndnTrmExchRateIsSubstituted | substituted | Substitute Qtn | ||
| PrcgCndnTrmExchRateIsIgnored | ignored | Quotation Ignored | ||
| PrcgCndnTrmExchRateFcstStatus | forecast_status | Forecast Status | ||
| PrcgConditionSwapExchangeRate | swap_rate | Swap Exchange Rate | ||
| PrcgConditionSpotExchangeRate | spot_rate | Spot Exchange Rate | ||
| _PrcgCndnQtanGrpCnvrsnResult | _PrcgCndnQtanGrpCnvrsnResult | |||
| _CmmdtyPrcgConditionFormula | _CmmdtyPrcgConditionFormula | |||
| _CmmdtyPrcgConversionPlace | _CmmdtyPrcgConversionPlace |
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_PrcgCndnQtanGrpExchangeRate.
-- 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_PrcgCndnQtanGrpExchangeRate AS
SELECT
docitemcond_guid AS DocItmCmmdtyPrcgCndnUUID,
termno AS PricingConditionTerm,
quotgrouppos AS CmmdtyPrcgCndnQtanGroupItem,
convplace AS PrcgConditionConversionPlace,
exchangerate_timestamp AS PrcgCndnTrmExchRateDateTime,
exchangerate_type AS PrcgConditionExchangeRateType,
from_currency AS PricingConditionSourceCurrency,
to_currency AS PricingConditionTargetCurrency,
exchangerate AS PricingConditionExchangeRate,
ratio_from_currency AS NumberOfSourceCurrencyUnits,
ratio_to_currency AS NumberOfTargetCurrencyUnits,
substitution_timestamp AS CndnTrmExchRateSubstnDateTime,
closed_market AS CndnTrmExchRateIsNonTradingDay,
missing AS PrcgCndnTrmExchRateIsMissing,
substituted AS CndnTrmExchRateIsSubstituted,
ignored AS PrcgCndnTrmExchRateIsIgnored,
forecast_status AS PrcgCndnTrmExchRateFcstStatus,
swap_rate AS PrcgConditionSwapExchangeRate,
spot_rate AS PrcgConditionSpotExchangeRate
FROM cpe_qtgp_exchrt
;
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