/AIF/I_CommentCount

DDL: /AIF/I_COMMENTCOUNT SQL: /AIF/ICOMMCNT Type: view

Comment count

/AIF/I_CommentCount is a CDS View that provides data about "Comment count" in SAP S/4HANA. It reads from 1 data source (/aif/msg_comment) and exposes 5 fields with key fields ns, ifname, ifver, msgguid.

Data Sources (1)

SourceAliasJoin Type
/aif/msg_comment /aif/msg_comment from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName /AIF/ICOMMCNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Comment count view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ns ns Namespace
KEY ifname ifname Interface Name
KEY ifver ifver Interface Version
KEY msgguid msgguid Message GUID
commentcount

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 /AIF/I_CommentCount.
-- 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: /AIF/ICOMMCNT

CREATE VIEW /AIF/I_CommentCount AS
SELECT
  ns,
  ifname,
  ifver,
  msgguid,
  count(distinct counter) AS commentcount
FROM /aif/msg_comment
;