P_MDRefIntCalDate

DDL: P_MDREFINTCALDATE SQL: PMDREFINTCALDATE Type: view COMPOSITE

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

Data Sources (2)

SourceAliasJoin Type
I_CalendarDate CalendarDate from
I_ReferenceInterestRateVal RefInt left_outer

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Annotations (8)

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

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ReferenceInterestRate I_ReferenceInterestRateVal ReferenceInterestRate Ref.int.rate
KEY CalendarDate I_CalendarDate CalendarDate Calendar Date
EffectiveDate

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_MDRefIntCalDate.
-- 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: PMDREFINTCALDATE
-- Parameters: P_KeyDate : vdm_v_key_date

CREATE VIEW P_MDRefIntCalDate AS
SELECT
  RefInt.ReferenceInterestRate AS ReferenceInterestRate,
  CalendarDate.CalendarDate AS CalendarDate,
  max ( RefInt.EffectiveDate) AS EffectiveDate
FROM I_CalendarDate AS CalendarDate
LEFT OUTER JOIN I_ReferenceInterestRateVal AS RefInt ON /* join condition not captured in parsed metadata */
;