SADL_CDS_RS_SO_Root_Par_Nh_Drv

DDL: SADL_CDS_RS_SO_ROOT_PAR_NH_DRV SQL: SADL_SQL_SO_RTNH Type: view Package: SADL_GW_RT_DPC

Reference Scenario: Derivation Test: Para not hidden (NH)

SADL_CDS_RS_SO_Root_Par_Nh_Drv is a CDS View that provides data about "Reference Scenario: Derivation Test: Para not hidden (NH)" in SAP S/4HANA. It reads from 1 data source (sadl_rs_so_root) and exposes 8 fields. It has 2 associations to related views. Part of development package SADL_GW_RT_DPC.

Data Sources (1)

SourceAliasJoin Type
sadl_rs_so_root root from

Parameters (2)

NameTypeDefault
p_bp_id sadl_rs_id
p_type_code sadl_rs_tc

Associations (2)

CardinalityTargetAliasCondition
[*] Sadl_Cds_Rs_So_Item _items $projection.id = _items.parent_id
[0..1] Sadl_V_Aunit_Srs_Bp _seller $projection.seller_id = _seller.bp_id and $projection.act_indicator = 'X'

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SADL_SQL_SO_RTNH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Reference Scenario: Derivation Test: Para not hidden (NH) view

Fields (8)

KeyFieldSource TableSource FieldDescription
lookupEntitySadl_Cds_Rs_Bp_Param_Drv
resultElementtype_code_transl
act_indicatorXkeyid
buyer_id buyer_id Identifier
seller_id seller_id Identifier
type_code type_code Type Code
_items _items
_seller _seller

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_Root_Par_Nh_Drv.
-- 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_RTNH
-- Parameters: p_bp_id : sadl_rs_id, p_type_code : sadl_rs_tc

CREATE VIEW SADL_CDS_RS_SO_Root_Par_Nh_Drv AS
SELECT
  lookupEntity: 'Sadl_Cds_Rs_Bp_Param_Drv' AS lookupEntitySadl_Cds_Rs_Bp_Param_Drv,
  resultElement: 'type_code_transl' AS resultElementtype_code_transl,
  binding: [ { targetParameter: 'p_id', type: #PARAMETER, value : 'p_bp_id' AS act_indicatorXkeyid,
  buyer_id,
  seller_id,
  type_code
FROM sadl_rs_so_root AS root
LEFT OUTER JOIN Sadl_Cds_Rs_So_Item AS _items ON id = _items.parent_id  -- association [*]
LEFT OUTER JOIN Sadl_V_Aunit_Srs_Bp AS _seller ON seller_id = _seller.bp_id AND act_indicator = 'X'  -- association [0..1]
;