NES_I_SWITCH_ITEM
Switch Item
NES_I_SWITCH_ITEM is a CDS View that provides data about "Switch Item" in SAP S/4HANA. It reads from 3 data sources (sui_tm_mm_app, sui_tm_mm_app, nes_switchitem) and exposes 8 fields with key fields switch_id, seq_number. Part of development package SUI_FLP_EXT_NES.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| sui_tm_mm_app | new_lookup | left_outer |
| sui_tm_mm_app | old_lookup | left_outer |
| nes_switchitem | switch | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Switch Item | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | switch_id | nes_switchitem | switch_id | |
| KEY | seq_number | nes_switchitem | seq_number | |
| old_uiad_id | nes_switchitem | old_uiad_id | ||
| old_intent | ||||
| old_tcode | nes_switchitem | old_tcode | ||
| new_uiad_id | nes_switchitem | new_uiad_id | ||
| new_intent | ||||
| new_tcode | nes_switchitem | new_tcode |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Switch Item'
@Metadata.ignorePropagatedAnnotations: true
define view entity NES_I_SWITCH_ITEM
as select from nes_switchitem as switch
left outer join sui_tm_mm_app as old_lookup on switch.old_uiad_id = old_lookup.app_id
left outer join sui_tm_mm_app as new_lookup on switch.new_uiad_id = new_lookup.app_id
association to parent NES_I_SWITCH_HEADER as _switch_header on $projection.switch_id = _switch_header.switch_id
{
key switch.switch_id,
key switch.seq_number,
switch.old_uiad_id,
concat(old_lookup.sem_obj, concat('-', old_lookup.sem_act)) as old_intent,
switch.old_tcode,
switch.new_uiad_id,
concat(new_lookup.sem_obj, concat('-', new_lookup.sem_act)) as new_intent,
switch.new_tcode,
switch.new_dialog_id,
switch.old_dialog_id,
_switch_header
}
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