Test_Cds_Astcheck_01
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)
| Source | Alias | Join Type |
|---|---|---|
| snwd_so | snwd_so | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | testcdsac1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | test 1 | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA