P_Vlogp_Curves

DDL: P_VLOGP_CURVES SQL: PVLOGPCURVES Type: view BASIC Package: LOG_CMM_RUNTIME_VALUATION

Vlogp Curves

P_Vlogp_Curves is a Basic CDS View that provides data about "Vlogp Curves" in SAP S/4HANA. It reads from 1 data source (cmm_vlogp) and exposes 8 fields with key fields bukrs, curve, curve_date, curve_reading_dateendasbegin_Date. Part of development package LOG_CMM_RUNTIME_VALUATION.

Data Sources (1)

SourceAliasJoin Type
cmm_vlogp vlogp from

Parameters (2)

NameTypeDefault
P_valuation_date cmm_eval_keydate
P_snapshot_date cmm_dend_cutdate

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PVLOGPCURVES view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY bukrs cmm_vlogp bukrs Value
KEY curve cmm_vlogp curve Curve
KEY curve_date
KEY curve_reading_dateendasbegin_Date
curve_dcsid cmm_vlogp curve_dcsid DCS ID
curve_mic cmm_vlogp curve_mic MIC
curve_type cmm_vlogp curve_type Cty Curve Type
tenor cmm_vlogp tenor Time to Maturity

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_Vlogp_Curves.
-- 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: PVLOGPCURVES
-- Parameters: P_valuation_date : cmm_eval_keydate, P_snapshot_date : cmm_dend_cutdate

CREATE VIEW P_Vlogp_Curves AS
SELECT
  vlogp.bukrs AS bukrs,
  vlogp.curve AS curve,
  :P_valuation_date AS curve_date,
  case when vlogp.curve_reading_date is null or vlogp.curve_reading_date = '00000000' then min( vlogp.quotperiod_begin ) else min( vlogp.curve_reading_date ) end as begin_Date AS curve_reading_dateendasbegin_Date,
  vlogp.curve_dcsid AS curve_dcsid,
  vlogp.curve_mic AS curve_mic,
  vlogp.curve_type AS curve_type,
  vlogp.tenor AS tenor
FROM cmm_vlogp AS vlogp
;