I_WorkflowStepResult

DDL: I_WORKFLOWSTEPRESULT SQL: IWRKFLWRSLT Type: view COMPOSITE

Workflow Step Result

I_WorkflowStepResult (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Cross Applications

I_WorkflowStepResult is a Composite CDS View (Dimension) that provides data about "Workflow Step Result" in SAP S/4HANA. It reads from 1 data source (I_WorkflowStepTypeNode) and exposes 6 fields with key fields WorkflowScenarioDefinition, WorkflowScenarioDefinitionVers, WorkflowStepType, WorkflowStepResult. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Flexible Workflow
Purpose
This CDS view exposes possible results of a workflow step. This CDS view provides the data to answer the following business questions: Which results can a workflow step have? What are the details of a workflow step result? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description WorkflowScenarioDefinition Identifier of a workflow scenario WorkflowScenarioDefinitionVers Version of a workflow scenario WorkflowStepType Identifier of a workflow step WorkflowStepResult Identifier for the possible result of a workflow task instance WorkflowStepResultNature Nature for the possible result of a workflow task instance. Values are <empty>, POSITIVE, NEGATIVE and NEUTRAL. WorkflowStepResultText Display text for the result of a workflow task instance (part of related text view, translated)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentBC-BMT-WFM
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_WorkflowStepTypeNode WorkflowStepTypeNode from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_WorkflowStepResultText _Text $projection.WorkflowScenarioDefinition = _Text.WorkflowScenarioDefinition and $projection.WorkflowScenarioDefinitionVers = _Text.WorkflowScenarioDefinitionVers and $projection.WorkflowStepType = _Text.WorkflowStepType and $projection.WorkflowStepResult = _Text.WorkflowStepResult

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IWRKFLWRSLT view
EndUserText.label Workflow Step Result view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.representativeKey WorkflowStepResult view
Analytics.dataCategory #DIMENSION view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY WorkflowScenarioDefinition I_WorkflowStepTypeNode WorkflowScenarioDefinition Number of workflow definition
KEY WorkflowScenarioDefinitionVers I_WorkflowStepTypeNode WorkflowScenarioDefinitionVers Version
KEY WorkflowStepType I_WorkflowStepTypeNode WorkflowStepType Workflow : Label
KEY WorkflowStepResult I_WorkflowStepTypeNode WorkflowStepResult Outcome
WorkflowStepResultNature I_WorkflowStepTypeNode WorkflowStepResultNature Workflow: Property: Positive, Negative....
_Text _Text

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_WorkflowStepResult.
-- 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: IWRKFLWRSLT

CREATE VIEW I_WorkflowStepResult AS
SELECT
  WorkflowStepTypeNode.WorkflowScenarioDefinition AS WorkflowScenarioDefinition,
  WorkflowStepTypeNode.WorkflowScenarioDefinitionVers AS WorkflowScenarioDefinitionVers,
  WorkflowStepTypeNode.WorkflowStepType AS WorkflowStepType,
  WorkflowStepTypeNode.WorkflowStepResult AS WorkflowStepResult,
  WorkflowStepTypeNode.WorkflowStepResultNature AS WorkflowStepResultNature
FROM I_WorkflowStepTypeNode AS WorkflowStepTypeNode
LEFT OUTER JOIN I_WorkflowStepResultText AS _Text ON WorkflowScenarioDefinition = _Text.WorkflowScenarioDefinition AND WorkflowScenarioDefinitionVers = _Text.WorkflowScenarioDefinitionVers AND WorkflowStepType = _Text.WorkflowStepType AND WorkflowStepResult = _Text.WorkflowStepResult  -- association [0..*]
;