NES_I_SWITCH_ITEM

DDL: NES_I_SWITCH_ITEM Type: view_entity

NES Switch Item

NES_I_SWITCH_ITEM is a CDS View that provides data about "NES 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.

Data Sources (3)

SourceAliasJoin Type
sui_tm_mm_app new_lookup left_outer
sui_tm_mm_app old_lookup left_outer
nes_switchitem switch from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label NES Switch Item view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY switch_id nes_switchitem switch_id Switch
KEY seq_number nes_switchitem seq_number Sequential No.
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

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view NES_I_SWITCH_ITEM.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW NES_I_SWITCH_ITEM AS
SELECT
  switch.switch_id AS switch_id,
  switch.seq_number AS seq_number,
  switch.old_uiad_id AS old_uiad_id,
  concat(old_lookup.sem_obj, concat('-', old_lookup.sem_act)) AS old_intent,
  switch.old_tcode AS old_tcode,
  switch.new_uiad_id AS new_uiad_id,
  concat(new_lookup.sem_obj, concat('-', new_lookup.sem_act)) AS new_intent,
  switch.new_tcode AS new_tcode
FROM nes_switchitem AS switch
LEFT OUTER JOIN sui_tm_mm_app AS old_lookup ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sui_tm_mm_app AS new_lookup ON /* join condition not captured in parsed metadata */
;