I_CmmdtyOrderAssgdDocByOrdFill

DDL: I_CMMDTYORDERASSGDDOCBYORDFILL SQL: ICMMFILASGDOCCNT Type: view BASIC Package: FS_CMM_CDOTE_ORDER_FILL

Basic View to Count Ord Fill Assgd Docs

I_CmmdtyOrderAssgdDocByOrdFill is a Basic CDS View that provides data about "Basic View to Count Ord Fill Assgd Docs" in SAP S/4HANA. It reads from 2 data sources (I_CmmdtyOrdReqDocument, cmmfdof_d_fill) and exposes 2 fields with key field CommodityOrderFillUUID. Part of development package FS_CMM_CDOTE_ORDER_FILL.

Data Sources (2)

SourceAliasJoin Type
I_CmmdtyOrdReqDocument AssignedDocs left_outer
cmmfdof_d_fill CmmdtyFill from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICMMFILASGDOCCNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic View to Count Ord Fill Assgd Docs view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CommodityOrderFillUUID cmmfdof_d_fill commodityorderfilluuid Key
CmmdtyOrdFillNrOfAssignedDocs

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_CmmdtyOrderAssgdDocByOrdFill.
-- 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: ICMMFILASGDOCCNT

CREATE VIEW I_CmmdtyOrderAssgdDocByOrdFill AS
SELECT
  CmmdtyFill.commodityorderfilluuid AS CommodityOrderFillUUID,
  count( distinct AssignedDocs.CmmdtyOrderRequestDocumentUUID ) AS CmmdtyOrdFillNrOfAssignedDocs
FROM cmmfdof_d_fill AS CmmdtyFill
LEFT OUTER JOIN I_CmmdtyOrdReqDocument AS AssignedDocs ON /* join condition not captured in parsed metadata */
;