Sadl_V_Exp_Vocan_SOI

DDL: SADL_V_EXP_VOCAN_SO_ITEM SQL: SADL_V_EVOC_SOI Type: view

Sales Order Items

Sadl_V_Exp_Vocan_SOI is a CDS View that provides data about "Sales Order Items" in SAP S/4HANA. It reads from 1 data source (snwd_so_i) and exposes 9 fields with key field NodeKey. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
snwd_so_i snwd_so_i from

Associations (1)

CardinalityTargetAliasCondition
[1..1] Sadl_V_Exp_Vocan_SO _SalesOrder $projection.ParentKey = _SalesOrder.NodeKey

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName SADL_V_EVOC_SOI view
EndUserText.label Sales Order Items view
UI.headerInfo.typeName Sales Order Item view
UI.headerInfo.typeNamePlural Sales Order Items view
UI.headerInfo.title.label Sales Order view
UI.headerInfo.title.value SalesOrderId view
UI.headerInfo.description.label Item view
UI.headerInfo.description.value ItemPosition view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY NodeKey node_key Tree Model: Node Key
ParentKey parent_key UUID
SalesOrderId _SalesOrder SalesOrderId SalesOrderID
ItemPosition so_item_pos SalesOrderID
CurrencyCode currency_code Currency Code
GrossAmount gross_amount Tax-Inclusive Amount
NetAmount net_amount Tax-Exclusive Amount
TaxAmount tax_amount VAT Amount Type
_SalesOrder _SalesOrder

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 Sadl_V_Exp_Vocan_SOI.
-- 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: SADL_V_EVOC_SOI

CREATE VIEW Sadl_V_Exp_Vocan_SOI AS
SELECT
  node_key AS NodeKey,
  parent_key AS ParentKey,
  _SalesOrder.SalesOrderId AS SalesOrderId,
  so_item_pos AS ItemPosition,
  currency_code AS CurrencyCode,
  gross_amount AS GrossAmount,
  net_amount AS NetAmount,
  tax_amount AS TaxAmount
FROM snwd_so_i
LEFT OUTER JOIN Sadl_V_Exp_Vocan_SO AS _SalesOrder ON ParentKey = _SalesOrder.NodeKey  -- association [1..1]
;