I_WorkflowTaskResultReason

DDL: I_WORKFLOWTASKRESULTREASON SQL: IWRKFLWTSKRESRSN Type: view BASIC Package: SWF_FLEX_IFS

Workflow Task Result Reason

I_WorkflowTaskResultReason is a Basic CDS View that provides data about "Workflow Task Result Reason" in SAP S/4HANA. It reads from 1 data source (swf_flex_decrsn) and exposes 3 fields with key fields WorkflowScenarioDefinition, WorkflowTaskResultReason. It has 1 association to related views. Part of development package SWF_FLEX_IFS.

Data Sources (1)

SourceAliasJoin Type
swf_flex_decrsn decision from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_WorkflowTaskResultReasonText _WorkflowTaskResultReasonText $projection.WorkflowScenarioDefinition = _WorkflowTaskResultReasonText.WorkflowScenarioDefinition and $projection.WorkflowTaskResultReason = _WorkflowTaskResultReasonText.WorkflowTaskResultReason

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IWRKFLWTSKRESRSN view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
EndUserText.label Workflow Task Result Reason view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY WorkflowScenarioDefinition swf_flex_decrsn scenario_id Workflow definition
KEY WorkflowTaskResultReason swf_flex_decrsn reason_id Reason
_WorkflowTaskResultReasonText _WorkflowTaskResultReasonText

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_WorkflowTaskResultReason.
-- 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: IWRKFLWTSKRESRSN

CREATE VIEW I_WorkflowTaskResultReason AS
SELECT
  decision.scenario_id AS WorkflowScenarioDefinition,
  decision.reason_id AS WorkflowTaskResultReason
FROM swf_flex_decrsn AS decision
LEFT OUTER JOIN I_WorkflowTaskResultReasonText AS _WorkflowTaskResultReasonText ON WorkflowScenarioDefinition = _WorkflowTaskResultReasonText.WorkflowScenarioDefinition AND WorkflowTaskResultReason = _WorkflowTaskResultReasonText.WorkflowTaskResultReason  -- association [0..*]
;