SWF_FLEX_TEXT_FILL
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)
| Source | Alias | Join 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)
| Name | Type | Default |
|---|---|---|
| target_language | langu |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SWFFLEXTEXTFILL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Retrieve texts | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA