I_CmmdtyHedgeTargetQuotaHeader

DDL: I_CMMDTYHEDGETARGETQUOTAHEADER SQL: ICMMHDGTQHEADER Type: view BASIC Package: FIN_CMM_CMDTY_HEDGE_TQ

Commodity Hedge Target Quota

I_CmmdtyHedgeTargetQuotaHeader is a Basic CDS View that provides data about "Commodity Hedge Target Quota" in SAP S/4HANA. It reads from 1 data source (cmmt_targetquota) and exposes 18 fields with key field CmmdtyHedgeTargetQuotaUUID. Part of development package FIN_CMM_CMDTY_HEDGE_TQ.

Data Sources (1)

SourceAliasJoin Type
cmmt_targetquota tq from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICMMHDGTQHEADER view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Commodity Hedge Target Quota view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CmmdtyHedgeTargetQuotaUUID cmmt_targetquota targetquota_uuid UUID
CmmdtyHedgeTargetQuotaVersion cmmt_targetquota version XML Vers.
CompanyCode cmmt_targetquota company_code Company Code
DerivativeContrSpecification cmmt_targetquota dcs_id DCS ID
CmmdtyHdgTargetQuotaDirection cmmt_targetquota direction Long/Short Position
CmmdtyHdgTgtQtaValdFrmDateTime cmmt_targetquota valid_from Validity Start Time
CmmdtyHdgTgtQuotaPeriodClass cmmt_targetquota period_class Period Class
CmmdtyHdgTgtQuotaHedgeBookID cmmt_targetquota hedge_book Hedge Book
CommodityHedgeRemarkNote cmmt_targetquota remark Status Description
IsActive cmmt_targetquota is_active Truth Value
CmmdtyHedgeTargetQuotaStatusID cmmt_targetquota status_id Trans Doc Status
CmmdtyHdgTargetQuotaLogHandle cmmt_targetquota log_handle Migration Log Handle
CmmdtyHdgTgtQuotaIsFullyHedged cmmt_targetquota is_hedged_fully To Be Fully Hedged
CmmdtyHdgTgtQuotaCreatedByUser
CmmdtyHdgTgtQtaCrtnDateTime cmmt_targetquota created_at Uploaded On
CmmdtyHdgTargetQuotaIsObsolete cmmt_targetquota is_obsolete TQ Obslt
CmmdtyHdgTgtQuotaChangedByUser
CmmdtyHdgTgtQtaChangeDateTime cmmt_targetquota changed_at Timestamp

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_CmmdtyHedgeTargetQuotaHeader.
-- 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: ICMMHDGTQHEADER

CREATE VIEW I_CmmdtyHedgeTargetQuotaHeader AS
SELECT
  tq.targetquota_uuid AS CmmdtyHedgeTargetQuotaUUID,
  tq.version AS CmmdtyHedgeTargetQuotaVersion,
  tq.company_code AS CompanyCode,
  tq.dcs_id AS DerivativeContrSpecification,
  tq.direction AS CmmdtyHdgTargetQuotaDirection,
  tq.valid_from AS CmmdtyHdgTgtQtaValdFrmDateTime,
  tq.period_class AS CmmdtyHdgTgtQuotaPeriodClass,
  tq.hedge_book AS CmmdtyHdgTgtQuotaHedgeBookID,
  tq.remark AS CommodityHedgeRemarkNote,
  tq.is_active AS IsActive,
  tq.status_id AS CmmdtyHedgeTargetQuotaStatusID,
  tq.log_handle AS CmmdtyHdgTargetQuotaLogHandle,
  tq.is_hedged_fully AS CmmdtyHdgTgtQuotaIsFullyHedged,
  cast( tq.created_by as cmm_hdg_crtd_by ) AS CmmdtyHdgTgtQuotaCreatedByUser,
  tq.created_at AS CmmdtyHdgTgtQtaCrtnDateTime,
  tq.is_obsolete AS CmmdtyHdgTargetQuotaIsObsolete,
  cast( tq.changed_by as cmm_hdg_crtd_by ) AS CmmdtyHdgTgtQuotaChangedByUser,
  tq.changed_at AS CmmdtyHdgTgtQtaChangeDateTime
FROM cmmt_targetquota AS tq
;