sadl_cds_rs_so_p

DDL: SADL_CDS_RS_SO_P SQL: SADL_SQL_SO_P Type: view

SRS Sales Order Privileged

sadl_cds_rs_so_p is a CDS View that provides data about "SRS Sales Order Privileged" in SAP S/4HANA. It reads from 1 data source (sadl_rs_so_root) and exposes 5 fields with key field id. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
sadl_rs_so_root sadl_rs_so_root from

Associations (4)

CardinalityTargetAliasCondition
[*] sadl_cds_rs_soi_p _items $projection.id = _items.parent_id
[0..1] sadl_cds_rs_so_p _self_if_active $projection.id = _self_if_active.id and _self_if_active.act_indicator = 'X'
[*] sadl_cds_rs_soi_p _active_items $projection.id = _active_items.parent_id
[*] sadl_cds_rs_soi_p _items_with_product_1 $projection.id = _items_with_product_1.parent_id and _items_with_product_1.prod_id_content_char = 'PROD00001'

Annotations (3)

NameValueLevelField
AbapCatalog.sqlViewName SADL_SQL_SO_P view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label SRS Sales Order Privileged view

Fields (5)

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

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_p.
-- 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_P

CREATE VIEW sadl_cds_rs_so_p AS
SELECT
  id,
  buyer_id,
  seller_id,
  type_code
FROM sadl_rs_so_root
LEFT OUTER JOIN sadl_cds_rs_soi_p AS _items ON id = _items.parent_id  -- association [*]
LEFT OUTER JOIN sadl_cds_rs_so_p AS _self_if_active ON id = _self_if_active.id AND _self_if_active.act_indicator = 'X'  -- association [0..1]
LEFT OUTER JOIN sadl_cds_rs_soi_p AS _active_items ON id = _active_items.parent_id  -- association [*]
LEFT OUTER JOIN sadl_cds_rs_soi_p AS _items_with_product_1 ON id = _items_with_product_1.parent_id AND _items_with_product_1.prod_id_content_char = 'PROD00001'  -- association [*]
;