C_CrcyExchRateChangeLogRecord

DDL: C_CRCYEXCHRATECHANGELOGRECORD SQL: CCRCYEXCHRTLG Type: view CONSUMPTION

Change Log Records for Currency Ex. Rate

C_CrcyExchRateChangeLogRecord is a Consumption CDS View that provides data about "Change Log Records for Currency Ex. Rate" in SAP S/4HANA. It reads from 1 data source (I_CrcyExchRateChangeLogRecord) and exposes 23 fields with key fields TableChangeLogDate, TableChangeLogTime, TableChangeLog. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CrcyExchRateChangeLogRecord I_CrcyExchRateChangeLogRecord from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_UserContactCard _TableChangeLogUser $projection.TableChangeLogUser = _TableChangeLogUser.ContactCardID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CCRCYEXCHRTLG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Change Log Records for Currency Ex. Rate view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY TableChangeLogDate TableChangeLogDate Date
KEY TableChangeLogTime TableChangeLogTime Time
KEY TableChangeLog TableChangeLog
TableChangeLogKey TableChangeLogKey
TableChangeLogUser TableChangeLogUser
FullName _TableChangeLogUser FullName Name
TableChangeLogOperation TableChangeLogOperation
TableChangeLogVersion TableChangeLogVersion
Language Language Report Text Language
SAPClient SAPClient Client ID
ExchangeRateType ExchangeRateType Exch. Rate Type
SourceCurrency SourceCurrency
TargetCurrency TargetCurrency
ExchangeRateEffectiveDate
PrevExchRateIsIndrctQuotation
PrevExchangeRateQuotationName Previous Quotation
OperationText Operation
PreviousAbsoluteExchangeRate Previous Exchange Rate
ExchRateIsIndirectQuotation
ExchangeRateQuotationName Quotation
AbsoluteExchangeRate Exchange Rate
NmbrOfChangeLogDataCharacters NmbrOfChangeLogDataCharacters
TableChangeLogValue 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_CrcyExchRateChangeLogRecord.
-- 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: CCRCYEXCHRTLG

CREATE VIEW C_CrcyExchRateChangeLogRecord AS
SELECT
  TableChangeLogDate,
  TableChangeLogTime,
  TableChangeLog,
  TableChangeLogKey,
  TableChangeLogUser,
  _TableChangeLogUser.FullName AS FullName,
  TableChangeLogOperation,
  TableChangeLogVersion,
  Language,
  SAPClient,
  ExchangeRateType,
  SourceCurrency,
  TargetCurrency,
  cast(substring(cast(99999999 - ExchangeRateEffectiveDate as abap.char(20)), 1, 8) as exchangerateeffectivedate) AS ExchangeRateEffectiveDate,
  '' AS PrevExchRateIsIndrctQuotation,
  cast('' as char30) AS PrevExchangeRateQuotationName,
  cast('' as char30) AS OperationText,
  cast(0 as fis_absolute_exchangerate) AS PreviousAbsoluteExchangeRate,
  '' AS ExchRateIsIndirectQuotation,
  cast('' as char30) AS ExchangeRateQuotationName,
  cast(0 as fis_absolute_exchangerate) AS AbsoluteExchangeRate,
  NmbrOfChangeLogDataCharacters,
  TableChangeLogValue
FROM I_CrcyExchRateChangeLogRecord
LEFT OUTER JOIN I_UserContactCard AS _TableChangeLogUser ON TableChangeLogUser = _TableChangeLogUser.ContactCardID  -- association [0..1]
;