P_MDRefInt

DDL: P_MDREFINT SQL: PMDREFRATE Type: view COMPOSITE

P_MDRefInt is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_MDRefIntCalDate, I_ReferenceInterestRateVal) and exposes 5 fields with key fields ReferenceInterestRate, CalendarDate.

Data Sources (2)

SourceAliasJoin Type
P_MDRefIntCalDate P_MDRefIntCalDate from
I_ReferenceInterestRateVal RefIntVal left_outer

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PMDREFRATE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #B view
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ReferenceInterestRate RefInt ReferenceInterestRate Ref.int.rate
KEY CalendarDate RefInt CalendarDate Calendar Date
Currency
EffectiveDate RefInt EffectiveDate Effective Date
EffectiveInterestRate I_ReferenceInterestRateVal EffectiveInterestRate Interest Rate

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_MDRefInt.
-- 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: PMDREFRATE
-- Parameters: P_KeyDate : vdm_v_key_date

CREATE VIEW P_MDRefInt AS
SELECT
  RefInt.ReferenceInterestRate AS ReferenceInterestRate,
  RefInt.CalendarDate AS CalendarDate,
  RefIntVal._ReferenceInterestRate.Currency AS Currency,
  RefInt.EffectiveDate AS EffectiveDate,
  RefIntVal.EffectiveInterestRate AS EffectiveInterestRate
FROM P_MDRefIntCalDate
LEFT OUTER JOIN I_ReferenceInterestRateVal AS RefIntVal ON /* join condition not captured in parsed metadata */
;