I_CommodityHedgePlanExposure

DDL: I_COMMODITYHEDGEPLANEXPOSURE SQL: ICMMDTYHDGPLNEXP Type: view BASIC

Basic for Commodity Hedge Plan Exposure

I_CommodityHedgePlanExposure is a Basic CDS View that provides data about "Basic for Commodity Hedge Plan Exposure" in SAP S/4HANA. It reads from 1 data source (cmmt_exposure) and exposes 48 fields with key field CommodityHedgePlanExposureUUID. It has 3 associations to related views. It is exposed through 1 OData service (UI_CMMDTYHDGCNTRDEALREQ). It is used in 1 Fiori application: Manage Commodity Counter Deal Request.

Data Sources (1)

SourceAliasJoin Type
cmmt_exposure cmmt_exposure from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CmmdtyDrvtvContrSpecAttrib _DCSAttributes $projection.CmmdtyHedgePlanExposureDCSID = _DCSAttributes.DerivativeContrSpecification
[0..1] I_CompanyCode _CompanyCode $projection.CmmdtyHdgPlnExpsrCompanyCode = _CompanyCode.CompanyCode
[0..1] I_CmmdtyHdgBookCompleteDetail _HedgeBook $projection.CmmdtyHdgPlanExposureHedgeBook = _HedgeBook.CommodityHedgeBookIdentifier

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICMMDTYHDGPLNEXP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Basic for Commodity Hedge Plan Exposure view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey CommodityHedgePlanExposureUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_CMMDTYHDGCNTRDEALREQ UI_CMMDTYHDGCNTRDEALREQ V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F5659 Manage Commodity Counter Deal Request Transactional

Manage Commodity Counter Deal Request

Business Role: Commodity Risk Manager - Hedge Accounting

With this Fiori app (ID F5659), counter deal requests can be created for non-hedge accounting trades causing gross or net over-hedges, and for freestanding trades.

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY CommodityHedgePlanExposureUUID commodityhedgeplanexposureuuid UUID
CmmdtyHdgPlnExposureParentUUID cmmdtyhdgplnexposureparentuuid UUID
CmmdtyHedgePlanExposureHashKey cmmdtyhedgeplanexposurehashkey Semantic Hash Key
CmmdtyHdgPlnExpsrCompanyCode cmmdtyhdgplnexpsrcompanycode Company Code
CmmdtyHedgePlanExposureDCSID cmmdtyhedgeplanexposuredcsid DCS ID
CmmdtyHdgPlanExpsrMktIDCode cmmdtyhdgplanexpsrmktidcode MIC
CmmdtyHdgPlanExposureDirection cmmdtyhdgplanexposuredirection Buy or Sell
CmmdtyHdgPlnExpsrHedgingArea cmmdtyhdgplnexpsrhedgingarea Hedging Area
CmmdtyHdgPlanExposureHedgeBook cmmdtyhdgplanexposurehedgebook Hedge Book
CmmdtyHdgBookAuthznGroup _HedgeBook CmmdtyHdgBookAuthznGroup
CmmdtyHdgPlnExpsrPerdStartDate cmmdtyhdgplnexpsrperdstartdate Period Start
CmmdtyHdgPlnExpsrPeriodClass cmmdtyhdgplnexpsrperiodclass Period Class
CmmdtyHdgPlnExpsrBusinessArea cmmdtyhdgplnexpsrbusinessarea Business Area
CmmdtyHdgPlnExpsrValidFromDate cmmdtyhdgplnexpsrvalidfromdate Valid-From Date
CmmdtyHdgPlanExposurePortfolio cmmdtyhdgplanexposureportfolio Portfolio
CmmdtyHdgPlnExpsrProfitCenter cmmdtyhdgplnexpsrprofitcenter Profit Center
CmmdtyHdgPlnExposureCostCenter cmmdtyhdgplnexposurecostcenter Cost Center
CmmdtyHedgePlanExposurePlant cmmdtyhedgeplanexposureplant Plant
CmmdtyHedgePlanExposureItemID cmmdtyhedgeplanexposureitemid Exposure Item ID
CmmdtyHdgPlnExpsrIsAcctgRlvt cmmdtyhdgplnexpsrisacctgrlvt Hedge Accounting Relevance
CmmdtyHdgPlnExposureRemarkNote cmmdtyhdgplnexposureremarknote Remark
CommodityHedgePlanExposureID commodityhedgeplanexposureid Plan Exposure ID
CmmdtyHdgPlanExposureCategory cmmdtyhdgplanexposurecategory Exposure Category
CmmdtyHdgPlnExpsrDelivStrtDate cmmdtyhdgplnexpsrdelivstrtdate Delivery Start Date
CmmdtyHdgPlnExpsrDelivEndDate cmmdtyhdgplnexpsrdelivenddate Delivery End Date
CmmdtyHdgPlnExpsrDelivPerdText cmmdtyhdgplnexpsrdelivperdtext Del. Period Descr.
CmmdtyHdgPlnExpsrDelivPerdType cmmdtyhdgplnexpsrdelivperdtype Delivery Period Cat.
CmmdtyHdgPlnExpsrDelivPerdYear cmmdtyhdgplnexpsrdelivperdyear Exposure Deliv. Year
CmmdtyHdgPlnExpsrPrcgStartDate cmmdtyhdgplnexpsrprcgstartdate Pricing Start Date
CmmdtyHdgPlnExpsrPrcgEndDate cmmdtyhdgplnexpsrprcgenddate Pricing End Date
PlanningDataUUID planningdatauuid UUID
CmmdtyHedgePlnExposureQuantity cmmdtyhedgeplnexposurequantity Qty
CmmdtyHdgPlnExpsrQuantityUnit cmmdtyhdgplnexpsrquantityunit Unit of Measure
CmmdtyHdgPlanExposureLogHandle cmmdtyhdgplanexposureloghandle Log Handle
CmmdtyHedgePlanExposureStatus cmmdtyhedgeplanexposurestatus Status
CmmdtyHedgePlanExposureVersion cmmdtyhedgeplanexposureversion Exposure Version No.
CmmdtyHdgPlnExpsrStsChgReason cmmdtyhdgplnexpsrstschgreason Status Change Reason
CmmdtyHdgPlnExpsrIsToBeIgnored cmmdtyhdgplnexpsristobeignored
CmmdtyHdgPlnExpsrCreatedByUser cmmdtyhdgplnexpsrcreatedbyuser User Name
CmmdtyHdgPlnExpsrCrtnDateTime cmmdtyhdgplnexpsrcrtndatetime Time Stamp
CmmdtyHdgPlnExpsrLastChgdByUsr cmmdtyhdgplnexpsrlastchgdbyusr User Name
CmmdtyHdgPlnExpsrChgDateTime cmmdtyhdgplnexpsrchgdatetime Time Stamp
PhysicalCommodity _DCSAttributes PhysicalCommodity
_DCSAttributes _DCSAttributes
_CompanyCode _CompanyCode
_ControllingArea _CompanyCode _ControllingArea
ControllingArea _CompanyCode ControllingArea Controlling Area
_HedgeBook _HedgeBook

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 I_CommodityHedgePlanExposure.
-- 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: ICMMDTYHDGPLNEXP

