P_RSAU_META_DATA

DDL: P_RSAU_META_DATA SQL: PRSAU_META_DATA Type: view Package: SECU

Event Definiton Releated Data

P_RSAU_META_DATA is a CDS View that provides data about "Event Definiton Releated Data" in SAP S/4HANA. It reads from 1 data source (tsl1d) and exposes 7 fields with key fields area, subid. It has 3 associations to related views. Part of development package SECU.

Data Sources (1)

SourceAliasJoin Type
tsl1d tsl1d from

Associations (3)

CardinalityTargetAliasCondition
[0..1] tsl1t _tx_active tsl1d.area = _tx_active.area and tsl1d.subid = _tx_active.subid and _tx_active.spras = $session.system_language
[0..1] tsl1t _tx_en tsl1d.area = _tx_en.area and tsl1d.subid = _tx_en.subid and _tx_en.spras = 'E'
[0..1] tsl1d_attr attr tsl1d.area = attr.area and tsl1d.subid = attr.subid

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PRSAU_META_DATA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
EndUserText.label Event Definiton Releated Data view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY area tsl1d area Settings Area
KEY subid tsl1d subid Topic ID
msg
txt
subclasid tsl1d subclasid Subgroup
severity tsl1d severity Thresh.Val. Severity
var_set_1 attr var_set_1

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 P_RSAU_META_DATA.
-- 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.
-- SQL view name: PRSAU_META_DATA

CREATE VIEW P_RSAU_META_DATA AS
SELECT
  tsl1d.area AS area,
  tsl1d.subid AS subid,
  concat(tsl1d.area, tsl1d.subid ) AS msg,
  coalesce( _tx_active.txt, _tx_en.txt) AS txt,
  tsl1d.subclasid AS subclasid,
  tsl1d.severity AS severity,
  attr.var_set_1 AS var_set_1
FROM tsl1d
LEFT OUTER JOIN tsl1t AS _tx_active ON tsl1d.area = _tx_active.area AND tsl1d.subid = _tx_active.subid AND _tx_active.spras = $session.system_language  -- association [0..1]
LEFT OUTER JOIN tsl1t AS _tx_en ON tsl1d.area = _tx_en.area AND tsl1d.subid = _tx_en.subid AND _tx_en.spras = 'E'  -- association [0..1]
LEFT OUTER JOIN tsl1d_attr AS attr ON tsl1d.area = attr.area AND tsl1d.subid = attr.subid  -- association [0..1]
;