SADL_V_EXP_SO_rootView
CDS View Testing UI Annotations
SADL_V_EXP_SO_rootView is a CDS View that provides data about "CDS View Testing UI Annotations" in SAP S/4HANA. It reads from 1 data source (snwd_so) and exposes 14 fields with key field SalesOrder. It is exposed through 1 OData service (SADL_GW_EXP_SO_ROOT). Part of development package SADL_GW_EXPOSURE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_so | snwd_so | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SADL_V_E_SOROOT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | CDS View Testing UI Annotations | view | |
| AbapCatalog.preserveKey | true | view | |
| Search.searchable | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| SADL_GW_EXP_SO_ROOT | SADL_GW_EXP_SO_ROOT_SB | V2 | C1 | NOT_RELEASED |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrder | snwd_so | so_id | |
| CurrencyCode | snwd_so | currency_code | ||
| CurrencyText | ||||
| GrossAmount | snwd_so | gross_amount | Customer Name | |
| NetAmount | snwd_so | net_amount | ||
| TaxAmount | snwd_so | tax_amount | ||
| LifecycleStatus | snwd_so | lifecycle_status | ||
| BillingStatus | snwd_so | billing_status | ||
| DeliveryStatus | snwd_so | delivery_status | ||
| OpportunityID | snwd_so | op_id | ||
| CreationDateTime | snwd_so | created_at | ||
| LastChangedDateTime | snwd_so | changed_at | ||
| dummy | snwd_so | dummy | ||
| bp_guid | snwd_so | buyer_guid |
@AbapCatalog.sqlViewName: 'SADL_V_E_SOROOT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'CDS View Testing UI Annotations'
@AbapCatalog.preserveKey: true
@Search.searchable: true
define root view SADL_V_EXP_SO_rootView
as select from snwd_so
{
@UI.lineItem: { position: 10, label: 'Sales Order' }
@Search.ranking: #HIGH
key snwd_so.so_id as SalesOrder,
@UI.selectionField:{position: 10}
@UI.textArrangement: #TEXT_ONLY
@ObjectModel.text.element: 'CurrencyText'
@Semantics.currencyCode: true
snwd_so.currency_code as CurrencyCode,
'CurrText' as CurrencyText,
@Semantics.amount.currencyCode: 'CurrencyCode'
@EndUserText.label: 'Customer Name'
@UI.lineItem: { position: 20, label: 'Gross Amount' }
@UI.dataPoint: { title: 'GrossAmount',
description: 'The gross amount',
longDescription: 'The gross amount of the sales order',
valueFormat:{scaleFactor:1000,numberOfFractionalDigits:0},
referencePeriod:{description: 'Reference period'}
}
snwd_so.gross_amount as GrossAmount,
@UI.lineItem: { position: 30, label: 'Net Amount' }
@Semantics.amount.currencyCode: 'CurrencyCode'
@UI.dataPoint: { title: 'NetAmount', valueFormat:{scaleFactor:1000,numberOfFractionalDigits:1} }
@UI.selectionField:{position: 20}
snwd_so.net_amount as NetAmount,
@UI.lineItem: { position: 40, label: 'Tax Amount' }
@Semantics.amount.currencyCode: 'CurrencyCode'
@UI.dataPoint: { valueFormat:{scaleFactor:1000,numberOfFractionalDigits:1} }
snwd_so.tax_amount as TaxAmount,
@UI.lineItem: { position: 50, label: 'Life Cycle Status' }
snwd_so.lifecycle_status as LifecycleStatus,
snwd_so.billing_status as BillingStatus,
@UI.selectionField:{position: 30}
@Consumption.filter: { selectionType: #INTERVAL, defaultValue: 'D', defaultValueHigh: 'F' }
snwd_so.delivery_status as DeliveryStatus,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
snwd_so.op_id as OpportunityID,
snwd_so.created_at as CreationDateTime,
@UI.selectionField:{position: 40}
@Consumption.filter: { selectionType: #INTERVAL, defaultValue: '20160101000000.0000000', defaultValueHigh: '20170101000000.0000000' }
snwd_so.changed_at as LastChangedDateTime,
@Consumption.filter.hidden: true
@UI.masked
snwd_so.dummy,
snwd_so.buyer_guid as bp_guid
}
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