SADL_RS_SO_ROOT_BHV

DDL: SADL_RS_SO_ROOT_BHV SQL: SADLSRSSOBH Type: view_entity

Sales Order Header with Behavior

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

Data Sources (1)

SourceAliasJoin Type
sadl_rs_so_root Document from

Associations (2)

CardinalityTargetAliasCondition
[0..*] SADL_RS_SO_ROOT_BHV _others $projection.buyer_id = _others.buyer_id
[0..*] SADL_RS_SO_ITEM_BHV _Items

Annotations (2)

NameValueLevelField
EndUserText.label Sales Order Header with Behavior view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY id sadl_rs_so_root id WorklistID
seller_id sadl_rs_so_root seller_id Seller Identifier
buyer_id sadl_rs_so_root buyer_id Buyer Identifier
type_code sadl_rs_so_root type_code Type Code
_Items _Items
_others _others

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_RS_SO_ROOT_BHV.
-- 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: SADLSRSSOBH

CREATE VIEW SADL_RS_SO_ROOT_BHV AS
SELECT
  Document.id AS id,
  Document.seller_id AS seller_id,
  Document.buyer_id AS buyer_id,
  Document.type_code AS type_code
FROM sadl_rs_so_root AS Document
LEFT OUTER JOIN SADL_RS_SO_ROOT_BHV AS _others ON buyer_id = _others.buyer_id  -- association [0..*]
LEFT OUTER JOIN SADL_RS_SO_ITEM_BHV AS _Items ON /* condition not available in parsed metadata */  -- association [0..*]
;