DEMO_SALES_CDS_SO_ITEM

DDL: DEMO_SALES_CDS_SO_ITEM Type: view_entity Package: SABAP_DEMOS_SALES

CDS view entity, sales order item

DEMO_SALES_CDS_SO_ITEM is a CDS View that provides data about "CDS view entity, sales order item" in SAP S/4HANA. It reads from 1 data source (demo_sales_cds_inv_header) and exposes 8 fields with key field id. Part of development package SABAP_DEMOS_SALES.

Data Sources (1)

SourceAliasJoin Type
demo_sales_cds_inv_header demo_sales_cds_inv_header from

Annotations (1)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY id id WorklistID
birth_name birth_name ICM BP Alternative Identity - Name (Other name or Last name)
family_name family_name
so_key so_key SO key
net_amount net_amount Tax-Exclusive Amount
tax_amount tax_amount VAT Amount Type
material _invoice_items material Vehicle Model
posnr _invoice_items posnr WBS Element

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_SO_ITEM.
-- 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_SO_ITEM AS
SELECT
  id,
  birth_name,
  family_name,
  so_key,
  net_amount,
  tax_amount,
  _invoice_items.material AS material,
  _invoice_items.posnr AS posnr
FROM demo_sales_cds_inv_header
;