I_CommodityHedgePlanExposure
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)
| Source | Alias | Join Type |
|---|---|---|
| cmmt_exposure | cmmt_exposure | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_CMMDTYHDGCNTRDEALREQ | UI_CMMDTYHDGCNTRDEALREQ | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA