DEMO_CDS_UNION_ELEMENT_TYPE_VE

DDL: DEMO_CDS_UNION_ELEMENT_TYPE_VE Type: view_entity

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

Data Sources (2)

SourceAliasJoin Type
demo_expressions demo_expressions from
demo_expressions demo_expressions union_all

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

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

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_VE.
-- 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.

CREATE VIEW DEMO_CDS_UNION_ELEMENT_TYPE_VE AS
SELECT
  id,
  num1 AS col1,
  cast( num1 as abap.int8 ) AS col2,
  abap.raw'AABBCCDDEEAABBCCDDEE' AS col3
FROM demo_expressions
-- UNION ALL with additional select branch(es): demo_expressions
;