P_WorkflowPresentDialogItem

DDL: P_WORKFLOWPRESENTDIALOGITEM SQL: PWFPRESNTDIAI Type: view BASIC

P_WorkflowPresentDialogItem is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (swwwihead, P_WorkflowLatestDialogItem, swp_nodewi) and exposes 7 fields with key field WorkItem.

Data Sources (3)

SourceAliasJoin Type
swwwihead _head inner
P_WorkflowLatestDialogItem _latestDialog from
swp_nodewi _node inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PWFPRESNTDIAI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #BASIC view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY WorkItem swwwihead wi_id WorkItem ID
TopWorkItem swwwihead top_wi_id Top Level Workflow
TaskProcessingStatus swwwihead wi_stat Status
WorkflowTaskDefinition swwwihead wi_rh_task Task
Agent swwwihead wi_aagent Agent
WorkflowStepID swwwihead step_id WF Step ID
Objectkey P_WorkflowLatestDialogItem Objectkey Object Key

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 P_WorkflowPresentDialogItem.
-- 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: PWFPRESNTDIAI

CREATE VIEW P_WorkflowPresentDialogItem AS
SELECT
  _head.wi_id AS WorkItem,
  _head.top_wi_id AS TopWorkItem,
  _head.wi_stat AS TaskProcessingStatus,
  _head.wi_rh_task AS WorkflowTaskDefinition,
  _head.wi_aagent AS Agent,
  _head.step_id AS WorkflowStepID,
  _latestDialog.Objectkey AS Objectkey
FROM P_WorkflowLatestDialogItem AS _latestDialog
INNER JOIN swwwihead AS _head ON /* join condition not captured in parsed metadata */
INNER JOIN swp_nodewi AS _node ON /* join condition not captured in parsed metadata */
;