ESH_N_RTCODE
Transactions without Apps
ESH_N_RTCODE is a CDS View that provides data about "Transactions without Apps" in SAP S/4HANA. It reads from 1 data source (tstc) and exposes 3 fields with key field tcode. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tstc | tstc | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | tstct | _TSTC2TXT | $projection.tcode = _TSTC2TXT.tcode |
| [0..*] | ESH_APP_KEYWORDT_CDS | _tcode_to_app | $projection.tcode = _tcode_to_app.keywords |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VESH_N_RTCODE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #INHERITED | view | |
| EndUserText.label | Transactions without Apps | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | tcode | tcode | ||
| keywordsthenXelseendashas_app | ||||
| _TSTC2TXT | _TSTC2TXT |
@AbapCatalog.sqlViewName: 'VESH_N_RTCODE'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.serviceQuality: #P
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #INHERITED
@EndUserText.label: 'Transactions without Apps'
define view ESH_N_RTCODE
as select from tstc
association [1..*] to tstct as _TSTC2TXT on $projection.tcode = _TSTC2TXT.tcode
association [0..*] to ESH_APP_KEYWORDT_CDS as _tcode_to_app on $projection.tcode = _tcode_to_app.keywords
{
key tcode,
case tcode
when _tcode_to_app.keywords //when tcode = keyword
then 'X'
else ' '
end as has_app,
_TSTC2TXT,
_tcode_to_app
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ESH_APP_KEYWORDT_CDS",
"TSTC"
],
"ASSOCIATED":
[
"ESH_APP_KEYWORDT_CDS",
"TSTCT"
],
"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