R_StepLogMostRecent

DDL: R_STEPLOGMOSTRECENT Type: view_entity Package: SWF_FLEX_IFS_RAP_INSTANCE

Flexible Workflow: Most recent entry per wf instance

R_StepLogMostRecent is a CDS View that provides data about "Flexible Workflow: Most recent entry per wf instance" in SAP S/4HANA. It reads from 1 data source (swpsteplog) and exposes 2 fields with key field WorkflowInternalIdentifier. Part of development package SWF_FLEX_IFS_RAP_INSTANCE.

Data Sources (1)

SourceAliasJoin Type
swpsteplog swpsteplog from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Flexible Workflow: Most recent entry per wf instance view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY WorkflowInternalIdentifier wf_id Workflow ID
Timestamp

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 R_StepLogMostRecent.
-- 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.

CREATE VIEW R_StepLogMostRecent AS
SELECT
  wf_id AS WorkflowInternalIdentifier,
  max(timestamp) AS Timestamp
FROM swpsteplog
;