C_CommodityHedgeCockpitPeriod
Commodity Hedge Cockpit Period
C_CommodityHedgeCockpitPeriod is a Consumption CDS View that provides data about "Commodity Hedge Cockpit Period" in SAP S/4HANA. It reads from 1 data source (I_CmmdtyHdgCkptPeriodComposite) and exposes 34 fields with key fields CmmdtyHdgPlnExpsrCompanyCode, CmmdtyHedgePlanExposureDCSID, CmmdtyHdgPlnExpsrDelivPerdYear, CmmdtyHdgPlanExposureHedgeBook, CmmdtyHdgPlnExpsrDelivPerdType. It has 3 associations to related views. It is exposed through 1 OData service (UI_CMMDTYHDGMGMTCOCKPIT). Part of development package FIN_CMM_CMDTY_HEDGE_MANAGEMENT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmmdtyHdgCkptPeriodComposite | I_CmmdtyHdgCkptPeriodComposite | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CmmdtyHdgPlngDataDirectionT | _DirectionText | $projection.CmmdtyHdgPlanExposureDirection = _DirectionText.PlanningDataDirection and _DirectionText.Language = $session.system_language |
| [0..1] | I_CmmdtyHdgPlnExpsrHedgeBookT | _HedgeBookText | $projection.CmmdtyHdgPlanExposureHedgeBook = _HedgeBookText.CmmdtyHdgPlanExposureHedgeBook and _HedgeBookText.Language = $session.system_language |
| [0..1] | I_FinancialInstrProdCatText | _ProductCategoryText | $projection.FinancialInstrProductCategory = _ProductCategoryText.FinancialInstrProductCategory and _ProductCategoryText.Language = $session.system_language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCMMHDGCKPTPERD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Commodity Hedge Cockpit Period | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_CMMDTYHDGMGMTCOCKPIT | UI_CMMDTYHDGMGMTCOCKPIT | V2 | C1 | NOT_RELEASED |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmmdtyHdgPlnExpsrCompanyCode | CmmdtyHdgPlnExpsrCompanyCode | Company Code | |
| KEY | CmmdtyHedgePlanExposureDCSID | CmmdtyHedgePlanExposureDCSID | DCS ID | |
| KEY | CmmdtyHdgPlnExpsrDelivPerdYear | CmmdtyHdgPlnExpsrDelivPerdYear | Exposure Deliv. Year | |
| KEY | CmmdtyHdgPlanExposureHedgeBook | CmmdtyHdgPlanExposureHedgeBook | Hedge Book | |
| KEY | CmmdtyHdgPlnExpsrDelivPerdType | CmmdtyHdgPlnExpsrDelivPerdType | Delivery Period Cat. | |
| KEY | CmmdtyHdgPlanExposureDirection | CmmdtyHdgPlanExposureDirection | Buy or Sell | |
| CmmdtyHdgPlnExpsrQuantityUnit | CmmdtyHdgPlnExpsrQuantityUnit | Unit of Measure | ||
| CmmdtyHdgTgtQuotaPeriodNumber | CmmdtyHdgTgtQuotaPeriodNumber | |||
| FinancialInstrProductCategory | FinancialInstrProductCategory | |||
| CmmdtyHedgePlnExposureQuantity | CmmdtyHedgePlnExposureQuantity | Qty | ||
| CmmdtyHdgUtilznHedgedAbsltQty | CmmdtyHdgUtilznHedgedAbsltQty | |||
| CmmdtyHdgUtilznTgtQtaMgmtQty | CmmdtyHdgUtilznTgtQtaMgmtQty | |||
| CmmdtyHdgUtilznHdgAcctgQty | CmmdtyHdgUtilznHdgAcctgQty | |||
| CmmdtyHdgUtilznHdgFreeStndgQty | CmmdtyHdgUtilznHdgFreeStndgQty | |||
| CmmdtyHdgUtilznTgtQtaAcctgQty | CmmdtyHdgUtilznTgtQtaAcctgQty | |||
| CommodityOverHedgeCriticality | CommodityOverHedgeCriticality | |||
| CommodityHedgePercentageUnit | CommodityHedgePercentageUnit | % | ||
| CmmdtyHedgeUtilznHedgedPercent | CmmdtyHedgeUtilznHedgedPercent | |||
| CmmdtyHedgeUtilznTgtQtaMgmtPct | CmmdtyHedgeUtilznTgtQtaMgmtPct | |||
| CmmdtyHdgUtilznTgtQtaAcctgPct | CmmdtyHdgUtilznTgtQtaAcctgPct | |||
| CmmdtyHdgTgtQtaMgmtDiffQty | CmmdtyHdgTgtQtaMgmtDiffQty | |||
| CmmdtyHdgTgtQtaAcctgDiffQty | CmmdtyHdgTgtQtaAcctgDiffQty | |||
| CmmdtyHdgPlnExpsrCoCodeText | CmmdtyHdgPlnExpsrCompanyCode | Company Code | ||
| CmmdtyHdgPlnExpsrQuantityText | Qty | |||
| CmmdtyHedgePlanExposureDCSText | CmmdtyHedgePlanExposureDCSID | DCS ID | ||
| CmmdtyHdgPlnExpsrDirectionText | CmmdtyHdgPlanExposureDirection | Buy or Sell | ||
| CmmdtyHdgPlnExpsrHedgeBookText | CmmdtyHdgPlanExposureHedgeBook | Hedge Book | ||
| CmmdtyHdgPlnExpsrDlvPerdYrText | CmmdtyHdgPlnExpsrDelivPerdYear | Exposure Deliv. Year | ||
| CmmdtyHdgPlnExpsrDelivPerdText | CmmdtyHdgPlnExpsrDelivPerdType | Delivery Period Cat. | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| DerivativeContrSpecName | _DerivativeContractSpecText | DerivativeContrSpecName | ||
| PlanningDataDirectionText | _DirectionText | PlanningDataDirectionText | ||
| CmmdtyHedgeBookDescription | _HedgeBookText | CmmdtyHdgPlnExpsrHedgeBookText | ||
| FinInstrProductCategoryName | _ProductCategoryText | FinInstrProductCategoryName |
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 C_CommodityHedgeCockpitPeriod.
-- 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: CCMMHDGCKPTPERD
CREATE VIEW C_CommodityHedgeCockpitPeriod AS
SELECT
CmmdtyHdgPlnExpsrCompanyCode,
CmmdtyHedgePlanExposureDCSID,
CmmdtyHdgPlnExpsrDelivPerdYear,
CmmdtyHdgPlanExposureHedgeBook,
CmmdtyHdgPlnExpsrDelivPerdType,
CmmdtyHdgPlanExposureDirection,
CmmdtyHdgPlnExpsrQuantityUnit,
CmmdtyHdgTgtQuotaPeriodNumber,
FinancialInstrProductCategory,
CmmdtyHedgePlnExposureQuantity,
CmmdtyHdgUtilznHedgedAbsltQty,
CmmdtyHdgUtilznTgtQtaMgmtQty,
CmmdtyHdgUtilznHdgAcctgQty,
CmmdtyHdgUtilznHdgFreeStndgQty,
CmmdtyHdgUtilznTgtQtaAcctgQty,
CommodityOverHedgeCriticality,
CommodityHedgePercentageUnit,
CmmdtyHedgeUtilznHedgedPercent,
CmmdtyHedgeUtilznTgtQtaMgmtPct,
CmmdtyHdgUtilznTgtQtaAcctgPct,
CmmdtyHdgTgtQtaMgmtDiffQty,
CmmdtyHdgTgtQtaAcctgDiffQty,
CmmdtyHdgPlnExpsrCompanyCode AS CmmdtyHdgPlnExpsrCoCodeText,
cast(CmmdtyHedgePlnExposureQuantity as char20) AS CmmdtyHdgPlnExpsrQuantityText,
CmmdtyHedgePlanExposureDCSID AS CmmdtyHedgePlanExposureDCSText,
CmmdtyHdgPlanExposureDirection AS CmmdtyHdgPlnExpsrDirectionText,
CmmdtyHdgPlanExposureHedgeBook AS CmmdtyHdgPlnExpsrHedgeBookText,
CmmdtyHdgPlnExpsrDelivPerdYear AS CmmdtyHdgPlnExpsrDlvPerdYrText,
CmmdtyHdgPlnExpsrDelivPerdType AS CmmdtyHdgPlnExpsrDelivPerdText,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
_DerivativeContractSpecText.DerivativeContrSpecName AS DerivativeContrSpecName,
_DirectionText.PlanningDataDirectionText AS PlanningDataDirectionText,
_HedgeBookText.CmmdtyHdgPlnExpsrHedgeBookText AS CmmdtyHedgeBookDescription,
_ProductCategoryText.FinInstrProductCategoryName AS FinInstrProductCategoryName
FROM I_CmmdtyHdgCkptPeriodComposite
LEFT OUTER JOIN I_CmmdtyHdgPlngDataDirectionT AS _DirectionText ON CmmdtyHdgPlanExposureDirection = _DirectionText.PlanningDataDirection AND _DirectionText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CmmdtyHdgPlnExpsrHedgeBookT AS _HedgeBookText ON CmmdtyHdgPlanExposureHedgeBook = _HedgeBookText.CmmdtyHdgPlanExposureHedgeBook AND _HedgeBookText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_FinancialInstrProdCatText AS _ProductCategoryText ON FinancialInstrProductCategory = _ProductCategoryText.FinancialInstrProductCategory AND _ProductCategoryText.Language = $session.system_language -- 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
- 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