I_CmmdtyHdgOffstgFXHdgRequest
Basic for Offsetting FX Hedge Requests
I_CmmdtyHdgOffstgFXHdgRequest is a Basic CDS View that provides data about "Basic for Offsetting FX Hedge Requests" in SAP S/4HANA. It reads from 1 data source (cmmt_fcp_hreq) and exposes 17 fields with key fields CmmdtyHdgOffstgFXHdgReqGrpUUID, HedgeRequestIdentifier. It has 2 associations to related views. Part of development package FIN_CMM_CMDTY_HEDGE_REQUESTS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cmmt_fcp_hreq | OffsettingFXHdgReq | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CmmdtyHdgReqFXHedgeRequest | _FXHedgeRequest | OffsettingFXHdgReq.hedge_request_id = _FXHedgeRequest.HedgeRequestIdentifier |
| [0..1] | I_CmmdtyHdgBookCompleteDetail | _HedgeBook | $projection.CmmdtyHdgOffstgFXHdgReqHdgBook = _HedgeBook.CommodityHedgeBookIdentifier |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Basic for Offsetting FX Hedge Requests | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmmdtyHdgOffstgFXHdgReqGrpUUID | hreq_group_uuid | HReq Group UUID | |
| KEY | HedgeRequestIdentifier | hedge_request_id | Hedge Request ID | |
| CmmdtyHdgOffstgFXHdgReqDCSID | dcsid | DCSID | ||
| CmmdtyHdgOffstgFXHdgReqHdgBook | hedge_book | Hedge Book | ||
| CmmdtyHdgOffstgFXHdgReqCoCode | on_behalf_of_company | On Behalf of CoCode | ||
| CmmdtyHdgFXHdgRequestValueDate | value_date | Value date | ||
| CmmdtyHdgFXHdgRequestAmount | _FXHedgeRequest | CmmdtyHdgFXHdgRequestAmount | ||
| CmmdtyHdgFXHdgRequestCurrency | _FXHedgeRequest | CmmdtyHdgFXHdgRequestCurrency | ||
| CmmdtyHdgFXHdgReqInstrCategory | _FXHedgeRequest | CmmdtyHdgFXHdgReqInstrCategory | ||
| CmmdtyHdgFXHdgRequestStatus | _FXHedgeRequest | CmmdtyHdgFXHdgRequestStatus | ||
| CmmdtyHdgFXHdgReqInstrCatText | _FXHedgeRequest | CmmdtyHdgFXHdgReqInstrCatText | ||
| CmmdtyHdgFXHdgReqCompanyCode | _FXHedgeRequest | CmmdtyHdgFXHdgReqCompanyCode | ||
| CmmdtyHdgFXHdgReqCreatedByUser | _FXHedgeRequest | CmmdtyHdgFXHdgReqCreatedByUser | ||
| CmmdtyHdgFXHdgReqCrtnDateTime | _FXHedgeRequest | CmmdtyHdgFXHdgReqCrtnDateTime | ||
| CmmdtyHdgFXHdgReqLastChgdByUsr | _FXHedgeRequest | CmmdtyHdgFXHdgReqLastChgdByUsr | ||
| CmHdgFXHdgReqLastChgdDateTime | _FXHedgeRequest | CmHdgFXHdgReqLastChgdDateTime | ||
| _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_CmmdtyHdgOffstgFXHdgRequest.
-- 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.
CREATE VIEW I_CmmdtyHdgOffstgFXHdgRequest AS
SELECT
hreq_group_uuid AS CmmdtyHdgOffstgFXHdgReqGrpUUID,
hedge_request_id AS HedgeRequestIdentifier,
dcsid AS CmmdtyHdgOffstgFXHdgReqDCSID,
hedge_book AS CmmdtyHdgOffstgFXHdgReqHdgBook,
on_behalf_of_company AS CmmdtyHdgOffstgFXHdgReqCoCode,
value_date AS CmmdtyHdgFXHdgRequestValueDate,
_FXHedgeRequest.CmmdtyHdgFXHdgRequestAmount AS CmmdtyHdgFXHdgRequestAmount,
_FXHedgeRequest.CmmdtyHdgFXHdgRequestCurrency AS CmmdtyHdgFXHdgRequestCurrency,
_FXHedgeRequest.CmmdtyHdgFXHdgReqInstrCategory AS CmmdtyHdgFXHdgReqInstrCategory,
_FXHedgeRequest.CmmdtyHdgFXHdgRequestStatus AS CmmdtyHdgFXHdgRequestStatus,
_FXHedgeRequest.CmmdtyHdgFXHdgReqInstrCatText AS CmmdtyHdgFXHdgReqInstrCatText,
_FXHedgeRequest.CmmdtyHdgFXHdgReqCompanyCode AS CmmdtyHdgFXHdgReqCompanyCode,
_FXHedgeRequest.CmmdtyHdgFXHdgReqCreatedByUser AS CmmdtyHdgFXHdgReqCreatedByUser,
_FXHedgeRequest.CmmdtyHdgFXHdgReqCrtnDateTime AS CmmdtyHdgFXHdgReqCrtnDateTime,
_FXHedgeRequest.CmmdtyHdgFXHdgReqLastChgdByUsr AS CmmdtyHdgFXHdgReqLastChgdByUsr,
_FXHedgeRequest.CmHdgFXHdgReqLastChgdDateTime AS CmHdgFXHdgReqLastChgdDateTime
FROM cmmt_fcp_hreq AS OffsettingFXHdgReq
LEFT OUTER JOIN I_CmmdtyHdgReqFXHedgeRequest AS _FXHedgeRequest ON OffsettingFXHdgReq.hedge_request_id = _FXHedgeRequest.HedgeRequestIdentifier -- association [1..1]
LEFT OUTER JOIN I_CmmdtyHdgBookCompleteDetail AS _HedgeBook ON CmmdtyHdgOffstgFXHdgReqHdgBook = _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
- 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