SADL_CDS_RS_SO_Root_w_DB_Hint
Reference Scenario: Sales Order Root
SADL_CDS_RS_SO_Root_w_DB_Hint is a CDS View that provides data about "Reference Scenario: Sales Order Root" in SAP S/4HANA. It reads from 1 data source (sadl_rs_so_root) and exposes 5 fields with key field id. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| sadl_rs_so_root | root | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [*] | Sadl_Cds_Rs_So_Item_w_DB_Hints | _active_items | $projection.id = _active_items.parent_id and $projection.act_indicator = 'X' |
| [*] | Sadl_Cds_Rs_So_Item_w_DB_Hints | _items | $projection.id = _items.parent_id |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SADL_SO_DB_HINT | view | |
| EndUserText.label | Reference Scenario: Sales Order Root | view | |
| Search.searchable | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | id | id | ||
| buyer_id | buyer_id | |||
| seller_id | seller_id | |||
| type_code | type_code | |||
| _items | _items |
@AbapCatalog.sqlViewName: 'SADL_SO_DB_HINT'
@EndUserText.label: 'Reference Scenario: Sales Order Root'
@Search.searchable: true
// Hint INDEX_SEARCH: Hints for Controlling Access Path
// Guides the optimizer to access the table by using the available index.
@AbapCatalog.dbHints: [{dbSystem: #HDB, hint: 'INDEX_SEARCH'}]
// Consumption.dbHints is the new annotation and overshadows AbapCatalog.dbHints
define view SADL_CDS_RS_SO_Root_w_DB_Hint
as select from sadl_rs_so_root as root
association [*] to Sadl_Cds_Rs_So_Item_w_DB_Hints as _active_items on $projection.id = _active_items.parent_id
and $projection.act_indicator = 'X'
association [*] to Sadl_Cds_Rs_So_Item_w_DB_Hints as _items on $projection.id = _items.parent_id
{
key id,
act_indicator,
buyer_id,
seller_id,
type_code,
@Search.defaultSearchElement
_items,
_active_items
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"SADL_RS_SO_ROOT"
],
"ASSOCIATED":
[
"SADL_CDS_RS_SO_ITEM_W_DB_HINTS"
],
"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