SWF_FLEX_TEXT_FILL

DDL: SWF_FLEX_TEXT_FILL SQL: SWFFLEXTEXTFILL Type: view

Retrieve texts

SWF_FLEX_TEXT_FILL is a CDS View that provides data about "Retrieve texts" in SAP S/4HANA. It reads from 8 data sources and exposes 9 fields with key field TextId.

Data Sources (8)

SourceAliasJoin Type
swf_flex_text_hd header from
swf_flex_text text_copied left_outer
swf_flex_text text_original left_outer
swf_flex_text text_target left_outer
SWF_FLEX_TEXT_TEMPLATE_TEXT text_templ_original left_outer
SWF_FLEX_TEXT_TEMPLATE_TEXT text_templ_target left_outer
swf_flex_text_wf workflow inner
swf_flex_text_wf workflow union

Parameters (1)

NameTypeDefault
target_language langu

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SWFFLEXTEXTFILL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Retrieve texts view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY TextId swf_flex_text_hd id WorklistID
WorkfowId swf_flex_text_hd wf_id Workflow ID
textasText
languelseendasLanguage
original_langukeywf_idasTextId
WorkfowId swf_flex_text_wf wf_id Workflow ID
Text
languelseendasLanguage
TextType

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_FILL.
-- 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: SWFFLEXTEXTFILL
-- Parameters: target_language : langu

CREATE VIEW SWF_FLEX_TEXT_FILL AS
SELECT
  header.id AS TextId,
  header.wf_id AS WorkfowId,
  coalesce( text_target.text, coalesce( text_original.text, coalesce( text_copied.text, '' ) ) ) as Text AS textasText,
  case when text_target.text is not null then text_target.langu when text_original.text is not null then text_original.langu when text_copied.text is not null then text_copied.langu else '' end as Language AS languelseendasLanguage,
  header.text_type as TextType AS original_langukeywf_idasTextId,
  coalesce( text_templ_target.text, coalesce( text_templ_original.text, '' ) ) AS Text,
  'WF_SUBJECT' AS TextType
FROM swf_flex_text_hd AS header
INNER JOIN swf_flex_text_wf AS workflow ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN swf_flex_text AS text_target ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN swf_flex_text AS text_original ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN swf_flex_text AS text_copied ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SWF_FLEX_TEXT_TEMPLATE_TEXT AS text_templ_target ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SWF_FLEX_TEXT_TEMPLATE_TEXT AS text_templ_original ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): swf_flex_text_wf
;