P_WorkflowVerifyDialogItem

DDL: P_WORKFLOWVERIFYDIALOGITEM SQL: PFIWFVERDIAI Type: view BASIC

P_WorkflowVerifyDialogItem is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (swwwihead, P_Facvd_Ver_Diag_Max_Timestamp, sww_wi2obj) and exposes 3 fields with key fields Workflow, WorkItem.

Data Sources (3)

SourceAliasJoin Type
swwwihead _head inner
P_Facvd_Ver_Diag_Max_Timestamp _timestamp from
sww_wi2obj _wi2obj inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PFIWFVERDIAI 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 (3)

KeyFieldSource TableSource FieldDescription
KEY Workflow swwwihead top_wi_id Top Level Workflow
KEY WorkItem
instid sww_wi2obj instid Instance ID

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_WorkflowVerifyDialogItem.
-- 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: PFIWFVERDIAI

CREATE VIEW P_WorkflowVerifyDialogItem AS
SELECT
  _head.top_wi_id AS Workflow,
  max(_head.wi_id) AS WorkItem,
  _wi2obj.instid AS instid
FROM P_Facvd_Ver_Diag_Max_Timestamp AS _timestamp
INNER JOIN sww_wi2obj AS _wi2obj ON /* join condition not captured in parsed metadata */
INNER JOIN swwwihead AS _head ON /* join condition not captured in parsed metadata */
;