P_CmmdtyHedgeExposureVersion

DDL: P_CMMDTYHEDGEEXPOSUREVERSION SQL: PEXPSRVER Type: view COMPOSITE

Active Version of ExposureID

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

Data Sources (1)

SourceAliasJoin Type
I_CommodityHedgePlanExposure I_CommodityHedgePlanExposure from

Parameters (1)

NameTypeDefault
P_CmmdtyHdgPlanExposureVersion cmm_exposure_version

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PEXPSRVER 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 (5)

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

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_CmmdtyHedgeExposureVersion.
-- 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: PEXPSRVER
-- Parameters: P_CmmdtyHdgPlanExposureVersion : cmm_exposure_version

CREATE VIEW P_CmmdtyHedgeExposureVersion AS
SELECT
  CommodityHedgePlanExposureID,
  CmmdtyHdgPlnExpsrCompanyCode,
  CmmdtyHedgePlanExposureHashKey,
  CmmdtyHedgePlanExposureVersion,
  $parameters.P_CmmdtyHdgPlanExposureVersion AS CmmdtyHdgPlanExposureVersion
FROM I_CommodityHedgePlanExposure
;