I_WorkflowStage
Workflow Scenario Stage
I_WorkflowStage is a Basic CDS View that provides data about "Workflow Scenario Stage" in SAP S/4HANA. It reads from 1 data source (swf_flex_scstage) and exposes 15 fields with key fields WrkflwScen, WrkflwStage. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| swf_flex_scstage | Stage | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_WorkflowScenario | _Scenario | $projection.WrkflwScen = _Scenario.Wfd_Id |
| [0..*] | I_WorkflowStageText | _Text | $projection.WrkflwScen = _Text.WrkflwScen and $projection.WrkflwStage = _Text.WrkflwStage |
| [0..1] | I_WorkflowStageTextTrnsltn | _Translation | $projection.WrkflwScen = _Translation.WrkflwScen and $projection.WrkflwStage = _Translation.WrkflwStage and $projection.WrkflwStageCrtedLang = _Translation.Language |
| [0..1] | I_Language | _Language | $projection.WrkflwStageCrtedLang = _Language.Language |
| [0..1] | I_WorkflowUser | _CreatedBy | $projection.WrkflwStageCrtedUsr = _CreatedBy.UserID |
| [0..1] | I_WorkflowUser | _ChangedBy | $projection.WrkflwStageLastChgdUsr = _ChangedBy.UserID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IVWRKFLWSTAGE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Workflow Scenario Stage | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeActivePersistence | SWF_FLEX_SCSTAGE | view | |
| ObjectModel.createEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | false | 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 (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WrkflwScen | swf_flex_scstage | wrkflwscen | Scenario |
| KEY | WrkflwStage | swf_flex_scstage | wrkflwstage | Workflow Stage |
| WrkflwStageName | _Translation | WrkflwStageName | Stage Name | |
| WrkflwStageCrtedLang | swf_flex_scstage | wrkflwstagecrtedlang | Creation Language | |
| WrkflwStageCrtedUsr | swf_flex_scstage | wrkflwstagecrtedusr | Created By | |
| WrkflwStageCrtedUTCDteTme | swf_flex_scstage | wrkflwstagecrtedutcdtetme | Created On | |
| WrkflwStageLastChgdUsr | swf_flex_scstage | wrkflwstagelastchgdusr | Changed By | |
| WrkflwStageLastChgdUTCDteTme | swf_flex_scstage | wrkflwstagelastchgdutcdtetme | Changed On | |
| WrkflwStageTransported | swf_flex_scstage | wrkflwstagetransported | Transport Flag | |
| IsDeleted | swf_flex_scstage | isdeleted | TRUE | |
| _Scenario | _Scenario | |||
| _Text | _Text | |||
| _Language | _Language | |||
| _CreatedBy | _CreatedBy | |||
| _ChangedBy | _ChangedBy |
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_WorkflowStage.
-- 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: IVWRKFLWSTAGE
CREATE VIEW I_WorkflowStage AS
SELECT
Stage.wrkflwscen AS WrkflwScen,
Stage.wrkflwstage AS WrkflwStage,
_Translation.WrkflwStageName AS WrkflwStageName,
Stage.wrkflwstagecrtedlang AS WrkflwStageCrtedLang,
Stage.wrkflwstagecrtedusr AS WrkflwStageCrtedUsr,
Stage.wrkflwstagecrtedutcdtetme AS WrkflwStageCrtedUTCDteTme,
Stage.wrkflwstagelastchgdusr AS WrkflwStageLastChgdUsr,
Stage.wrkflwstagelastchgdutcdtetme AS WrkflwStageLastChgdUTCDteTme,
Stage.wrkflwstagetransported AS WrkflwStageTransported,
Stage.isdeleted AS IsDeleted
FROM swf_flex_scstage AS Stage
LEFT OUTER JOIN I_WorkflowScenario AS _Scenario ON WrkflwScen = _Scenario.Wfd_Id -- association [1..1]
LEFT OUTER JOIN I_WorkflowStageText AS _Text ON WrkflwScen = _Text.WrkflwScen AND WrkflwStage = _Text.WrkflwStage -- association [0..*]
LEFT OUTER JOIN I_WorkflowStageTextTrnsltn AS _Translation ON WrkflwScen = _Translation.WrkflwScen AND WrkflwStage = _Translation.WrkflwStage AND WrkflwStageCrtedLang = _Translation.Language -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON WrkflwStageCrtedLang = _Language.Language -- association [0..1]
LEFT OUTER JOIN I_WorkflowUser AS _CreatedBy ON WrkflwStageCrtedUsr = _CreatedBy.UserID -- association [0..1]
LEFT OUTER JOIN I_WorkflowUser AS _ChangedBy ON WrkflwStageLastChgdUsr = _ChangedBy.UserID -- 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