I_CmmdtyOrdReltdFillByOrdFill

DDL: I_CMMDTYORDRELTDFILLBYORDFILL SQL: ICMMPKTRELFLCNT Type: view BASIC

Basic View to Count Fill Related Fills

I_CmmdtyOrdReltdFillByOrdFill is a Basic CDS View that provides data about "Basic View to Count Fill Related Fills" in SAP S/4HANA. It reads from 2 data sources (cmmfdof_d_fill, cmmfdof_d_fill) and exposes 2 fields with key field CommodityOrderFillUUID.

Data Sources (2)

SourceAliasJoin Type
cmmfdof_d_fill CmmdtyFill from
cmmfdof_d_fill RelatedFills left_outer

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICMMPKTRELFLCNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic View to Count Fill Related Fills view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CommodityOrderFillUUID cmmfdof_d_fill commodityorderfilluuid Key
CmmdtyOrdFillNrOfRelatedFills

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_CmmdtyOrdReltdFillByOrdFill.
-- 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: ICMMPKTRELFLCNT

CREATE VIEW I_CmmdtyOrdReltdFillByOrdFill AS
SELECT
  CmmdtyFill.commodityorderfilluuid AS CommodityOrderFillUUID,
  count( distinct RelatedFills.commodityorderfilluuid ) AS CmmdtyOrdFillNrOfRelatedFills
FROM cmmfdof_d_fill AS CmmdtyFill
LEFT OUTER JOIN cmmfdof_d_fill AS RelatedFills ON /* join condition not captured in parsed metadata */
;