DEMO_CDS_CURR_AND_QUAN_TYP_LIT

DDL: DEMO_CDS_CURR_AND_QUAN_TYP_LIT Type: view_entity

CDS view entity, typed literals

DEMO_CDS_CURR_AND_QUAN_TYP_LIT is a CDS View that provides data about "CDS view entity, typed literals" in SAP S/4HANA. It reads from 1 data source (demo_ddic_types) and exposes 5 fields with key field id.

Data Sources (1)

SourceAliasJoin Type
demo_ddic_types demo_ddic_types from

Annotations (1)

NameValueLevelField
EndUserText.label CDS view entity, typed literals view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY id id WorklistID
cuky cuky
unit2 unit2
currencyField
quantityField

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_CURR_AND_QUAN_TYP_LIT.
-- 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_CURR_AND_QUAN_TYP_LIT AS
SELECT
  id,
  cuky,
  unit2,
  abap.curr'123.45' AS currencyField,
  abap.quan'-200.12345' AS quantityField
FROM demo_ddic_types
;