P_SCLT_HEADER_STEP
CLT: Header steps for sessions
P_SCLT_HEADER_STEP is a CDS View that provides data about "CLT: Header steps for sessions" in SAP S/4HANA. It reads from 1 data source (sclt_trace_step) and exposes 10 fields with key fields TraceID, NodeID. It has 4 associations to related views. Part of development package S_CLT_MODEL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| sclt_trace_step | Step | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | P_SCLT_SESSION_DURATION | _SessionDuration | Step.trace_id = _SessionDuration.TraceID and Step.session_id = _SessionDuration.SessionID |
| [0..1] | P_SCLT_SESSION_SEVERITY | _Error | $projection.TraceID = _Error.TraceID and $projection.NodeID = _Error.SessionID and _Error.Severity = 'E' |
| [0..1] | P_SCLT_SESSION_SEVERITY | _Warning | $projection.TraceID = _Warning.TraceID and $projection.NodeID = _Warning.SessionID and _Warning.Severity = 'W' |
| [0..1] | P_SCLT_SESSION_SEVERITY | _Info | $projection.TraceID = _Info.TraceID and $projection.NodeID = _Info.SessionID and _Info.Severity = 'I' |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | P_SCLT_HDRS_T_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | CLT: Header steps for sessions | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TraceID | trace_id | Trace ID | |
| KEY | NodeID | session_id | Transaction ID | |
| ParentNodeID | ||||
| OrdinalNumber | ordinal_number | Ordinal Number | ||
| ParentOrdinalNumber | parent_ordinal_number | Ordinal Number | ||
| StepType | step_type | VSS Sol. Step Type | ||
| Description | description | Well Code Des. | ||
| Duration | _SessionDuration | TotalDuration | ||
| TraceIDisnotnullthenIelseendasSeverity | ||||
| StartTime | start_time | Time Stamp |
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_SCLT_HEADER_STEP.
-- 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: P_SCLT_HDRS_T_V
CREATE VIEW P_SCLT_HEADER_STEP AS
SELECT
trace_id AS TraceID,
session_id AS NodeID,
'' AS ParentNodeID,
ordinal_number AS OrdinalNumber,
parent_ordinal_number AS ParentOrdinalNumber,
step_type AS StepType,
Description,
_SessionDuration.TotalDuration AS Duration,
case when _Error.TraceID is not null then 'E' when _Warning.TraceID is not null then 'W' when _Info.TraceID is not null then 'I' else '' end as Severity AS TraceIDisnotnullthenIelseendasSeverity,
start_time AS StartTime
FROM sclt_trace_step AS Step
LEFT OUTER JOIN P_SCLT_SESSION_DURATION AS _SessionDuration ON Step.trace_id = _SessionDuration.TraceID AND Step.session_id = _SessionDuration.SessionID -- association [1..1]
LEFT OUTER JOIN P_SCLT_SESSION_SEVERITY AS _Error ON TraceID = _Error.TraceID AND NodeID = _Error.SessionID AND _Error.Severity = 'E' -- association [0..1]
LEFT OUTER JOIN P_SCLT_SESSION_SEVERITY AS _Warning ON TraceID = _Warning.TraceID AND NodeID = _Warning.SessionID AND _Warning.Severity = 'W' -- association [0..1]
LEFT OUTER JOIN P_SCLT_SESSION_SEVERITY AS _Info ON TraceID = _Info.TraceID AND NodeID = _Info.SessionID AND _Info.Severity = 'I' -- association [0..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