P_MaintNotifSuccssflTaskCount

DDL: P_MAINTNOTIFSUCCSSFLTASKCOUNT SQL: PMAINTNTFSTSKCNT Type: view COMPOSITE

P_MaintNotifSuccssflTaskCount is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_MaintenanceNotificationTask) and exposes 3 fields with key field MaintenanceNotification. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceNotificationTask I_MaintenanceNotificationTask from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_MaintenanceNotification _MaintenanceNotification _MaintenanceNotification.MaintenanceNotification = $projection.MaintenanceNotification

Annotations (10)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName PMAINTNTFSTSKCNT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey MaintenanceNotification view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceNotification I_MaintenanceNotificationTask MaintenanceNotification Notification
NrOfMaintNotifSuccssflTasks Tasks
_MaintenanceNotification _MaintenanceNotification

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_MaintNotifSuccssflTaskCount.
-- 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: PMAINTNTFSTSKCNT

CREATE VIEW P_MaintNotifSuccssflTaskCount AS
SELECT
  I_MaintenanceNotificationTask.MaintenanceNotification AS MaintenanceNotification,
  count( * ) AS NrOfMaintNotifSuccssflTasks
FROM I_MaintenanceNotificationTask
LEFT OUTER JOIN I_MaintenanceNotification AS _MaintenanceNotification ON _MaintenanceNotification.MaintenanceNotification = MaintenanceNotification  -- association [0..1]
;