P_IRM_IR_Effective_Date

DDL: P_IRM_IR_EFFECTIVE_DATE SQL: PIREFFCTVIRDATE Type: view COMPOSITE

P_IRM_IR_Effective_Date is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ReferenceInterestRateVal) and exposes 3 fields with key fields ReferenceInterestRate, EffectiveDate.

Data Sources (1)

SourceAliasJoin Type
I_ReferenceInterestRateVal ReferenceInterestRate from

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Annotations (10)

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

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ReferenceInterestRate I_ReferenceInterestRateVal ReferenceInterestRate Ref.int.rate
KEY EffectiveDate
_ReferenceInterestRate I_ReferenceInterestRateVal _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_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: PIREFFCTVIRDATE
-- Parameters: P_KeyDate : vdm_v_key_date

CREATE VIEW P_IRM_IR_Effective_Date AS
SELECT
  ReferenceInterestRate.ReferenceInterestRate AS ReferenceInterestRate,
  max(ReferenceInterestRate.EffectiveDate) AS EffectiveDate,
  ReferenceInterestRate._ReferenceInterestRate AS _ReferenceInterestRate
FROM I_ReferenceInterestRateVal AS ReferenceInterestRate
;