C_CrcyExchRateChangeLogRecord2

DDL: C_CRCYEXCHRATECHANGELOGRECORD2 Type: view_entity CONSUMPTION Package: ODATA_CRCY_EXCHANGE_RATES_V2

Change Log Records for Crcy Exch Rate

C_CrcyExchRateChangeLogRecord2 is a Consumption CDS View that provides data about "Change Log Records for Crcy Exch Rate" in SAP S/4HANA. It reads from 1 data source (I_CrcyExchRateChangeLogRecord) and exposes 24 fields with key fields TableChangeLogDate, TableChangeLogTime, TableChangeLog. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F3616, UI_CURRENCYEXCHANGERATE). It is used in 1 Fiori application: Currency Exchange Rates. Part of development package ODATA_CRCY_EXCHANGE_RATES_V2.

Data Sources (1)

SourceAliasJoin Type
I_CrcyExchRateChangeLogRecord I_CrcyExchRateChangeLogRecord from

Associations (2)

CardinalityTargetAliasCondition
[0..1] R_CrcyExchRateChgLgOpText _CrcyExchRateChgLgOpText $projection.TableChangeLogOperation = _CrcyExchRateChgLgOpText.TableChangeLogOperation and _CrcyExchRateChgLgOpText.Language = $session.system_language
[0..1] I_UserContactCard _TableChangeLogUser $projection.TableChangeLogUser = _TableChangeLogUser.ContactCardID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Change Log Records for Crcy Exch Rate view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F3616 ASQL_F3616 C2 NOT_RELEASED
UI_CURRENCYEXCHANGERATE UI_CURRENCYEXCHANGERATE V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F3616 Currency Exchange Rates Transactional With this app you can monitor, create, and change currency exchange rates.

Currency Exchange Rates

Business Role: General Ledger Accountant

With this app you can monitor, create, and change currency exchange rates.

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY TableChangeLogDate TableChangeLogDate
KEY TableChangeLogTime TableChangeLogTime
KEY TableChangeLog TableChangeLog
TableChangeLogDateTime TableChangeLogDateTime Date Time
TableChangeLogKey TableChangeLogKey
TableChangeLogUser TableChangeLogUser
FullName _TableChangeLogUser FullName Name
TableChangeLogOperation TableChangeLogOperation Operation
TableChangeLogOperationName _CrcyExchRateChgLgOpText TableChangeLogOperationName
TableChangeLogVersion TableChangeLogVersion
Language Language Report Text Language
SAPClient SAPClient Client ID
ExchangeRateType ExchangeRateType Exch. Rate Type
SourceCurrency SourceCurrency
TargetCurrency TargetCurrency
ExchangeRateEffectiveDate
PreviousExchangeRateQuotation
PrevExchangeRateQuotationName Previous Quotation
PreviousAbsoluteExchangeRate Previous Exchange Rate
ExchangeRateQuotation
ExchangeRateQuotationName Quotation
AbsoluteExchangeRate Exchange Rate
NmbrOfChangeLogDataCharacters NmbrOfChangeLogDataCharacters
TableChangeLogBinary TableChangeLogValue

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 C_CrcyExchRateChangeLogRecord2.
-- 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 C_CrcyExchRateChangeLogRecord2 AS
SELECT
  TableChangeLogDate,
  TableChangeLogTime,
  TableChangeLog,
  TableChangeLogDateTime,
  TableChangeLogKey,
  TableChangeLogUser,
  _TableChangeLogUser.FullName AS FullName,
  TableChangeLogOperation,
  _CrcyExchRateChgLgOpText.TableChangeLogOperationName AS TableChangeLogOperationName,
  TableChangeLogVersion,
  Language,
  SAPClient,
  ExchangeRateType,
  SourceCurrency,
  TargetCurrency,
  cast(substring(cast(99999999 - ExchangeRateEffectiveDate as abap.char(20)), 1, 8) as exchangerateeffectivedate) AS ExchangeRateEffectiveDate,
  cast('' as exchangeratequotation) AS PreviousExchangeRateQuotation,
  cast('' as char30) AS PrevExchangeRateQuotationName,
  cast(0 as fis_absolute_exchangerate) AS PreviousAbsoluteExchangeRate,
  cast('' as exchangeratequotation) AS ExchangeRateQuotation,
  cast('' as char30) AS ExchangeRateQuotationName,
  cast(0 as fis_absolute_exchangerate) AS AbsoluteExchangeRate,
  NmbrOfChangeLogDataCharacters,
  TableChangeLogValue AS TableChangeLogBinary
FROM I_CrcyExchRateChangeLogRecord
LEFT OUTER JOIN R_CrcyExchRateChgLgOpText AS _CrcyExchRateChgLgOpText ON TableChangeLogOperation = _CrcyExchRateChgLgOpText.TableChangeLogOperation AND _CrcyExchRateChgLgOpText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _TableChangeLogUser ON TableChangeLogUser = _TableChangeLogUser.ContactCardID  -- association [0..1]
;