DEMO_SALES_CDS_ELEM_ANNOT

DDL: DEMO_SALES_CDS_ELEM_ANNOT Type: view_entity

DEMO_SALES_CDS_ELEM_ANNOT is a CDS View in SAP S/4HANA. It reads from 2 data sources (demo_sales_bupa, demo_sales_order) and exposes 4 fields with key field id.

Data Sources (2)

SourceAliasJoin Type
demo_sales_bupa demo_sales_bupa from
demo_sales_order sales_order inner

Annotations (1)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY id demo_sales_bupa id WorklistID
gender demo_sales_bupa gender Sex
title demo_sales_bupa title View Title
given_name First name

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_SALES_CDS_ELEM_ANNOT.
-- 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_SALES_CDS_ELEM_ANNOT AS
SELECT
  demo_sales_bupa.id AS id,
  demo_sales_bupa.gender AS gender,
  demo_sales_bupa.title AS title,
  's first name' demo_sales_bupa.given_name AS given_name
FROM demo_sales_bupa
INNER JOIN demo_sales_order AS sales_order ON /* join condition not captured in parsed metadata */
;