I_SADL_RS_HIERARCH_SRC_APP_EXP

DDL: I_SADL_RS_HIERARCH_SRC_APP_EXP Type: view_entity Package: SADL_ENTITY_REFERENCE_SCENARIO

Source for native CDS Hierarchy

I_SADL_RS_HIERARCH_SRC_APP_EXP is a CDS View that provides data about "Source for native CDS Hierarchy" in SAP S/4HANA. It reads from 1 data source (sadl_rs_nodehier) and exposes 14 fields with key field Id. It has 3 associations to related views. Part of development package SADL_ENTITY_REFERENCE_SCENARIO.

Data Sources (1)

SourceAliasJoin Type
sadl_rs_nodehier sadl_rs_nodehier from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_SADL_RS_HIERARCH_SRC_APP_EXP _Parent $projection.ParentId = _Parent.Id
[1..*] I_SADL_RS_HIERARCH_SRC_APP_EXP _Self_All $projection.ConstantID = _Self_All.ConstantID
[0..1] I_SADL_RS_HIER_MAT_TEXT_AP_EXP _Text $projection.Material = _Text.Material and _Text.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Source for native CDS Hierarchy view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Id id WorklistID
ParentId parent_id UUID
Description description Well Code Des.
Material material Vehicle Model
MaterialGroup material_group Material Group
Location location Text
Quantity quantity Value
QuantityUnit quantity_unit Unit of Measure
UUID_X16 uuid_x16
CalculatedID
ConstantID
_Parent _Parent
_Self_All _Self_All
_Text _Text

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 I_SADL_RS_HIERARCH_SRC_APP_EXP.
-- 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 I_SADL_RS_HIERARCH_SRC_APP_EXP AS
SELECT
  Id,
  parent_id AS ParentId,
  Description,
  Material,
  material_group AS MaterialGroup,
  Location,
  Quantity,
  quantity_unit AS QuantityUnit,
  UUID_X16,
  cast( '' as abap.char( 30 ) ) AS CalculatedID,
  cast( 'CONSTANT' as abap.char( 30 ) ) AS ConstantID
FROM sadl_rs_nodehier
LEFT OUTER JOIN I_SADL_RS_HIERARCH_SRC_APP_EXP AS _Parent ON ParentId = _Parent.Id  -- association [0..1]
LEFT OUTER JOIN I_SADL_RS_HIERARCH_SRC_APP_EXP AS _Self_All ON ConstantID = _Self_All.ConstantID  -- association [1..*]
LEFT OUTER JOIN I_SADL_RS_HIER_MAT_TEXT_AP_EXP AS _Text ON Material = _Text.Material AND _Text.Language = $session.system_language  -- association [0..1]
;