DEMO_SALES_ORDER_OLD2

DDL: DEMO_SALES_ORDER_OLD2 SQL: DEMO_SO_VW2 Type: view

DEMO_SALES_ORDER_OLD2 is a CDS View in SAP S/4HANA. It reads from 1 data source (snwd_so) and exposes 2 fields with key field so_id.

Data Sources (1)

SourceAliasJoin Type
snwd_so snwd_so from

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName DEMO_SO_VW2 view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY so_id so_id Sales Order ID
gross_amount gross_amount Tax-Inclusive Amount

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_ORDER_OLD2.
-- 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.
-- SQL view name: DEMO_SO_VW2

CREATE VIEW DEMO_SALES_ORDER_OLD2 AS
SELECT
  so_id,
  gross_amount
FROM snwd_so
;