I_CmmdtyHdgRclassfctnReqCmpst

DDL: I_CMMDTYHDGRCLASSFCTNREQCMPST SQL: ICMMHRCLSRQCOMP Type: view COMPOSITE

Composite for Reclassification Request

I_CmmdtyHdgRclassfctnReqCmpst is a Composite CDS View that provides data about "Composite for Reclassification Request" in SAP S/4HANA. It reads from 1 data source (I_CmmdtyHdgRclassfctnRequest) and exposes 40 fields with key field ReclassificationRequestUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmmdtyHdgRclassfctnRequest RclassfctnReq from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_CommodityHedgePlanExposure _Exposure $projection.CommodityHedgePlanExposureUUID = _Exposure.CommodityHedgePlanExposureUUID
[0..1] I_CmmdtyHdgRclassfctnReqCat _RclassfctnReqCategory $projection.RclassfctnRequestCategory = _RclassfctnReqCategory.RclassfctnRequestCategory
[0..1] I_CmmdtyHdgRclassfctnReqStatus _RclassfctnReqStatus $projection.ReclassificationRequestStatus = _RclassfctnReqStatus.ReclassificationRequestStatus
[1..1] I_CmmdtyHdgRclassfctnReqUsrTxt _RclassfctnReqUserText $projection.ReclassificationRequestUUID = _RclassfctnReqUserText.ReclassificationRequestUUID and _RclassfctnReqUserText.Language = $session.system_language
[0..1] I_DerivativeContrSpec _DrvtvContrSpec $projection.cmmdtyhedgeplanexposuredcsid = _DrvtvContrSpec.DerivativeContrSpecification
[0..1] I_CmmdtyHdgPlngDtaDelivCat _DeliveryCategory $projection.cmmdtyhdgplnexpsrdelivperdtype = _DeliveryCategory.PlanningDataDeliveryCategory

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICMMHRCLSRQCOMP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Composite for Reclassification Request view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY ReclassificationRequestUUID ReclassificationRequestUUID UUID
RclassfctnRequestIdentifier RclassfctnRequestIdentifier Reclass Request ID
CommodityHedgePlanExposureUUID CommodityHedgePlanExposureUUID UUID
ReclassificationRequestDate ReclassificationRequestDate Reclass. Date
RclassfctnRequestCategory RclassfctnRequestCategory Reclass. Category
RclassfctnRequestRemarkNote RclassfctnRequestRemarkNote Remark on Reclass.
RclassfctnRequestLogHandle RclassfctnRequestLogHandle Migration Log Handle
ReclassificationRequestStatus ReclassificationRequestStatus Reclass. Status
RclassfctnReqStsChangeReason RclassfctnReqStsChangeReason Status Change Reason
RclassfctnRequestCreatedByUser RclassfctnRequestCreatedByUser Version Created By
RclassfctnReqCreationDateTime RclassfctnReqCreationDateTime Uploaded On
RclassfctnReqLastChangedByUser RclassfctnReqLastChangedByUser Username
RclassfctnReqLastChgdDateTime RclassfctnReqLastChgdDateTime Timestamp
LocalLastChangeDateTime LocalLastChangeDateTime Time Stamp
RclassfctnReqChangeDocumentID
CmmdtyHdgPlnExpsrCompanyCode _Exposure CmmdtyHdgPlnExpsrCompanyCode Company Code
CommodityHedgePlanExposureID _Exposure CommodityHedgePlanExposureID Plan Exposure ID
CmmdtyHedgePlnExposureQuantity _Exposure CmmdtyHedgePlnExposureQuantity Qty
CmmdtyHdgPlnExpsrQuantityUnit _Exposure CmmdtyHdgPlnExpsrQuantityUnit Unit of Measure
CmmdtyHdgPlanExposureHedgeBook _Exposure CmmdtyHdgPlanExposureHedgeBook Hedge Book
CmmdtyHedgePlanExposureDCSID _Exposure CmmdtyHedgePlanExposureDCSID DCS ID
CmmdtyHdgPlanExposureDirection _Exposure CmmdtyHdgPlanExposureDirection Buy or Sell
CmmdtyHdgPlnExpsrHedgingArea _Exposure CmmdtyHdgPlnExpsrHedgingArea Hedging Area
CmmdtyHdgPlnExpsrPrcgStartDate _Exposure CmmdtyHdgPlnExpsrPrcgStartDate Pricing Start Date
CmmdtyHdgPlnExpsrPrcgEndDate _Exposure CmmdtyHdgPlnExpsrPrcgEndDate Pricing End Date
CmmdtyHdgPlnExpsrDelivPerdText _Exposure CmmdtyHdgPlnExpsrDelivPerdText Del. Period Descr.
CmmdtyHdgPlnExpsrDelivPerdType _Exposure CmmdtyHdgPlnExpsrDelivPerdType Delivery Period Cat.
CmmdtyHdgPlnExpsrDelivPerdYear _Exposure CmmdtyHdgPlnExpsrDelivPerdYear Exposure Deliv. Year
CmmdtyHdgPlnExpsrValidFromDate _Exposure CmmdtyHdgPlnExpsrValidFromDate Valid-From Date
_CompanyCode _Exposure _CompanyCode
PhysicalCommodity _Exposure PhysicalCommodity
CmmdtyHdgBookAuthznGroup
CmmdtyHdgPlnExposureRemarkNote _Exposure CmmdtyHdgPlnExposureRemarkNote Remark
CmmdtyHedgePlanExposureVersion _Exposure CmmdtyHedgePlanExposureVersion Exposure Version No.
_Exposure _Exposure
_RclassfctnReqCategory _RclassfctnReqCategory
_RclassfctnReqStatus _RclassfctnReqStatus
_RclassfctnReqUserText _RclassfctnReqUserText
_DrvtvContrSpec _DrvtvContrSpec
_DeliveryCategory _DeliveryCategory

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_CmmdtyHdgRclassfctnReqCmpst.
-- 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: ICMMHRCLSRQCOMP