CREATE VIEW I_CommodityHedgePlanExposure AS
SELECT
  CommodityHedgePlanExposureUUID,
  CmmdtyHdgPlnExposureParentUUID,
  CmmdtyHedgePlanExposureHashKey,
  CmmdtyHdgPlnExpsrCompanyCode,
  CmmdtyHedgePlanExposureDCSID,
  CmmdtyHdgPlanExpsrMktIDCode,
  CmmdtyHdgPlanExposureDirection,
  CmmdtyHdgPlnExpsrHedgingArea,
  CmmdtyHdgPlanExposureHedgeBook,
  _HedgeBook.CmmdtyHdgBookAuthznGroup AS CmmdtyHdgBookAuthznGroup,
  CmmdtyHdgPlnExpsrPerdStartDate,
  CmmdtyHdgPlnExpsrPeriodClass,
  CmmdtyHdgPlnExpsrBusinessArea,
  CmmdtyHdgPlnExpsrValidFromDate,
  CmmdtyHdgPlanExposurePortfolio,
  CmmdtyHdgPlnExpsrProfitCenter,
  CmmdtyHdgPlnExposureCostCenter,
  CmmdtyHedgePlanExposurePlant,
  CmmdtyHedgePlanExposureItemID,
  CmmdtyHdgPlnExpsrIsAcctgRlvt,
  CmmdtyHdgPlnExposureRemarkNote,
  CommodityHedgePlanExposureID,
  CmmdtyHdgPlanExposureCategory,
  CmmdtyHdgPlnExpsrDelivStrtDate,
  CmmdtyHdgPlnExpsrDelivEndDate,
  CmmdtyHdgPlnExpsrDelivPerdText,
  CmmdtyHdgPlnExpsrDelivPerdType,
  CmmdtyHdgPlnExpsrDelivPerdYear,
  CmmdtyHdgPlnExpsrPrcgStartDate,
  CmmdtyHdgPlnExpsrPrcgEndDate,
  PlanningDataUUID,
  CmmdtyHedgePlnExposureQuantity,
  CmmdtyHdgPlnExpsrQuantityUnit,
  CmmdtyHdgPlanExposureLogHandle,
  CmmdtyHedgePlanExposureStatus,
  CmmdtyHedgePlanExposureVersion,
  CmmdtyHdgPlnExpsrStsChgReason,
  CmmdtyHdgPlnExpsrIsToBeIgnored,
  CmmdtyHdgPlnExpsrCreatedByUser,
  CmmdtyHdgPlnExpsrCrtnDateTime,
  CmmdtyHdgPlnExpsrLastChgdByUsr,
  CmmdtyHdgPlnExpsrChgDateTime,
  _DCSAttributes.PhysicalCommodity AS PhysicalCommodity,
  _CompanyCode._ControllingArea AS _ControllingArea,
  _CompanyCode.ControllingArea AS ControllingArea
FROM cmmt_exposure
LEFT OUTER JOIN I_CmmdtyDrvtvContrSpecAttrib AS _DCSAttributes ON CmmdtyHedgePlanExposureDCSID = _DCSAttributes.DerivativeContrSpecification  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CmmdtyHdgPlnExpsrCompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CmmdtyHdgBookCompleteDetail AS _HedgeBook ON CmmdtyHdgPlanExposureHedgeBook = _HedgeBook.CommodityHedgeBookIdentifier  -- association [0..1]
;