P_CMMDTYHDGTGTQTASTATUSREASON

DDL: P_CMMDTYHDGTGTQTASTATUSREASON SQL: PCMMTQSTATRSN Type: view COMPOSITE

Target Quota Status Reason

P_CMMDTYHDGTGTQTASTATUSREASON is a Composite CDS View that provides data about "Target Quota Status Reason" in SAP S/4HANA. It reads from 1 data source (I_CmmdtyHedgeTargetQuotaStatus) and exposes 2 fields with key field CmmdtyHedgeObjectDocumentUUID.

Data Sources (1)

SourceAliasJoin Type
I_CmmdtyHedgeTargetQuotaStatus I_CmmdtyHedgeTargetQuotaStatus from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCMMTQSTATRSN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Target Quota Status Reason view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CmmdtyHedgeObjectDocumentUUID CmmdtyHedgeObjectDocumentUUID UUID
CmmdtyHdgObjStsChangeDateTime

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 P_CMMDTYHDGTGTQTASTATUSREASON.
-- 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: PCMMTQSTATRSN

CREATE VIEW P_CMMDTYHDGTGTQTASTATUSREASON AS
SELECT
  CmmdtyHedgeObjectDocumentUUID,
  max(CmmdtyHdgObjStsChangeDateTime) AS CmmdtyHdgObjStsChangeDateTime
FROM I_CmmdtyHedgeTargetQuotaStatus
;