CREATE VIEW I_CmmdtyHdgRclassfctnReqCmpst AS
SELECT
  ReclassificationRequestUUID,
  RclassfctnRequestIdentifier,
  CommodityHedgePlanExposureUUID,
  ReclassificationRequestDate,
  RclassfctnRequestCategory,
  RclassfctnRequestRemarkNote,
  RclassfctnRequestLogHandle,
  ReclassificationRequestStatus,
  RclassfctnReqStsChangeReason,
  RclassfctnRequestCreatedByUser,
  RclassfctnReqCreationDateTime,
  RclassfctnReqLastChangedByUser,
  RclassfctnReqLastChgdDateTime,
  LocalLastChangeDateTime,
  bintohex( ReclassificationRequestUUID ) AS RclassfctnReqChangeDocumentID,
  _Exposure.CmmdtyHdgPlnExpsrCompanyCode AS CmmdtyHdgPlnExpsrCompanyCode,
  _Exposure.CommodityHedgePlanExposureID AS CommodityHedgePlanExposureID,
  _Exposure.CmmdtyHedgePlnExposureQuantity AS CmmdtyHedgePlnExposureQuantity,
  _Exposure.CmmdtyHdgPlnExpsrQuantityUnit AS CmmdtyHdgPlnExpsrQuantityUnit,
  _Exposure.CmmdtyHdgPlanExposureHedgeBook AS CmmdtyHdgPlanExposureHedgeBook,
  _Exposure.CmmdtyHedgePlanExposureDCSID AS CmmdtyHedgePlanExposureDCSID,
  _Exposure.CmmdtyHdgPlanExposureDirection AS CmmdtyHdgPlanExposureDirection,
  _Exposure.CmmdtyHdgPlnExpsrHedgingArea AS CmmdtyHdgPlnExpsrHedgingArea,
  _Exposure.CmmdtyHdgPlnExpsrPrcgStartDate AS CmmdtyHdgPlnExpsrPrcgStartDate,
  _Exposure.CmmdtyHdgPlnExpsrPrcgEndDate AS CmmdtyHdgPlnExpsrPrcgEndDate,
  _Exposure.CmmdtyHdgPlnExpsrDelivPerdText AS CmmdtyHdgPlnExpsrDelivPerdText,
  _Exposure.CmmdtyHdgPlnExpsrDelivPerdType AS CmmdtyHdgPlnExpsrDelivPerdType,
  _Exposure.CmmdtyHdgPlnExpsrDelivPerdYear AS CmmdtyHdgPlnExpsrDelivPerdYear,
  _Exposure.CmmdtyHdgPlnExpsrValidFromDate AS CmmdtyHdgPlnExpsrValidFromDate,
  _Exposure._CompanyCode AS _CompanyCode,
  _Exposure.PhysicalCommodity AS PhysicalCommodity,
  _Exposure._HedgeBook.CmmdtyHdgBookAuthznGroup AS CmmdtyHdgBookAuthznGroup,
  _Exposure.CmmdtyHdgPlnExposureRemarkNote AS CmmdtyHdgPlnExposureRemarkNote,
  _Exposure.CmmdtyHedgePlanExposureVersion AS CmmdtyHedgePlanExposureVersion
FROM I_CmmdtyHdgRclassfctnRequest AS RclassfctnReq
LEFT OUTER JOIN I_CommodityHedgePlanExposure AS _Exposure ON CommodityHedgePlanExposureUUID = _Exposure.CommodityHedgePlanExposureUUID  -- association [0..1]
LEFT OUTER JOIN I_CmmdtyHdgRclassfctnReqCat AS _RclassfctnReqCategory ON RclassfctnRequestCategory = _RclassfctnReqCategory.RclassfctnRequestCategory  -- association [0..1]
LEFT OUTER JOIN I_CmmdtyHdgRclassfctnReqStatus AS _RclassfctnReqStatus ON ReclassificationRequestStatus = _RclassfctnReqStatus.ReclassificationRequestStatus  -- association [0..1]
LEFT OUTER JOIN I_CmmdtyHdgRclassfctnReqUsrTxt AS _RclassfctnReqUserText ON ReclassificationRequestUUID = _RclassfctnReqUserText.ReclassificationRequestUUID AND _RclassfctnReqUserText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_DerivativeContrSpec AS _DrvtvContrSpec ON cmmdtyhedgeplanexposuredcsid = _DrvtvContrSpec.DerivativeContrSpecification  -- association [0..1]
LEFT OUTER JOIN I_CmmdtyHdgPlngDtaDelivCat AS _DeliveryCategory ON cmmdtyhdgplnexpsrdelivperdtype = _DeliveryCategory.PlanningDataDeliveryCategory  -- association [0..1]
;