SADL_VE_SRS_SO

DDL: SADL_VE_SRS_SO Type: view_entity

Sales Order - View Entity - Read only

SADL_VE_SRS_SO is a CDS View that provides data about "Sales Order - View Entity - Read only" in SAP S/4HANA. It reads from 1 data source (sadl_rs_so_root) and exposes 8 fields with key field Id. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
sadl_rs_so_root Root from

Associations (3)

CardinalityTargetAliasCondition
[0..*] SADL_VE_SRS_SOI _Item $projection.Id = _Item.ParentId
[1..1] SADL_VE_SRS_SO _Self $projection.Id = _Self.Id
[0..*] SADL_VE_SRS_SOI_NON_VE _Item_Non_VE $projection.Id = _Item_Non_VE.ParentId

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Sales Order - View Entity - Read only view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Id id WorklistID
SellerId seller_id Identifier
BuyerId buyer_id Identifier
ActIndicator act_indicator
TypeCode type_code Type Code
_Item _Item
_Self _Self
_Item_Non_VE _Item_Non_VE

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_VE_SRS_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.

CREATE VIEW SADL_VE_SRS_SO AS
SELECT
  Id,
  seller_id AS SellerId,
  buyer_id AS BuyerId,
  act_indicator AS ActIndicator,
  type_code AS TypeCode
FROM sadl_rs_so_root AS Root
LEFT OUTER JOIN SADL_VE_SRS_SOI AS _Item ON Id = _Item.ParentId  -- association [0..*]
LEFT OUTER JOIN SADL_VE_SRS_SO AS _Self ON Id = _Self.Id  -- association [1..1]
LEFT OUTER JOIN SADL_VE_SRS_SOI_NON_VE AS _Item_Non_VE ON Id = _Item_Non_VE.ParentId  -- association [0..*]
;