SWF_FLEX_I_SCEN_VERSION_USAGE

DDL: SWF_FLEX_I_SCEN_VERSION_USAGE SQL: SWFFLEXIVSCVUSE Type: view

Flexible Workflow Scenario Version Usage

SWF_FLEX_I_SCEN_VERSION_USAGE is a CDS View that provides data about "Flexible Workflow Scenario Version Usage" in SAP S/4HANA. It reads from 5 data sources (swdsheader, swf_flex_proc, swf_flex_proc, swf_flex_templat, swwflexproc) and exposes 6 fields.

Data Sources (5)

SourceAliasJoin Type
swdsheader swdsheader from
swf_flex_proc swf_flex_proc left_outer
swf_flex_proc swf_flex_proc_a left_outer
swf_flex_templat swf_flex_templat left_outer
swwflexproc swwflexproc left_outer

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName SWFFLEXIVSCVUSE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Flexible Workflow Scenario Version Usage view

Fields (6)

KeyFieldSource TableSource FieldDescription
wfd_id swdsheader wfd_id Workflow definition
version swdsheader version XML Vers.
ct_def
ct_def_act
ct_inst
ct_tmpl

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_FLEX_I_SCEN_VERSION_USAGE.
-- 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: SWFFLEXIVSCVUSE

CREATE VIEW SWF_FLEX_I_SCEN_VERSION_USAGE AS
SELECT
  swdsheader.wfd_id AS wfd_id,
  swdsheader.version AS version,
  count(distinct swf_flex_proc.id) AS ct_def,
  count(distinct swf_flex_proc_a.id) AS ct_def_act,
  count(distinct swwflexproc.id) AS ct_inst,
  count(distinct swf_flex_templat.appl_obj_id) AS ct_tmpl
FROM swdsheader
LEFT OUTER JOIN swf_flex_proc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN swf_flex_proc AS swf_flex_proc_a ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN swwflexproc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN swf_flex_templat ON /* join condition not captured in parsed metadata */
;