I_CmmdtyHdgReqFXHedgeRequest

DDL: I_CMMDTYHDGREQFXHEDGEREQUEST SQL: ICMMHDGFXHREQ Type: view BASIC Package: FIN_CMM_CMDTY_HEDGE_REQUESTS

Basic for FX Hedge Requests

I_CmmdtyHdgReqFXHedgeRequest is a Basic CDS View that provides data about "Basic for FX Hedge Requests" in SAP S/4HANA. It reads from 2 data sources (toet_hreq, I_CmmdtyHdgFXHdgReqCategory) and exposes 16 fields with key field CmmdtyHdgFXHedgeRequestUUID. It has 1 association to related views. Part of development package FIN_CMM_CMDTY_HEDGE_REQUESTS.

Data Sources (2)

SourceAliasJoin Type
toet_hreq FXHedgeRequest from
I_CmmdtyHdgFXHdgReqCategory FXHedgeRequestCategory inner

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_CmmdtyHdgFXHdgReqInstrCatTxt _InstrCategoryText $projection.CmmdtyHdgFXHdgReqInstrCategory = _InstrCategoryText.CmmdtyHdgFXHdgReqInstrCategory

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICMMHDGFXHREQ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey CmmdtyHdgFXHedgeRequestUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Basic for FX Hedge Requests view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY CmmdtyHdgFXHedgeRequestUUID toet_hreq guid UUID 22 char.
HedgeRequestIdentifier toet_hreq hedge_request_id Hedge Request ID
CmmdtyHdgFXHdgRequestAmount toet_hreq hreq_volume Hedge Request Amount
CmmdtyHdgFXHdgRequestCurrency toet_hreq hreq_currency Currency
CmmdtyHdgFXHdgRequestStatus toet_hreq release_status Status
CmmdtyHdgFXHdgReqInstrCategory toet_hreq instrument_category Instrument Cat.
CmmdtyHdgFXHdgRequestValueDate toet_hreq value_date Value date
CmmdtyHdgFXHdgRequestCategory toet_hreq request_cat Hedge Req. Category
CmmdtyHdgFXHdgRequestPortfolio toet_hreq portfolio_req Portfolio
CmmdtyHdgFXHdgReqCompanyCode toet_hreq company_code Company Code
CmmdtyHdgFXHdgReqCreatedByUser toet_hreq create_user User Name
CmmdtyHdgFXHdgReqCrtnDateTime toet_hreq create_time Time
CmmdtyHdgFXHdgReqLastChgdByUsr toet_hreq last_change_user Last Changed By
CmHdgFXHdgReqLastChgdDateTime toet_hreq last_change_time Time Stamp
CmmdtyHdgFXHdgReqInstrCatText
_InstrCategoryText _InstrCategoryText

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_CmmdtyHdgReqFXHedgeRequest.
-- 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: ICMMHDGFXHREQ

CREATE VIEW I_CmmdtyHdgReqFXHedgeRequest AS
SELECT
  FXHedgeRequest.guid AS CmmdtyHdgFXHedgeRequestUUID,
  FXHedgeRequest.hedge_request_id AS HedgeRequestIdentifier,
  FXHedgeRequest.hreq_volume AS CmmdtyHdgFXHdgRequestAmount,
  FXHedgeRequest.hreq_currency AS CmmdtyHdgFXHdgRequestCurrency,
  FXHedgeRequest.release_status AS CmmdtyHdgFXHdgRequestStatus,
  FXHedgeRequest.instrument_category AS CmmdtyHdgFXHdgReqInstrCategory,
  FXHedgeRequest.value_date AS CmmdtyHdgFXHdgRequestValueDate,
  FXHedgeRequest.request_cat AS CmmdtyHdgFXHdgRequestCategory,
  FXHedgeRequest.portfolio_req AS CmmdtyHdgFXHdgRequestPortfolio,
  FXHedgeRequest.company_code AS CmmdtyHdgFXHdgReqCompanyCode,
  FXHedgeRequest.create_user AS CmmdtyHdgFXHdgReqCreatedByUser,
  FXHedgeRequest.create_time AS CmmdtyHdgFXHdgReqCrtnDateTime,
  FXHedgeRequest.last_change_user AS CmmdtyHdgFXHdgReqLastChgdByUsr,
  FXHedgeRequest.last_change_time AS CmHdgFXHdgReqLastChgdDateTime,
  _InstrCategoryText[1:Language = $session.system_language].CmmdtyHdgFXHdgReqInstrCatText AS CmmdtyHdgFXHdgReqInstrCatText
FROM toet_hreq AS FXHedgeRequest
INNER JOIN I_CmmdtyHdgFXHdgReqCategory AS FXHedgeRequestCategory ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmmdtyHdgFXHdgReqInstrCatTxt AS _InstrCategoryText ON CmmdtyHdgFXHdgReqInstrCategory = _InstrCategoryText.CmmdtyHdgFXHdgReqInstrCategory  -- association [1..*]
;