P_AR_ConversionFactors

DDL: P_AR_CONVERSIONFACTORS Type: view_entity CONSUMPTION

P_AR_ConversionFactors is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_ExchangeRateFactorsRawData) and exposes 5 fields with key fields ExchangeRateType, SourceCurrency, TargetCurrency.

Data Sources (1)

SourceAliasJoin Type
I_ExchangeRateFactorsRawData ConversionFactors from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ExchangeRateType I_ExchangeRateFactorsRawData ExchangeRateType Exch. Rate Type
KEY SourceCurrency I_ExchangeRateFactorsRawData SourceCurrency From currency
KEY TargetCurrency I_ExchangeRateFactorsRawData TargetCurrency Trans. Currency
ValidityStartDate I_ExchangeRateFactorsRawData ValidityStartDate Validity Start Date
NumberOfTargetCurrencyUnits

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 P_AR_ConversionFactors.
-- 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 P_AR_ConversionFactors AS
SELECT
  ConversionFactors.ExchangeRateType AS ExchangeRateType,
  ConversionFactors.SourceCurrency AS SourceCurrency,
  ConversionFactors.TargetCurrency AS TargetCurrency,
  ConversionFactors.ValidityStartDate AS ValidityStartDate,
  min(ConversionFactors.NumberOfTargetCurrencyUnits) AS NumberOfTargetCurrencyUnits
FROM I_ExchangeRateFactorsRawData AS ConversionFactors
;