C_CmmdtyHdgCntrdealRequestTP

DDL: C_CMMDTYHDGCNTRDEALREQUESTTP Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
R_CmmdtyHdgCntrdealRequestTP R_CmmdtyHdgCntrdealRequestTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_CmmdtyHdgCntrdealReqChgDoc _CounterdealReqChgDoc $projection.CounterdealReqChangeDocumentID = _CounterdealReqChgDoc.ChangeDocObject

Annotations (7)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
UI_CMMDTYHDGCNTRDEALREQ UI_CMMDTYHDGCNTRDEALREQ V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
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)

KeyFieldSource TableSource FieldDescription
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..*]
;