SWF_DAAG_NUMBER_WI_PER_TASK

DDL: SWF_DAAG_NUMBER_WI_PER_TASK SQL: SWFDAAGNOOFWI Type: view

average number of work items for each task

SWF_DAAG_NUMBER_WI_PER_TASK is a CDS View that provides data about "average number of work items for each task" in SAP S/4HANA. It reads from 2 data sources (swwwihead, swwwihead) and exposes 3 fields with key fields topLevelTask, workflowInstance.

Data Sources (2)

SourceAliasJoin Type
swwwihead workflowInstance from
swwwihead workflowTask inner

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName SWFDAAGNOOFWI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label average number of work items for each task view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY topLevelTask swwwihead wi_rh_task Task
KEY workflowInstance swwwihead wi_id WorkItem ID
numberOfChildren

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 SWF_DAAG_NUMBER_WI_PER_TASK.
-- 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: SWFDAAGNOOFWI

CREATE VIEW SWF_DAAG_NUMBER_WI_PER_TASK AS
SELECT
  workflowInstance.wi_rh_task AS topLevelTask,
  workflowInstance.wi_id AS workflowInstance,
  count( * ) AS numberOfChildren
FROM swwwihead AS workflowInstance
INNER JOIN swwwihead AS workflowTask ON /* join condition not captured in parsed metadata */
;