s_sclt_trace_user
Trace user
s_sclt_trace_user is a CDS View that provides data about "Trace user" in SAP S/4HANA. It reads from 2 data sources (I_User, s_sclt_customeruser_ddl) and exposes 3 fields with key field UserID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_User | I_User | union |
| s_sclt_customeruser_ddl | s_sclt_customeruser_ddl | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | S_V_SCLT_TRC_USR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Trace user | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserID | UserID | ||
| UserDescription | Description | |||
| UserDescription | UserDescription |
@AbapCatalog.sqlViewName: 'S_V_SCLT_TRC_USR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Trace user'
define view s_sclt_trace_user
as select from s_sclt_customeruser_ddl
{
key UserID as UserID,
Description as UserDescription,
cast ( case when UserID = $session.user
then 'X'
else ''
end as boole_d ) as IsLoggedInUser
}
where
UserGroupName = 'SAP_CUST_COM'
union select from I_User
{
key UserID as UserID,
UserDescription as UserDescription,
cast ( case when UserID = $session.user
then 'X'
else ''
end as boole_d ) as IsLoggedInUser
}
where
UserID = 'SAP_WFRT'
or UserID = $session.user
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USER",
"S_SCLT_CUSTOMERUSER_DDL"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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