I_CmmdtyRelatedBracketByOrdReq

DDL: I_CMMDTYRELATEDBRACKETBYORDREQ SQL: ICMMORDRLBKTCNT Type: view BASIC Package: FS_CMM_CDOTE_ORDER_REQUEST

Basic View to Count Ord Rltd Brackets

I_CmmdtyRelatedBracketByOrdReq is a Basic CDS View that provides data about "Basic View to Count Ord Rltd Brackets" in SAP S/4HANA. It reads from 2 data sources (cmmfdor_d_order, cmmfdor_d_bkti) and exposes 2 fields with key field CommodityOrderRequestUUID. Part of development package FS_CMM_CDOTE_ORDER_REQUEST.

Data Sources (2)

SourceAliasJoin Type
cmmfdor_d_order OrderRequest from
cmmfdor_d_bkti RelatedBrackets left_outer

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICMMORDRLBKTCNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic View to Count Ord Rltd Brackets 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 CommodityOrderRequestUUID cmmfdor_d_order commodityorderrequestuuid Key
CmmdtyOrdReqNrOfReltdBrackets

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_CmmdtyRelatedBracketByOrdReq.
-- 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: ICMMORDRLBKTCNT

CREATE VIEW I_CmmdtyRelatedBracketByOrdReq AS
SELECT
  OrderRequest.commodityorderrequestuuid AS CommodityOrderRequestUUID,
  count( distinct RelatedBrackets.cmmdtyorderrequestbracketuuid ) AS CmmdtyOrdReqNrOfReltdBrackets
FROM cmmfdor_d_order AS OrderRequest
LEFT OUTER JOIN cmmfdor_d_bkti AS RelatedBrackets ON /* join condition not captured in parsed metadata */
;