P_IRM_IR_Pre_Effective_Date

DDL: P_IRM_IR_PRE_EFFECTIVE_DATE SQL: PIRMIRPREEFFDATE Type: view COMPOSITE Package: FTR_IRM_CORE

Interest Rate OVP Previous Effective Date

P_IRM_IR_Pre_Effective_Date is a Composite CDS View that provides data about "Interest Rate OVP Previous Effective Date" in SAP S/4HANA. It reads from 2 data sources (P_IRM_IR_Effective_Date, I_ReferenceInterestRateVal) and exposes 3 fields with key fields ReferenceInterestRate, EffectiveDate. Part of development package FTR_IRM_CORE.

Data Sources (2)

SourceAliasJoin Type
P_IRM_IR_Effective_Date P_IRM_IR_Effective_Date from
I_ReferenceInterestRateVal ref2 left_outer

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PIRMIRPREEFFDATE view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ReferenceInterestRate ref1 ReferenceInterestRate Ref.int.rate
KEY EffectiveDate
_ReferenceInterestRate ref1 _ReferenceInterestRate

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_IR_Pre_Effective_Date.
-- 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: PIRMIRPREEFFDATE
-- Parameters: P_KeyDate : vdm_v_key_date

CREATE VIEW P_IRM_IR_Pre_Effective_Date AS
SELECT
  ref1.ReferenceInterestRate AS ReferenceInterestRate,
  max(ref2.EffectiveDate) AS EffectiveDate,
  ref1._ReferenceInterestRate AS _ReferenceInterestRate
FROM P_IRM_IR_Effective_Date
LEFT OUTER JOIN I_ReferenceInterestRateVal AS ref2 ON /* join condition not captured in parsed metadata */
;