C_CmmdtyHdgCntrdealRequestTP
Counter Deal Request Consumption
C_CmmdtyHdgCntrdealRequestTP is a Consumption CDS View that provides data about "Counter Deal Request Consumption" in SAP S/4HANA. It reads from 1 data source (R_CmmdtyHdgCntrdealRequestTP) and exposes 45 fields with key field CounterdealRequestUUID. It has 1 association 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 |
|---|---|---|
| R_CmmdtyHdgCntrdealRequestTP | R_CmmdtyHdgCntrdealRequestTP | projection |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_CmmdtyHdgCntrdealReqChgDoc | _CounterdealReqChgDoc | $projection.CounterdealReqChangeDocumentID = _CounterdealReqChgDoc.ChangeDocObject |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Counter Deal Request Consumption | 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 (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CounterdealRequestUUID | CounterdealRequestUUID | ||
| CounterdealRequestIdentifier | CounterdealRequestIdentifier | |||
| CommodityHedgePlanExposureUUID | CommodityHedgePlanExposureUUID | UUID | ||
| DedesignationRequestUUID | DedesignationRequestUUID | |||
| CounterdealRequestDate | CounterdealRequestDate | |||
| CounterdealRequestRemarkNote | CounterdealRequestRemarkNote | |||
| CounterdealRequestLogHandle | CounterdealRequestLogHandle | |||
| CntrdealReqIsApplLogAvailable | CntrdealReqIsApplLogAvailable | |||
| CounterdealRequestStatus | CounterdealRequestStatus | |||
| CntrdealReqStatusChangeReason | CntrdealReqStatusChangeReason | |||
| CntrdealReqStatusCriticality | CntrdealReqStatusCriticality | |||
| CntrdealReqCreationDateTime | CntrdealReqCreationDateTime | |||
| CntrdealRequestCreatedByUser | CntrdealRequestCreatedByUser | |||
| CntrdealReqCreatedByUserText | _CntrdealReqUserText | CntrdealReqCreatedByUserText | ||
| CntrdealReqLastChangedByUser | CntrdealReqLastChangedByUser | |||
| CntrdealReqLastChgdByUserText | _CntrdealReqUserText | CntrdealReqLastChgdByUserText | ||
| CntrdealReqLastChangedDateTime | CntrdealReqLastChangedDateTime | |||
| CounterdealReqChangeDocumentID | CounterdealReqChangeDocumentID | |||
| LocalLastChangeDateTime | LocalLastChangeDateTime | Time Stamp | ||
| CmmdtyHdgPlnExpsrCompanyCode | CmmdtyHdgPlnExpsrCompanyCode | Company Code | ||
| CmmdtyHdgPlnExpsrCoCodeText | _CompanyCode | CompanyCodeName | Company Name | |
| CommodityHedgePlanExposureID | CommodityHedgePlanExposureID | Plan Exposure ID | ||
| CmmdtyHdgPlanExposureHedgeBook | CmmdtyHdgPlanExposureHedgeBook | Hedge Book | ||
| CmmdtyHedgePlanExposureDCSID | CmmdtyHedgePlanExposureDCSID | DCS ID | ||
| CmmdtyHdgPlnExpsrDelivPerdText | CmmdtyHdgPlnExpsrDelivPerdText | Del. Period Descr. | ||
| PhysicalCommodity | PhysicalCommodity | |||
| CmmdtyHdgBookAuthznGroup | CmmdtyHdgBookAuthznGroup | |||
| CmmdtyHdgPlnExposureRemarkNote | CmmdtyHdgPlnExposureRemarkNote | Remark | ||
| CntrdealDdsgntnRequestIsHidden | CntrdealDdsgntnRequestIsHidden | |||
| CmmdtyHedgePlanExposureVersion | CmmdtyHedgePlanExposureVersion | Exposure Version No. | ||
| DedesignationRequestIdentifier | _DedesignationRequest | DedesignationRequestIdentifier | ||
| char132 | ||||
| int1 | ||||
| char132 | ||||
| char132 | ||||
| char132 | ||||
| int1 | ||||
| char132 | ||||
| int1 | ||||
| _CompanyCode | _CompanyCode | |||
| _Exposure | _Exposure | |||
| CmmdtyHedgeBookDescriptionlocalized | ||||
| DerivativeContrSpecNamelocalized | ||||
| PlngDataDeliveryCategoryTextlocalized | ||||
| _CounterdealReqChgDoc | _CounterdealReqChgDoc |
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_CmmdtyHdgCntrdealRequestTP.
-- 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 C_CmmdtyHdgCntrdealRequestTP AS
SELECT
CounterdealRequestUUID,
CounterdealRequestIdentifier,
CommodityHedgePlanExposureUUID,
DedesignationRequestUUID,
CounterdealRequestDate,
CounterdealRequestRemarkNote,
CounterdealRequestLogHandle,
CntrdealReqIsApplLogAvailable,
CounterdealRequestStatus,
CntrdealReqStatusChangeReason,
CntrdealReqStatusCriticality,
CntrdealReqCreationDateTime,
CntrdealRequestCreatedByUser,
_CntrdealReqUserText.CntrdealReqCreatedByUserText AS CntrdealReqCreatedByUserText,
CntrdealReqLastChangedByUser,
_CntrdealReqUserText.CntrdealReqLastChgdByUserText AS CntrdealReqLastChgdByUserText,
CntrdealReqLastChangedDateTime,
CounterdealReqChangeDocumentID,
LocalLastChangeDateTime,
CmmdtyHdgPlnExpsrCompanyCode,
_CompanyCode.CompanyCodeName AS CmmdtyHdgPlnExpsrCoCodeText,
CommodityHedgePlanExposureID,
CmmdtyHdgPlanExposureHedgeBook,
CmmdtyHedgePlanExposureDCSID,
CmmdtyHdgPlnExpsrDelivPerdText,
PhysicalCommodity,
CmmdtyHdgBookAuthznGroup,
CmmdtyHdgPlnExposureRemarkNote,
CntrdealDdsgntnRequestIsHidden,
CmmdtyHedgePlanExposureVersion,
_DedesignationRequest.DedesignationRequestIdentifier AS DedesignationRequestIdentifier,
virtual CntrdealReqBeforeOverHedgeText : abap.char( 132 ) AS char132,
virtual CntrdealBfrOvrHedgeCriticality : abap.int1 AS int1,
_Exposure._HedgeBook._CmmdtyHdgBookText.CmmdtyHedgeBookDescription: localized AS CmmdtyHedgeBookDescriptionlocalized,
_DrvtvContrSpec._Text.DerivativeContrSpecName : localized AS DerivativeContrSpecNamelocalized,
_DeliveryCategory._Text.PlngDataDeliveryCategoryText : localized AS PlngDataDeliveryCategoryTextlocalized
FROM R_CmmdtyHdgCntrdealRequestTP
LEFT OUTER JOIN C_CmmdtyHdgCntrdealReqChgDoc AS _CounterdealReqChgDoc ON CounterdealReqChangeDocumentID = _CounterdealReqChgDoc.ChangeDocObject -- association [0..*]
;
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