Test_Cds_Astcheck_24
Test_Cds_Astcheck_24 is a CDS View 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.
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 | ||
| KEY | so_id | so_id | ||
| created_by | created_by | |||
| created_at | created_at | |||
| changed_by | changed_by | |||
| changed_at | changed_at | |||
| note_guid | note_guid | |||
| buyer_guid | buyer_guid | |||
| gross_amount | gross_amount | |||
| net_amount | net_amount | |||
| tax_amount | tax_amount | |||
| op_id | op_id | |||
| _dataaging | _dataaging | |||
| dummy | dummy | |||
| buyer | buyer | |||
| created | created | |||
| changed | changed | |||
| note | note | |||
| currency | currency |
@AbapCatalog.sqlViewName: 'testcdsac24'
define view Test_Cds_Astcheck_24 as select
from snwd_so
association [*] to qlast_sddl_bpa as buyer on buyer_guid = buyer.node_key
association [2] to qlast_sddl_texts as note on note_guid = note.parent_key
association [0..*] to qlast_sddl_bpa as created_by_partner on snwd_so.created_by = created_by_partner.node_key and created_by_bp = 'X'
association [0..2] to qlast_sddl_bpa as changed_by_partner on snwd_so.changed_by = changed_by_partner.node_key and changed_by_bp = 'X'
association [0..1] to qlast_sddl_employee as created on snwd_so.created_by = created.node_key and created_by_bp = ' '
association [0..1] to qlast_sddl_employee as changed on snwd_so.changed_by = changed.node_key and changed_by_bp = ' '
association [2] to tcurc as currency on currency_code = waers
{
key node_key,
key so_id, created_by, created_at, changed_by, changed_at, created_by_bp, changed_by_bp, note_guid, buyer_guid, currency_code, gross_amount,
net_amount, tax_amount, lifecycle_status, billing_status, delivery_status, op_id, _dataaging, dummy, overall_status, buy_contact_guid,
ship_to_adr_guid, bill_to_adr_guid,payment_method, payment_terms,
/* Associations */
buyer, created_by_partner, changed_by_partner, created, changed, note, currency }
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"SNWD_SO"
],
"ASSOCIATED":
[
"QLAST_SDDL_BPA",
"QLAST_SDDL_EMPLOYEE",
"QLAST_SDDL_TEXTS",
"TCURC"
],
"BASE":
[],
"VERSION":0
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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