P_CmmdtyHdgSpecNxtVersionAtDte

DDL: P_CMMDTYHDGSPECNXTVERSIONATDTE Type: view_entity COMPOSITE

P_CmmdtyHdgSpecNxtVersionAtDte is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CmmdtyHdgSpecDetails) and exposes 2 fields with key field CmmdtyHdgSpecificationID.

Data Sources (1)

SourceAliasJoin Type
I_CmmdtyHdgSpecDetails I_CmmdtyHdgSpecDetails from

Parameters (1)

NameTypeDefault
P_EvaluationDate dats

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CmmdtyHdgSpecificationID CmmdtyHdgSpecificationID Hedge Spec. ID
NextVersionValidFromDateTime

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_CmmdtyHdgSpecNxtVersionAtDte.
-- 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.
-- Parameters: P_EvaluationDate : dats

CREATE VIEW P_CmmdtyHdgSpecNxtVersionAtDte AS
SELECT
  CmmdtyHdgSpecificationID,
  min(CmmdtyHdgSpecValidFromDateTime) AS NextVersionValidFromDateTime
FROM I_CmmdtyHdgSpecDetails
;