I_WFTMPL_SCENVALHELP_BASE

DDL: I_WFTMPL_SCENVALHELP_BASE SQL: IVWFTMPLSCENVHB Type: view BASIC Package: SWF_FLEX_APP_TEMPLATE

Workflow Scenario

I_WFTMPL_SCENVALHELP_BASE is a Basic CDS View that provides data about "Workflow Scenario" in SAP S/4HANA. It reads from 1 data source (swf_flex_screg) and exposes 8 fields with key field Wfd_Id. It has 3 associations to related views. Part of development package SWF_FLEX_APP_TEMPLATE.

Data Sources (1)

SourceAliasJoin Type
swf_flex_screg Scenario from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_WorkflowTaskDefinitionText _Text _Text.WorkflowTaskDefinitionObjType = 'WS' and _Text.WorkflowTaskDefinitionObject = $projection.WrkflwScenObject
[0..1] I_WorkflowScenarioType _Type _Type.WrkflwScenType = $projection.WrkflwScenType
[0..1] I_WorkflowScenarioApplComp _Component _Component.WrkflwScen = $projection.Wfd_Id

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IVWFTMPLSCENVHB view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Workflow Scenario view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #B view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Wfd_Id swf_flex_screg wfd_id Workflow definition
WrkflwScenType swf_flex_screg scenario_type Type
WrkflwScenObject
SAPApplicationComponent _Component SAPApplicationComponent
WrkflwScenIsActv Activation active Usage Active
_Text _Text
_Type _Type
_Component _Component

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_WFTMPL_SCENVALHELP_BASE.
-- 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: IVWFTMPLSCENVHB

CREATE VIEW I_WFTMPL_SCENVALHELP_BASE AS
SELECT
  Scenario.wfd_id AS Wfd_Id,
  Scenario.scenario_type AS WrkflwScenType,
  substring(Scenario.wfd_id,3,8) AS WrkflwScenObject,
  _Component.SAPApplicationComponent AS SAPApplicationComponent,
  Activation.active AS WrkflwScenIsActv
FROM swf_flex_screg AS Scenario
LEFT OUTER JOIN I_WorkflowTaskDefinitionText AS _Text ON _Text.WorkflowTaskDefinitionObjType = 'WS' AND _Text.WorkflowTaskDefinitionObject = WrkflwScenObject  -- association [0..*]
LEFT OUTER JOIN I_WorkflowScenarioType AS _Type ON _Type.WrkflwScenType = WrkflwScenType  -- association [0..1]
LEFT OUTER JOIN I_WorkflowScenarioApplComp AS _Component ON _Component.WrkflwScen = Wfd_Id  -- association [0..1]
;