C_WorkflowStage

DDL: C_WORKFLOWSTAGE SQL: CVWRKFLWSTAGE Type: view CONSUMPTION Package: SWF_FLEX_APP_STAGE

Flexible Workflow Scenario Stage

C_WorkflowStage is a Consumption CDS View that provides data about "Flexible Workflow Scenario Stage" in SAP S/4HANA. It reads from 2 data sources (I_WorkflowScenarioValHelp, I_WorkflowStage) and exposes 12 fields with key fields WrkflwScen, WrkflwStage. It has 1 association to related views. Part of development package SWF_FLEX_APP_STAGE.

Data Sources (2)

SourceAliasJoin Type
I_WorkflowScenarioValHelp Scenario inner
I_WorkflowStage Stage from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_WorkflowScenario _Scenario $projection.WrkflwScen = _Scenario.WrkflwScen

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CVWRKFLWSTAGE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Flexible Workflow Scenario Stage view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled false view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY WrkflwScen I_WorkflowStage WrkflwScen Scenario
KEY WrkflwStage I_WorkflowStage WrkflwStage Workflow Stage
WrkflwStageName I_WorkflowStage WrkflwStageName Stage Name
WrkflwStageCrtedLang I_WorkflowStage WrkflwStageCrtedLang Creation Language
WrkflwStageCrtedUsr I_WorkflowStage WrkflwStageCrtedUsr Created By
WrkflwStageCrtedUTCDteTme I_WorkflowStage WrkflwStageCrtedUTCDteTme Created On
WrkflwStageLastChgdUsr I_WorkflowStage WrkflwStageLastChgdUsr Changed By
WrkflwStageLastChgdUTCDteTme I_WorkflowStage WrkflwStageLastChgdUTCDteTme Changed On
_Language I_WorkflowStage _Language
_CreatedBy I_WorkflowStage _CreatedBy
_ChangedBy I_WorkflowStage _ChangedBy
_Scenario _Scenario

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 C_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: CVWRKFLWSTAGE

CREATE VIEW C_WorkflowStage AS
SELECT
  Stage.WrkflwScen AS WrkflwScen,
  Stage.WrkflwStage AS WrkflwStage,
  Stage.WrkflwStageName AS WrkflwStageName,
  Stage.WrkflwStageCrtedLang AS WrkflwStageCrtedLang,
  Stage.WrkflwStageCrtedUsr AS WrkflwStageCrtedUsr,
  Stage.WrkflwStageCrtedUTCDteTme AS WrkflwStageCrtedUTCDteTme,
  Stage.WrkflwStageLastChgdUsr AS WrkflwStageLastChgdUsr,
  Stage.WrkflwStageLastChgdUTCDteTme AS WrkflwStageLastChgdUTCDteTme,
  Stage._Language AS _Language,
  Stage._CreatedBy AS _CreatedBy,
  Stage._ChangedBy AS _ChangedBy
FROM I_WorkflowStage AS Stage
INNER JOIN I_WorkflowScenarioValHelp AS Scenario ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_WorkflowScenario AS _Scenario ON WrkflwScen = _Scenario.WrkflwScen  -- association [1..1]
;