SWF_FLEX_TEXT_PROPOSAL

DDL: SWF_FLEX_TEXT_PROPOSAL SQL: SWFFLEXTEXTPRO Type: view

Waiting Since

SWF_FLEX_TEXT_PROPOSAL is a CDS View that provides data about "Waiting Since" in SAP S/4HANA. It reads from 6 data sources and exposes 5 fields.

Data Sources (6)

SourceAliasJoin Type
swf_flex_text text inner
swf_flex_text_hd textHd inner
swf_flex_text_hd textHdOrig from
swf_flex_text textOrigin inner
swf_flex_text textTarget inner
swf_flex_text_wf textWf cross

Parameters (4)

NameTypeDefault
workflow swf_flex_workflow_id
scenario_id swf_flex_scenario_id
source_language langu
target_language langu

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName SWFFLEXTEXTPRO view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Waiting Since view

Fields (5)

KeyFieldSource TableSource FieldDescription
originalTextId swf_flex_text id WorklistID
originalText swf_flex_text text User Group
proposalText swf_flex_text text User Group
occurancies
lastTranslated

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_TEXT_PROPOSAL.
-- 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: SWFFLEXTEXTPRO
-- Parameters: workflow : swf_flex_workflow_id, scenario_id : swf_flex_scenario_id, source_language : langu, target_language : langu

CREATE VIEW SWF_FLEX_TEXT_PROPOSAL AS
SELECT
  textOrigin.id AS originalTextId,
  textOrigin.text AS originalText,
  textTarget.text AS proposalText,
  count( distinct textTarget.id ) AS occurancies,
  max( textTarget.change_ts ) AS lastTranslated
FROM swf_flex_text_hd AS textHdOrig
INNER JOIN swf_flex_text AS textOrigin ON /* join condition not captured in parsed metadata */
CROSS JOIN swf_flex_text_wf AS textWf
INNER JOIN swf_flex_text_hd AS textHd ON /* join condition not captured in parsed metadata */
INNER JOIN swf_flex_text AS text ON /* join condition not captured in parsed metadata */
INNER JOIN swf_flex_text AS textTarget ON /* join condition not captured in parsed metadata */
;