I_WorkflowTaskCount

DDL: I_WORKFLOWTASKCOUNT SQL: IWRKFLWTSKCNT Type: view BASIC

Exposes the number of tasks

I_WorkflowTaskCount is a Basic CDS View that provides data about "Exposes the number of tasks" in SAP S/4HANA. It reads from 1 data source (swwwihead) and exposes 3 fields with key field WorkflowInternalID.

Data Sources (1)

SourceAliasJoin Type
swwwihead swwwihead from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IWRKFLWTSKCNT view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Exposes the number of tasks view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY WorkflowInternalID top_wi_id Top Level Workflow
WorkflowTaskExternalStatus wi_stat Status
NumberOfWorkflowDialogTasks

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_WorkflowTaskCount.
-- 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: IWRKFLWTSKCNT

CREATE VIEW I_WorkflowTaskCount AS
SELECT
  top_wi_id AS WorkflowInternalID,
  wi_stat AS WorkflowTaskExternalStatus,
  count( * ) AS NumberOfWorkflowDialogTasks
FROM swwwihead
;