P_RSHMaintSchedActyReplyCount

DDL: P_RSHMAINTSCHEDACTYREPLYCOUNT SQL: PRSHACTRPLYCNT Type: view COMPOSITE Package: RSH_CDS_MAINT_SCHED_SIM

Schedule Activity Comment Reply count

P_RSHMaintSchedActyReplyCount is a Composite CDS View that provides data about "Schedule Activity Comment Reply count" in SAP S/4HANA. It reads from 2 data sources (I_RSHMaintSchedActivityLog, I_RSHMaintSchedActivityLog) and exposes 2 fields with key field MaintSchedActivityLogUUID. Part of development package RSH_CDS_MAINT_SCHED_SIM.

Data Sources (2)

SourceAliasJoin Type
I_RSHMaintSchedActivityLog Comments from
I_RSHMaintSchedActivityLog Replies inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PRSHACTRPLYCNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MaintSchedActivityLogUUID I_RSHMaintSchedActivityLog MaintSchedActivityLogUUID UUID
NumberOfMaintSchedActyReplies

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_RSHMaintSchedActyReplyCount.
-- 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: PRSHACTRPLYCNT

CREATE VIEW P_RSHMaintSchedActyReplyCount AS
SELECT
  Comments.MaintSchedActivityLogUUID AS MaintSchedActivityLogUUID,
  count(*) AS NumberOfMaintSchedActyReplies
FROM I_RSHMaintSchedActivityLog AS Comments
INNER JOIN I_RSHMaintSchedActivityLog AS Replies ON /* join condition not captured in parsed metadata */
;