P_MMPurExchangeRate

DDL: P_MMPUREXCHANGERATE SQL: PIFIEXCHRATE Type: view COMPOSITE Package: HUBERPI_MM_ODATA_F4

Material Management Purchasing ExchangeRate

P_MMPurExchangeRate is a Composite CDS View that provides data about "Material Management Purchasing ExchangeRate" in SAP S/4HANA. It reads from 1 data source (I_ExchangeRate) and exposes 4 fields with key fields ExchangeRateType, SourceCurrency, TargetCurrency. Part of development package HUBERPI_MM_ODATA_F4.

Data Sources (1)

SourceAliasJoin Type
I_ExchangeRate I_ExchangeRate from

Annotations (10)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PIFIEXCHRATE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ExchangeRateType ExchangeRateType Exch. Rate Type
KEY SourceCurrency SourceCurrency From currency
KEY TargetCurrency TargetCurrency Trans. Currency
ExchangeRateEffectiveDate

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_MMPurExchangeRate.
-- 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: PIFIEXCHRATE

CREATE VIEW P_MMPurExchangeRate AS
SELECT
  ExchangeRateType,
  SourceCurrency,
  TargetCurrency,
  max(ExchangeRateEffectiveDate) AS ExchangeRateEffectiveDate
FROM I_ExchangeRate
;