SADL_CDS_RS_SO_Root

DDL: SADL_CDS_RS_SO_ROOT SQL: SADL_SQL_SO_ROOT Type: view Package: SADL_GW_RT_DPC

Reference Scenario: Sales Order Root View

SADL_CDS_RS_SO_Root is a CDS View that provides data about "Reference Scenario: Sales Order Root View" in SAP S/4HANA. It reads from 1 data source (sadl_rs_so_root) and exposes 7 fields with key field id. It has 6 associations to related views. Part of development package SADL_GW_RT_DPC.

Data Sources (1)

SourceAliasJoin Type
sadl_rs_so_root root from

Associations (6)

CardinalityTargetAliasCondition
[*] Sadl_Cds_Rs_So_Item _items_with_product_1 $projection.id = _items_with_product_1.parent_id and _items_with_product_1.prod_id_content_char = 'PROD00001'
[*] Sadl_Cds_Rs_So_Item _active_items $projection.id = _active_items.parent_id and $projection.act_indicator = 'X'
[0..1] Sadl_V_Aunit_Srs_Bp _seller $projection.seller_id = _seller.bp_id and $projection.act_indicator = 'X'
[*] Sadl_Cds_Rs_So_Item _items $projection.id = _items.parent_id
[1] SADL_CDS_RS_SO_Root _myself $projection.id = _myself.id
[0..1] SADL_CDS_RS_SO_Root _myself_w_typecode $projection.id = _myself_w_typecode.id and _myself_w_typecode.type_code = 'BBBBB'

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SADL_SQL_SO_ROOT view
EndUserText.label Reference Scenario: Sales Order Root View view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY id id WorklistID
buyer_id buyer_id Identifier
seller_id seller_id Identifier
type_code type_code Type Code
_myself _myself
_items _items
_seller _seller

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_CDS_RS_SO_Root.
-- 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_SQL_SO_ROOT

CREATE VIEW SADL_CDS_RS_SO_Root AS
SELECT
  id,
  buyer_id,
  seller_id,
  type_code
FROM sadl_rs_so_root AS root
LEFT OUTER JOIN Sadl_Cds_Rs_So_Item AS _items_with_product_1 ON id = _items_with_product_1.parent_id AND _items_with_product_1.prod_id_content_char = 'PROD00001'  -- association [*]
LEFT OUTER JOIN Sadl_Cds_Rs_So_Item AS _active_items ON id = _active_items.parent_id AND act_indicator = 'X'  -- association [*]
LEFT OUTER JOIN Sadl_V_Aunit_Srs_Bp AS _seller ON seller_id = _seller.bp_id AND act_indicator = 'X'  -- association [0..1]
LEFT OUTER JOIN Sadl_Cds_Rs_So_Item AS _items ON id = _items.parent_id  -- association [*]
LEFT OUTER JOIN SADL_CDS_RS_SO_Root AS _myself ON id = _myself.id  -- association [1]
LEFT OUTER JOIN SADL_CDS_RS_SO_Root AS _myself_w_typecode ON id = _myself_w_typecode.id AND _myself_w_typecode.type_code = 'BBBBB'  -- association [0..1]
;