I_WorkflowScenario
Workflow Scenario
I_WorkflowScenario 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 9 fields with key field Wfd_Id. It has 4 associations to related views. Part of development package SWF_FLEX_APP_STAGE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| swf_flex_screg | Scenario | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_WorkflowStage | _Stage | $projection.Wfd_Id = _Stage.WrkflwScen |
| [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 (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IVWRKFLWSCEN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Workflow Scenario | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.writeActivePersistence | SWF_FLEX_SCREG | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | false | 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 | |
| ObjectModel.usageType.sizeCategory | #M | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | |
| _Stage | _Stage | |||
| _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_WorkflowScenario.
-- 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: IVWRKFLWSCEN
CREATE VIEW I_WorkflowScenario 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_WorkflowStage AS _Stage ON Wfd_Id = _Stage.WrkflwScen -- association [0..*]
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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA