SMN_I_TS_Session_R
SMN: Tenant Single Session Data
SMN_I_TS_Session_R is a CDS View that provides data about "SMN: Tenant Single Session Data" in SAP S/4HANA. It reads from 1 data source (smn_ts_session) and exposes 26 fields with key fields Client, Instance, Tenant_Id, Logon_Hdl, Logon_Id. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| smn_ts_session | smn_ts_session | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | KSR_I_XM_TIME_R | _XTime | $projection.Timestamp_Id = _XTime.TimestampId |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SMN_ITSSESSIONR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | SMN: Tenant Single Session Data | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Client | client | Workflow definition: Client | |
| KEY | Instance | instance | TaskCount | |
| KEY | Tenant_Id | tenant_id | Testplan Description | |
| KEY | Logon_Hdl | logon_hdl | Logon Key | |
| KEY | Logon_Id | logon_id | Logon ID | |
| KEY | Session_Hdl | session_hdl | Session Handle | |
| Timestamp_Id | timestamp_id | Timestamp ID | ||
| Tenant_Group | tenant_group | Tenant Authorization | ||
| User_Group | user_group | User Group | ||
| User_Name | user_name | User Name | ||
| Logon_Type | logon_type | Type | ||
| Logon_Sub_Type | logon_sub_type | Type | ||
| Location | location | Text | ||
| Application | application | UI Application | ||
| Application_Info | application_info | Text | ||
| Extended_Memory | extended_memory | Value | ||
| Heap_Memory | heap_memory | Value | ||
| Rfc_Hdl | rfc_hdl | Text | ||
| Rfc_Type | rfc_type | Type | ||
| Trace | trace | Tracking level | ||
| Open_Tasks | open_tasks | Open Tasks | ||
| Act_Program | act_program | Main Program | ||
| TIME_ZONE | _XTime | Time_Zone | TimeZone | |
| Time_Period | time_period | Time Period in Month | ||
| TIME_GRANULARITY | time_granularity | Time Granularity | ||
| TIMESTAMP_UTC | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) |
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 SMN_I_TS_Session_R.
-- 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: SMN_ITSSESSIONR
CREATE VIEW SMN_I_TS_Session_R AS
SELECT
Client,
Instance,
Tenant_Id,
Logon_Hdl,
Logon_Id,
Session_Hdl,
Timestamp_Id,
Tenant_Group,
User_Group,
User_Name,
Logon_Type,
Logon_Sub_Type,
Location,
Application,
Application_Info,
Extended_Memory,
Heap_Memory,
Rfc_Hdl,
Rfc_Type,
Trace,
Open_Tasks,
Act_Program,
_XTime.Time_Zone AS TIME_ZONE,
Time_Period,
TIME_GRANULARITY,
timestamp AS TIMESTAMP_UTC
FROM smn_ts_session
LEFT OUTER JOIN KSR_I_XM_TIME_R AS _XTime ON Timestamp_Id = _XTime.TimestampId -- association [1..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA