P_IRM_REFINT_HIST_KEYDATE

DDL: P_IRM_REFINT_HIST_KEYDATE SQL: PREFINTHISTKEYD Type: view COMPOSITE Package: FTR_IRM_CORE

Calculate term date view

P_IRM_REFINT_HIST_KEYDATE is a Composite CDS View that provides data about "Calculate term date view" in SAP S/4HANA. It reads from 2 data sources (P_IRM_REFINT_DATE_CYCLE, I_ReferenceInterestRateVal) and exposes 5 fields. Part of development package FTR_IRM_CORE.

Data Sources (2)

SourceAliasJoin Type
P_IRM_REFINT_DATE_CYCLE P_IRM_REFINT_DATE_CYCLE from
I_ReferenceInterestRateVal ReferenceInterestRate left_outer

Parameters (2)

NameTypeDefault
P_KeyDate vdm_v_key_date
P_CalendarFrequency ftr_date_granularity

Annotations (7)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
ReferenceInterestRate I_ReferenceInterestRateVal ReferenceInterestRate Ref.int.rate
EffectiveDate
_ReferenceInterestRate I_ReferenceInterestRateVal _ReferenceInterestRate
KeyDate CalendarDate KeyDate Maturity Key Date
CreditLineReportingPeriod CalendarDate CreditLineReportingPeriod

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_IRM_REFINT_HIST_KEYDATE.
-- 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: PREFINTHISTKEYD
-- Parameters: P_KeyDate : vdm_v_key_date, P_CalendarFrequency : ftr_date_granularity

CREATE VIEW P_IRM_REFINT_HIST_KEYDATE AS
SELECT
  ReferenceInterestRate.ReferenceInterestRate AS ReferenceInterestRate,
  max(ReferenceInterestRate.EffectiveDate) AS EffectiveDate,
  ReferenceInterestRate._ReferenceInterestRate AS _ReferenceInterestRate,
  CalendarDate.KeyDate AS KeyDate,
  CalendarDate.CreditLineReportingPeriod AS CreditLineReportingPeriod
FROM P_IRM_REFINT_DATE_CYCLE
LEFT OUTER JOIN I_ReferenceInterestRateVal AS ReferenceInterestRate ON /* join condition not captured in parsed metadata */
;