Test_Cds_Astcheck_24
VIEW on SNWD_BPA
Test_Cds_Astcheck_24 is a CDS View that provides data about "VIEW on SNWD_BPA" in SAP S/4HANA. It reads from 1 data source (snwd_so) and exposes 19 fields with key fields node_key, so_id. It has 7 associations to related views. Part of development package SDUT_DDLS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_so | snwd_so | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [*] | qlast_sddl_bpa | buyer | buyer_guid = buyer.node_key |
| [2] | qlast_sddl_texts | note | note_guid = note.parent_key |
| [0..*] | qlast_sddl_bpa | created_by_partner | snwd_so.created_by = created_by_partner.node_key and created_by_bp = 'X' |
| [0..2] | qlast_sddl_bpa | changed_by_partner | snwd_so.changed_by = changed_by_partner.node_key and changed_by_bp = 'X' |
| [0..1] | qlast_sddl_employee | created | snwd_so.created_by = created.node_key and created_by_bp = ' ' |
| [0..1] | qlast_sddl_employee | changed | snwd_so.changed_by = changed.node_key and changed_by_bp = ' ' |
| [2] | tcurc | currency | currency_code = waers |
Annotations (1)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | testcdsac24 | view |
Fields (19)
| 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 | ||
| note_guid | note_guid | Node Key | ||
| buyer_guid | buyer_guid | Node Key | ||
| gross_amount | gross_amount | Tax-Inclusive Amount | ||
| net_amount | net_amount | Tax-Exclusive Amount | ||
| tax_amount | tax_amount | VAT Amount Type | ||
| op_id | op_id | Opportunity ID | ||
| _dataaging | _dataaging | Data Aging | ||
| dummy | dummy | Single-Character Flag | ||
| buyer | buyer | Real Buyer Source | ||
| created | created | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| changed | changed | Time Stamp | ||
| note | note | TradeRequest Comment | ||
| currency | currency | Valuation Crcy |
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_24.
-- 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: testcdsac24
CREATE VIEW Test_Cds_Astcheck_24 AS
SELECT
node_key,
so_id,
created_by,
created_at,
changed_by,
changed_at,
note_guid,
buyer_guid,
gross_amount,
net_amount,
tax_amount,
op_id,
dummy,
buyer,
created,
changed,
note,
currency
FROM snwd_so
LEFT OUTER JOIN qlast_sddl_bpa AS buyer ON buyer_guid = buyer.node_key -- association [*]
LEFT OUTER JOIN qlast_sddl_texts AS note ON note_guid = note.parent_key -- association [2]
LEFT OUTER JOIN qlast_sddl_bpa AS created_by_partner ON snwd_so.created_by = created_by_partner.node_key AND created_by_bp = 'X' -- association [0..*]
LEFT OUTER JOIN qlast_sddl_bpa AS changed_by_partner ON snwd_so.changed_by = changed_by_partner.node_key AND changed_by_bp = 'X' -- association [0..2]
LEFT OUTER JOIN qlast_sddl_employee AS created ON snwd_so.created_by = created.node_key AND created_by_bp = ' ' -- association [0..1]
LEFT OUTER JOIN qlast_sddl_employee AS changed ON snwd_so.changed_by = changed.node_key AND changed_by_bp = ' ' -- association [0..1]
LEFT OUTER JOIN tcurc AS currency ON currency_code = waers -- association [2]
;
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