SADL_RAP_RS_SO

DDL: SADL_RAP_RS_SO SQL: SADLRAPSOROOT Type: view

RAP: Sales Order Root View with BDEF

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

Data Sources (1)

SourceAliasJoin Type
sadl_rs_so_root root from

Associations (2)

CardinalityTargetAliasCondition
[0..1] SADL_RAP_RS_SO _self_if_active $projection.id = _self_if_active.id and _self_if_active.act_indicator = 'X'
[0..*] SADL_RAP_RS_SO_ITEM _Items

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SADLRAPSOROOT view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
EndUserText.label RAP: Sales Order Root View with BDEF 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_RAP_RS_SO.
-- 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: SADLRAPSOROOT

CREATE VIEW SADL_RAP_RS_SO AS
SELECT
  id,
  buyer_id,
  seller_id,
  type_code
FROM sadl_rs_so_root AS root
LEFT OUTER JOIN SADL_RAP_RS_SO AS _self_if_active ON id = _self_if_active.id AND _self_if_active.act_indicator = 'X'  -- association [0..1]
LEFT OUTER JOIN SADL_RAP_RS_SO_ITEM AS _Items ON /* condition not available in parsed metadata */  -- association [0..*]
;