DEMO_CDS_ENUM_TYPE_USAGE_1

DDL: DEMO_CDS_ENUM_TYPE_USAGE_1 Type: view_entity Package: SABAP_DEMOS_ABAP_CDS_CLOUD

CDS view entity, enumerated types

DEMO_CDS_ENUM_TYPE_USAGE_1 is a CDS View that provides data about "CDS view entity, enumerated types" in SAP S/4HANA. It reads from 1 data source (demo_expressions) and exposes 3 fields with key field Id. Part of development package SABAP_DEMOS_ABAP_CDS_CLOUD.

Data Sources (1)

SourceAliasJoin Type
demo_expressions demo_expressions from

Annotations (1)

NameValueLevelField
EndUserText.label CDS view entity, enumerated types view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Id id WorklistID
integer1 num1
friday

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_ENUM_TYPE_USAGE_1.
-- 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_ENUM_TYPE_USAGE_1 AS
SELECT
  Id,
  num1 AS integer1,
  DEMO_CDS_ENUM_STACK.#FRI AS friday
FROM demo_expressions
;