I_CurrencyExchangeRateTP

DDL: I_CURRENCYEXCHANGERATETP SQL: ICRCYEXCHRATETP Type: view TRANSACTIONAL

Crcy Exchange Rate Transactional View

I_CurrencyExchangeRateTP is a Transactional CDS View that provides data about "Crcy Exchange Rate Transactional View" in SAP S/4HANA. It reads from 1 data source (R_CurrencyExchangeRate) and exposes 23 fields with key fields ExchangeRateType, SourceCurrency, TargetCurrency, ExchangeRateEffectiveDate.

Data Sources (1)

SourceAliasJoin Type
R_CurrencyExchangeRate R_CurrencyExchangeRate from

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName ICRCYEXCHRATETP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence CRCYEXCHRT_DRAFT view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.entityChangeStateId ChangeStateID view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.sapObjectNodeType.name ExchangeRate view
EndUserText.label Crcy Exchange Rate Transactional View view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ExchangeRateType ExchangeRateType Exch. Rate Type
KEY SourceCurrency
KEY TargetCurrency
KEY ExchangeRateEffectiveDate
ExchangeRateTypeForEdit ExchangeRateType Exch. Rate Type
SourceCurrencyForEdit
TargetCurrencyForEdit
ExchangeRateEffectiveDateFoEd
CrcyExchangeRateValidOnDate CrcyExchangeRateValidOnDate
ExchangeRate ExchangeRate Exchange rate
NumberOfSourceCurrencyUnits NumberOfSourceCurrencyUnits Ratio (from)
NumberOfTargetCurrencyUnits NumberOfTargetCurrencyUnits Ratio (to)
ExchRateIsIndirectQuotation ExchRateIsIndirectQuotation Exchange Rate Is Indirect Quotation
AbsoluteExchangeRate AbsoluteExchangeRate Absolute Exchange Rate
EffectiveExchangeRate EffectiveExchangeRate Effective Exch. Rate
DirectQuotedEffectiveExchRate DirectQuotedEffectiveExchRate
IndirectQuotedEffctvExchRate IndirectQuotedEffctvExchRate
StatisticsExchangeRate StatisticsExchangeRate
CurrencyPair CurrencyPair
CurrencyPairText CurrencyPairText
NumberOfIncompleteFields
Status
char11ashash160asChangeStateID Ratio (from)

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_CurrencyExchangeRateTP.
-- 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: ICRCYEXCHRATETP

CREATE VIEW I_CurrencyExchangeRateTP AS
SELECT
  ExchangeRateType,
  cast(SourceCurrency as fac_sourcecurrency) AS SourceCurrency,
  cast(TargetCurrency as fac_targetcurrency) AS TargetCurrency,
  cast(ExchangeRateEffectiveDate as abap.char(8)) AS ExchangeRateEffectiveDate,
  ExchangeRateType AS ExchangeRateTypeForEdit,
  cast(SourceCurrency as fac_sourcecurrency) AS SourceCurrencyForEdit,
  cast(TargetCurrency as fac_targetcurrency) AS TargetCurrencyForEdit,
  cast(ExchangeRateEffectiveDate as exchangerateeffectivedate) AS ExchangeRateEffectiveDateFoEd,
  CrcyExchangeRateValidOnDate,
  ExchangeRate,
  NumberOfSourceCurrencyUnits,
  NumberOfTargetCurrencyUnits,
  ExchRateIsIndirectQuotation,
  AbsoluteExchangeRate,
  EffectiveExchangeRate,
  DirectQuotedEffectiveExchRate,
  IndirectQuotedEffctvExchRate,
  StatisticsExchangeRate,
  CurrencyPair,
  CurrencyPairText,
  cast(0 as abap.int1) AS NumberOfIncompleteFields,
  cast(0 as abap.int1) AS Status,
  cast( concat( ExchRateIsIndirectQuotation, concat( cast( NumberOfSourceCurrencyUnits as abap.char( 11 ) ), concat( cast( NumberOfTargetCurrencyUnits as abap.char( 11 ) ), cast( AbsoluteExchangeRate as abap.char( 11 ) ) ) ) ) as hash160 ) as ChangeStateID AS char11ashash160asChangeStateID
FROM R_CurrencyExchangeRate
;