I_CmmdtyHdgSpecVersionOrder
Commodity Hedge Spec Version Order Detail
I_CmmdtyHdgSpecVersionOrder is a Composite CDS View that provides data about "Commodity Hedge Spec Version Order Detail" in SAP S/4HANA. It reads from 2 data sources (I_CmmdtyHdgSpecQuotaOrder, P_CMMDTYHDGSPECMAXORDER) and exposes 20 fields with key fields CmmdtyHdgSpecQuotaOrderUUID, CmmdtyHdgSpecificationID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CmmdtyHdgSpecQuotaOrder | HdgOrder | from |
| P_CMMDTYHDGSPECMAXORDER | MaxOrder | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICMMHDGSPECVORD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| EndUserText.label | Commodity Hedge Spec Version Order Detail | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmmdtyHdgSpecQuotaOrderUUID | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecQuotaOrderUUID | UUID |
| KEY | CmmdtyHdgSpecificationID | P_CMMDTYHDGSPECMAXORDER | CmmdtyHdgSpecificationID | Hedge Spec. ID |
| CmmdtyHedgeSpecificationUUID | P_CMMDTYHDGSPECMAXORDER | CmmdtyHedgeSpecificationUUID | ||
| CmmdtyHdgSpecQuotaOrderID | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecQuotaOrderID | Order ID | |
| CmmdtyHdgSpecOrderYear | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecOrderYear | Order Year | |
| ValidityStartDateTime | I_CmmdtyHdgSpecQuotaOrder | ValidityStartDateTime | Valid From Timestamp | |
| CmmdtyHdgSpecQuotaInPercent | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecQuotaInPercent | Quota Type | |
| CmmdtyHdgQtaMktPrcIndIsSet | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgQtaMktPrcIndIsSet | Mrkt Price Accepted | |
| CmmdtyHdgSpecLimitAmount | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecLimitAmount | Quota Price | |
| CmmdtyHdgSpecAmountCurrency | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecAmountCurrency | Valuation Crcy | |
| CmmdtyHdgSpecDirectiveText | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecDirectiveText | Guidance for Trader | |
| CmmdtyHdgSpecDirection | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecDirection | Long/Short Position | |
| CmmdtyHdgSpecQtaPeriodCategory | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecQtaPeriodCategory | Period Category | |
| CmmdtyHdgSpecQuotaPeriodNumber | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecQuotaPeriodNumber | Period Number | |
| IsActive | I_CmmdtyHdgSpecQuotaOrder | IsActive | Object active? | |
| CmmdtyHdgSpecDeltnIndIsSet | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecDeltnIndIsSet | Quotation Deleted | |
| CmmdtyHdgSpecQtaCreatedByUser | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecQtaCreatedByUser | ||
| CmmdtyHdgQuotaCreationDateTime | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgQuotaCreationDateTime | Uploaded On | |
| CmmdtyHdgSpecQtaChangedByUser | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecQtaChangedByUser | ||
| CmmdtyHdgSpecQtaChangeDateTime | I_CmmdtyHdgSpecQuotaOrder | CmmdtyHdgSpecQtaChangeDateTime | Timestamp |
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_CmmdtyHdgSpecVersionOrder.
-- 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: ICMMHDGSPECVORD
CREATE VIEW I_CmmdtyHdgSpecVersionOrder AS
SELECT
HdgOrder.CmmdtyHdgSpecQuotaOrderUUID AS CmmdtyHdgSpecQuotaOrderUUID,
MaxOrder.CmmdtyHdgSpecificationID AS CmmdtyHdgSpecificationID,
MaxOrder.CmmdtyHedgeSpecificationUUID AS CmmdtyHedgeSpecificationUUID,
HdgOrder.CmmdtyHdgSpecQuotaOrderID AS CmmdtyHdgSpecQuotaOrderID,
HdgOrder.CmmdtyHdgSpecOrderYear AS CmmdtyHdgSpecOrderYear,
HdgOrder.ValidityStartDateTime AS ValidityStartDateTime,
HdgOrder.CmmdtyHdgSpecQuotaInPercent AS CmmdtyHdgSpecQuotaInPercent,
HdgOrder.CmmdtyHdgQtaMktPrcIndIsSet AS CmmdtyHdgQtaMktPrcIndIsSet,
HdgOrder.CmmdtyHdgSpecLimitAmount AS CmmdtyHdgSpecLimitAmount,
HdgOrder.CmmdtyHdgSpecAmountCurrency AS CmmdtyHdgSpecAmountCurrency,
HdgOrder.CmmdtyHdgSpecDirectiveText AS CmmdtyHdgSpecDirectiveText,
HdgOrder.CmmdtyHdgSpecDirection AS CmmdtyHdgSpecDirection,
HdgOrder.CmmdtyHdgSpecQtaPeriodCategory AS CmmdtyHdgSpecQtaPeriodCategory,
HdgOrder.CmmdtyHdgSpecQuotaPeriodNumber AS CmmdtyHdgSpecQuotaPeriodNumber,
HdgOrder.IsActive AS IsActive,
HdgOrder.CmmdtyHdgSpecDeltnIndIsSet AS CmmdtyHdgSpecDeltnIndIsSet,
HdgOrder.CmmdtyHdgSpecQtaCreatedByUser AS CmmdtyHdgSpecQtaCreatedByUser,
HdgOrder.CmmdtyHdgQuotaCreationDateTime AS CmmdtyHdgQuotaCreationDateTime,
HdgOrder.CmmdtyHdgSpecQtaChangedByUser AS CmmdtyHdgSpecQtaChangedByUser,
HdgOrder.CmmdtyHdgSpecQtaChangeDateTime AS CmmdtyHdgSpecQtaChangeDateTime
FROM I_CmmdtyHdgSpecQuotaOrder AS HdgOrder
INNER JOIN P_CMMDTYHDGSPECMAXORDER AS MaxOrder 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