CDS_PROJECTION_VIEW_SIMPLE

DDL: CDS_PROJECTION_VIEW_SIMPLE Type: view_entity Package: SABP_UNIT_DOUBLE_CDS_DEMO

Projection view with where condition

CDS_PROJECTION_VIEW_SIMPLE is a CDS View that provides data about "Projection view with where condition" in SAP S/4HANA. It reads from 1 data source (CDS_VIEW_ENTY_WITH_AGGREGATION) and exposes 6 fields with key field so_guid. Part of development package SABP_UNIT_DOUBLE_CDS_DEMO.

Data Sources (1)

SourceAliasJoin Type
CDS_VIEW_ENTY_WITH_AGGREGATION CDS_VIEW_ENTY_WITH_AGGREGATION projection

Annotations (1)

NameValueLevelField
EndUserText.label Projection view with where condition view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY so_guid so_guid Node Key
so_id so_id Sales Order ID
tax_rate tax_rate WithholdingRate
product_guid product_guid Product
_product _product
_sales_order _sales_order

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 CDS_PROJECTION_VIEW_SIMPLE.
-- 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 CDS_PROJECTION_VIEW_SIMPLE AS
SELECT
  so_guid,
  so_id,
  tax_rate,
  product_guid
FROM CDS_VIEW_ENTY_WITH_AGGREGATION
;