I_ExchangeRateFactorsRawData

DDL: I_EXCHANGERATEFACTORSRAWDATA SQL: ICURRCONVFACTRAW Type: view BASIC

Exchange Rate Factors Raw Data

I_ExchangeRateFactorsRawData (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_ExchangeRateFactorsRawData is a Basic CDS View that provides data about "Exchange Rate Factors Raw Data" in SAP S/4HANA. It reads from 1 data source (tcurf) and exposes 11 fields with key fields ExchangeRateType, SourceCurrency, TargetCurrency, datsendasValidityStartDate. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentBC-SRV-BSF-CUR
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
tcurf tcurf from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_ExchangeRateType _ExchangeRateType $projection.ExchangeRateType = _ExchangeRateType.ExchangeRateType
[0..1] I_Currency _SourceCurrency $projection.SourceCurrency = _SourceCurrency.Currency
[0..1] I_Currency _TargetCurrency $projection.TargetCurrency = _TargetCurrency.Currency

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ICURRCONVFACTRAW view
EndUserText.label Exchange Rate Factors Raw Data view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #CUSTOMIZING view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ExchangeRateType kurst Fix.rate type (EMU)
KEY SourceCurrency fcurr From currency
KEY TargetCurrency tcurr Trans. Currency
KEY datsendasValidityStartDate Valid until
NumberOfSourceCurrencyUnits ffact Ratio for the "from" currency units
NumberOfTargetCurrencyUnits tfact Ratio for the "to" currency units
AlternativeExchangeRateType abwct Alternative Exchange Rate Type
AltvExchangeRateTypeValdtyDate abwga Date from which the alternative exchange rate type is valid
_ExchangeRateType _ExchangeRateType
_SourceCurrency _SourceCurrency
_TargetCurrency _TargetCurrency

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_ExchangeRateFactorsRawData.
-- 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: ICURRCONVFACTRAW

CREATE VIEW I_ExchangeRateFactorsRawData AS
SELECT
  kurst AS ExchangeRateType,
  fcurr AS SourceCurrency,
  tcurr AS TargetCurrency,
  case gdatu when '' then cast('00000000' as abap.dats) else cast(substring(cast(99999999 - cast(cast(gdatu as abap.numc(8)) as abap.int4) as abap.char(20)), 1, 8) as abap.dats) end as ValidityStartDate AS datsendasValidityStartDate,
  ffact AS NumberOfSourceCurrencyUnits,
  tfact AS NumberOfTargetCurrencyUnits,
  abwct AS AlternativeExchangeRateType,
  abwga AS AltvExchangeRateTypeValdtyDate
FROM tcurf
LEFT OUTER JOIN I_ExchangeRateType AS _ExchangeRateType ON ExchangeRateType = _ExchangeRateType.ExchangeRateType  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _SourceCurrency ON SourceCurrency = _SourceCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TargetCurrency ON TargetCurrency = _TargetCurrency.Currency  -- association [0..1]
;