Test_Cds_Astcheck_28

DDL: TEST_CDS_ASTCHECK_28 SQL: testcdsac28 Type: view

test 1

Test_Cds_Astcheck_28 is a CDS View that provides data about "test 1" in SAP S/4HANA. It reads from 1 data source (Test_Cds_Astcheck_11) and exposes 6 fields with key fields node_key, so_id. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
Test_Cds_Astcheck_11 Test_Cds_Astcheck_11 from

Associations (3)

CardinalityTargetAliasCondition
[1] Test_Cds_Astcheck_11 _a1 _a1.tax > 5 and $projection.node_key = _a1.node_key and $projection.so_id = _a1.so_id
[1] Test_Cds_Astcheck_11 _a2 $projection.tax > 5 and $projection.node_key = _a2.node_key and $projection.so_id = _a2.so_id
[1] Test_Cds_Astcheck_11 _a3 $projection.tax > _a3.tax and $projection.node_key = _a3.node_key and $projection.so_id = _a3.so_id

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName testcdsac28 view
AbapCatalog.compiler.compareFilter true view
EndUserText.label test 1 view
ObjectModel.usageType.serviceQuality #A view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY node_key node_key Tree Model: Node Key
KEY so_id so_id Sales Order ID
tax tax Tax Amount
_a1 _a1
_a2 _a2
_a3 _a3

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 Test_Cds_Astcheck_28.
-- 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: testcdsac28

CREATE VIEW Test_Cds_Astcheck_28 AS
SELECT
  node_key,
  so_id,
  tax
FROM Test_Cds_Astcheck_11
LEFT OUTER JOIN Test_Cds_Astcheck_11 AS _a1 ON _a1.tax > 5 AND node_key = _a1.node_key AND so_id = _a1.so_id  -- association [1]
LEFT OUTER JOIN Test_Cds_Astcheck_11 AS _a2 ON tax > 5 AND node_key = _a2.node_key AND so_id = _a2.so_id  -- association [1]
LEFT OUTER JOIN Test_Cds_Astcheck_11 AS _a3 ON tax > _a3.tax AND node_key = _a3.node_key AND so_id = _a3.so_id  -- association [1]
;