DEMO_SALES_ORDER_OLD4

DDL: DEMO_SALES_ORDER_OLD4 SQL: DEMO_SO_VW4 Type: view

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

Data Sources (1)

SourceAliasJoin Type
snwd_so snwd_so from

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName DEMO_SO_VW4 view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY so_id so_id Sales Order ID
buyer_guid snwd_so buyer_guid Node Key
company_name _partner company_name Company
created_at snwd_so created_at Uploaded On
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_OLD4.
-- 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_VW4

CREATE VIEW DEMO_SALES_ORDER_OLD4 AS
SELECT
  so_id,
  snwd_so.buyer_guid AS buyer_guid,
  _partner.company_name AS company_name,
  snwd_so.created_at AS created_at,
  gross_amount
FROM snwd_so
;