Test_Cds_Astcheck_01

DDL: TEST_CDS_ASTCHECK_01 SQL: testcdsac1 Type: view Package: SDUT_DDLS

test 1

Test_Cds_Astcheck_01 is a CDS View that provides data about "test 1" in SAP S/4HANA. It reads from 1 data source (snwd_so) and exposes 12 fields with key fields node_key, so_id. It has 4 associations to related views. Part of development package SDUT_DDLS.

Data Sources (1)

SourceAliasJoin Type
snwd_so snwd_so from

Associations (4)

CardinalityTargetAliasCondition
[1] qlast_sddl_bpa _buyer buyer_guid = _buyer.node_key
[1] qlast_sddl_texts _note note_guid = _note.parent_key
[0..*] qlast_sddl_so_item _items snwd_so.node_key = _items.parent_key
[1] tcurc _currency currency_code = waers

Annotations (3)

NameValueLevelField
AbapCatalog.sqlViewName testcdsac1 view
AbapCatalog.compiler.compareFilter true view
EndUserText.label test 1 view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY node_key node_key Tree Model: Node Key
KEY so_id so_id Sales Order ID
created_by created_by Version Created By
created_at created_at Uploaded On
changed_by changed_by User Name
changed_at changed_at Timestamp
buyer_guid buyer_guid Node Key
note_guid note_guid Node Key
_buyer _buyer
_note _note
_items _items
_currency _currency

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_01.
-- 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: testcdsac1

CREATE VIEW Test_Cds_Astcheck_01 AS
SELECT
  node_key,
  so_id,
  created_by,
  created_at,
  changed_by,
  changed_at,
  buyer_guid,
  note_guid
FROM snwd_so
LEFT OUTER JOIN qlast_sddl_bpa AS _buyer ON buyer_guid = _buyer.node_key  -- association [1]
LEFT OUTER JOIN qlast_sddl_texts AS _note ON note_guid = _note.parent_key  -- association [1]
LEFT OUTER JOIN qlast_sddl_so_item AS _items ON snwd_so.node_key = _items.parent_key  -- association [0..*]
LEFT OUTER JOIN tcurc AS _currency ON currency_code = waers  -- association [1]
;