SWF_DAAG_NON_FINAL_CHILDREN

DDL: SWF_DAAG_NON_FINAL_CHILDREN SQL: SWFDAAGNONFIN Type: view

WF instances with non-final tasks

SWF_DAAG_NON_FINAL_CHILDREN is a CDS View that provides data about "WF instances with non-final tasks" in SAP S/4HANA. It reads from 2 data sources (swwwihead, swwwihead) and exposes 2 fields with key fields topLevelTask, workflowInstance.

Data Sources (2)

SourceAliasJoin Type
swwwihead workflowInstance from
swwwihead workflowTask left_outer

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName SWFDAAGNONFIN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label WF instances with non-final tasks view

Fields (2)

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

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_NON_FINAL_CHILDREN.
-- 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: SWFDAAGNONFIN

CREATE VIEW SWF_DAAG_NON_FINAL_CHILDREN AS
SELECT
  workflowInstance.wi_rh_task AS topLevelTask,
  workflowInstance.wi_id AS workflowInstance
FROM swwwihead AS workflowInstance
LEFT OUTER JOIN swwwihead AS workflowTask ON /* join condition not captured in parsed metadata */
;