Demo_Cds_Union_Element_Type

DDL: DEMO_CDS_UNION_ELEMENT_TYPE SQL: DEMOCDSUNIONTYPE Type: view

Demo_Cds_Union_Element_Type is a CDS View in SAP S/4HANA. It reads from 2 data sources (demo_expressions, demo_expressions) and exposes 4 fields.

Data Sources (2)

SourceAliasJoin Type
demo_expressions demo_expressions from
demo_expressions demo_expressions union_all

Annotations (2)

NameValueLevelField
AbapCatalog.sqlViewName DEMOCDSUNIONTYPE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (4)

KeyFieldSource TableSource FieldDescription
id id WorklistID
col1 num1
col1 numlong1
col2 numlong1

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 Demo_Cds_Union_Element_Type.
-- 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: DEMOCDSUNIONTYPE

CREATE VIEW Demo_Cds_Union_Element_Type AS
SELECT
  id,
  num1 AS col1,
  numlong1 AS col2
FROM demo_expressions
-- UNION ALL with additional select branch(es): demo_expressions
;