I_CommodityHedgeBookPeriod
Commodity Hedge Book Periods F4 Help
I_CommodityHedgeBookPeriod is a Composite CDS View that provides data about "Commodity Hedge Book Periods F4 Help" in SAP S/4HANA. It reads from 3 data sources (P_CmmdtyHdgBookDelPeriod, I_CmmdtyHdgBookCompleteDetail, P_CmmdtyHdgBookShiftDelPeriod) and exposes 2 fields with key field CommodityHedgeBookIdentifier.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_CmmdtyHdgBookDelPeriod | CmmdtyDelPeriod | inner |
| I_CmmdtyHdgBookCompleteDetail | CmmdtyHdgBook | from |
| P_CmmdtyHdgBookShiftDelPeriod | CmmdtyShiftDelPeriod | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICMMHEDGBKPERIOD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Commodity Hedge Book Periods F4 Help | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CommodityHedgeBookIdentifier | I_CmmdtyHdgBookCompleteDetail | CommodityHedgeBookIdentifier | Hedge Book |
| char3endasCmmdtyHdgBookClusterPeriodName |
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_CommodityHedgeBookPeriod.
-- 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: ICMMHEDGBKPERIOD
CREATE VIEW I_CommodityHedgeBookPeriod AS
SELECT
CmmdtyHdgBook.CommodityHedgeBookIdentifier AS CommodityHedgeBookIdentifier,
case CmmdtyDelPeriod.CommodityHedgeDeliveryPeriod when '12' then concat( cast(CmmdtyHdgBook.CommodityHedgePricingPeriod as abap.char(3)), concat('-', concat(cast(CmmdtyShiftDelPeriod.CmmdtyHdgShftDelivPeriodText as abap.char(10)), concat('-', cast(CmmdtyDelPeriod.CommodityHedgeDeliveryPeriod as abap.char(3)) )))) else concat( cast(CmmdtyHdgBook.CommodityHedgePricingPeriod as abap.char(3)), concat('-', concat(cast(CmmdtyShiftDelPeriod.CmmdtyHdgShftDelivPeriodText as abap.char(10)), concat('-', cast(substring(CmmdtyDelPeriod.CommodityHedgeDeliveryPeriod,2,1) as abap.char(3)) )))) end as CmmdtyHdgBookClusterPeriodName AS char3endasCmmdtyHdgBookClusterPeriodName
FROM I_CmmdtyHdgBookCompleteDetail AS CmmdtyHdgBook
INNER JOIN P_CmmdtyHdgBookDelPeriod AS CmmdtyDelPeriod ON /* join condition not captured in parsed metadata */
INNER JOIN P_CmmdtyHdgBookShiftDelPeriod AS CmmdtyShiftDelPeriod ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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