P_CmmdtyHdgExpsrRqdVersion

DDL: P_CMMDTYHDGEXPSRRQDVERSION SQL: PEXPSRRQDVER Type: view COMPOSITE

Active Version of ExposureID

P_CmmdtyHdgExpsrRqdVersion is a Composite CDS View that provides data about "Active Version of ExposureID" in SAP S/4HANA. It reads from 2 data sources (P_CmmdtyHedgeExposureVersion, P_CmmdtyHedgeExposureVersion) and exposes 6 fields with key fields CommodityHedgePlanExposureID, CmmdtyHdgPlnExpsrCompanyCode, CmmdtyHedgePlanExposureHashKey, CmmdtyHdgPlnExpsrCompanyCode, CmmdtyHedgePlanExposureHashKey.

Data Sources (2)

SourceAliasJoin Type
P_CmmdtyHedgeExposureVersion P_CmmdtyHedgeExposureVersion from
P_CmmdtyHedgeExposureVersion P_CmmdtyHedgeExposureVersion union

Parameters (1)

NameTypeDefault
P_CmmdtyHdgPlanExposureVersion cmm_exposure_version

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PEXPSRRQDVER view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Active Version of ExposureID view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CommodityHedgePlanExposureID CommodityHedgePlanExposureID Plan Exposure ID
KEY CmmdtyHdgPlnExpsrCompanyCode CmmdtyHdgPlnExpsrCompanyCode Company Code
KEY CmmdtyHedgePlanExposureHashKey CmmdtyHedgePlanExposureHashKey Semantic Hash Key
KEY CmmdtyHdgPlnExpsrCompanyCode CmmdtyHdgPlnExpsrCompanyCode Company Code
KEY CmmdtyHedgePlanExposureHashKey CmmdtyHedgePlanExposureHashKey Semantic Hash Key
CmmdtyHedgePlanExposureVersion CmmdtyHedgePlanExposureVersion Exposure Version No.

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_CmmdtyHdgExpsrRqdVersion.
-- 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: PEXPSRRQDVER
-- Parameters: P_CmmdtyHdgPlanExposureVersion : cmm_exposure_version

CREATE VIEW P_CmmdtyHdgExpsrRqdVersion AS
SELECT
  CommodityHedgePlanExposureID,
  CmmdtyHdgPlnExpsrCompanyCode,
  CmmdtyHedgePlanExposureHashKey,
  CmmdtyHedgePlanExposureVersion
FROM P_CmmdtyHedgeExposureVersion
-- UNION with additional select branch(es): P_CmmdtyHedgeExposureVersion
;