SWF_FLEX_I_PROC

DDL: SWF_FLEX_I_PROC SQL: SWFFLEXIVPROCS Type: view Package: SWF_FLEX_DEF

SWF_FLEX_PROC - Subject Search View

SWF_FLEX_I_PROC is a CDS View that provides data about "SWF_FLEX_PROC - Subject Search View" in SAP S/4HANA. It reads from 3 data sources (swf_flex_sc_ord, swf_flex_proc, SWF_FLEX_TEXT_FILL) and exposes 14 fields with key field id. Part of development package SWF_FLEX_DEF.

Data Sources (3)

SourceAliasJoin Type
swf_flex_sc_ord ord left_outer
swf_flex_proc process from
SWF_FLEX_TEXT_FILL SWF_FLEX_TEXT_FILL left_outer

Parameters (1)

NameTypeDefault
target_langu syst_langu

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SWFFLEXIVPROCS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label SWF_FLEX_PROC - Subject Search View view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY id swf_flex_proc id WorklistID
scenario_id swf_flex_proc scenario_id Workflow definition
subject
valid_from swf_flex_proc valid_from Validity Start Time
valid_to swf_flex_proc valid_to Validity End Time
stream swf_flex_proc stream Streams Allowed
status swf_flex_proc status Workflow Status
predelivered swf_flex_proc predelivered PredelivereRead Only
read_only swf_flex_proc read_only Truth Value
langu swf_flex_proc langu Primary lang.
creation_ts swf_flex_proc creation_ts Time Stamp
change_user swf_flex_proc change_user User Name
change_ts swf_flex_proc change_ts Time Stamp
order_number

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 SWF_FLEX_I_PROC.
-- 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: SWFFLEXIVPROCS
-- Parameters: target_langu : syst_langu

CREATE VIEW SWF_FLEX_I_PROC AS
SELECT
  process.id AS id,
  process.scenario_id AS scenario_id,
  coalesce( text.Text, process.subject ) AS subject,
  process.valid_from AS valid_from,
  process.valid_to AS valid_to,
  process.stream AS stream,
  process.status AS status,
  process.predelivered AS predelivered,
  process.read_only AS read_only,
  process.langu AS langu,
  process.creation_ts AS creation_ts,
  process.change_user AS change_user,
  process.change_ts AS change_ts,
  coalesce( ord.sequence_nr, 32767 ) AS order_number
FROM swf_flex_proc AS process
LEFT OUTER JOIN swf_flex_sc_ord AS ord ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SWF_FLEX_TEXT_FILL ON /* join condition not captured in parsed metadata */
;