I_SADL_Complex_Core

DDL: I_SADL_COMPLEX_CORE SQL: ISADLCOCO Type: view

Core view with joins/unions/where-clause

I_SADL_Complex_Core is a CDS View that provides data about "Core view with joins/unions/where-clause" in SAP S/4HANA. It reads from 3 data sources (snwd_so, snwd_so_i, snwd_so_i) and exposes 15 fields with key fields SalesOrder, ItemPosition, ItemPosition.

Data Sources (3)

SourceAliasJoin Type
snwd_so header inner
snwd_so_i item from
snwd_so_i item union_all

Annotations (2)

NameValueLevelField
AbapCatalog.sqlViewName ISADLCOCO view
EndUserText.label Core view with joins/unions/where-clause view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY SalesOrder snwd_so so_id Sales Order ID
KEY ItemPosition snwd_so_i so_item_pos Item Position
CurrencyCode snwd_so_i currency_code Currency Code
GrossAmount snwd_so_i gross_amount Tax-Inclusive Amount
NetAmount snwd_so_i net_amount Tax-Exclusive Amount
TaxAmount snwd_so_i tax_amount VAT Amount Type
AnyFlag
ItemPositionkey0000000000asSalesOrder
KEY ItemPosition snwd_so_i so_item_pos Item Position
CurrencyCode snwd_so_i currency_code Currency Code
GrossAmount snwd_so_i gross_amount Tax-Inclusive Amount
NetAmount snwd_so_i net_amount Tax-Exclusive Amount
TaxAmount snwd_so_i tax_amount VAT Amount Type
AnyFlag
_Something _Something

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 I_SADL_Complex_Core.
-- 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: ISADLCOCO

CREATE VIEW I_SADL_Complex_Core AS
SELECT
  header.so_id AS SalesOrder,
  item.so_item_pos AS ItemPosition,
  item.currency_code AS CurrencyCode,
  item.gross_amount AS GrossAmount,
  item.net_amount AS NetAmount,
  item.tax_amount AS TaxAmount,
  cast('X' as boole_d preserving type ) AS AnyFlag
FROM snwd_so_i AS item
INNER JOIN snwd_so AS header ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): snwd_so_i
;