DEMO_CDS_SCALAR_USE

DDL: DEMO_CDS_SCALAR_USE Type: view_entity

CDS view entity, scalar func

DEMO_CDS_SCALAR_USE is a CDS View that provides data about "CDS view entity, scalar func" in SAP S/4HANA. It reads from 1 data source (demo_expressions) and exposes 2 fields with key field Id.

Data Sources (1)

SourceAliasJoin Type
demo_expressions demo_expressions from

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS view entity, scalar func view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Id id WorklistID
MyScalarFunc

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_SCALAR_USE.
-- 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_SCALAR_USE AS
SELECT
  Id,
  DEMO_CDS_SCALAR_HELLOWORLD() AS MyScalarFunc
FROM demo_expressions
;