P_PurchasingLastWorkflowStep

DDL: P_PURCHASINGLASTWORKFLOWSTEP SQL: PMMPURPOLTWFLSTP Type: view CONSUMPTION

WorkItem Details

P_PurchasingLastWorkflowStep is a Consumption CDS View that provides data about "WorkItem Details" in SAP S/4HANA. It reads from 1 data source (I_WorkflowTask) and exposes 2 fields with key field TopLevelWorkflowTask.

Data Sources (1)

SourceAliasJoin Type
I_WorkflowTask I_WorkflowTask from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PMMPURPOLTWFLSTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label WorkItem Details view
VDM.viewType #CONSUMPTION view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY TopLevelWorkflowTask TopLevelWorkflowTask Top Level Workflow
MaxWrkflwTskCompDateTime

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_PurchasingLastWorkflowStep.
-- 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: PMMPURPOLTWFLSTP

CREATE VIEW P_PurchasingLastWorkflowStep AS
SELECT
  TopLevelWorkflowTask,
  max(WrkflwTskCompletionUTCDateTime) AS MaxWrkflwTskCompDateTime
FROM I_WorkflowTask
;