I_Scbo_TraceStep_TP

DDL: I_SCBO_TRACE_STEP_TP SQL: I_V_SCBO_TRCS_TP Type: view

CBO: Trace Step

I_Scbo_TraceStep_TP is a CDS View that provides data about "CBO: Trace Step" in SAP S/4HANA. It reads from 1 data source (scbo_trc_step) and exposes 21 fields with key fields TraceRunId, OrdinalNumber. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
scbo_trc_step TraceStep from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_Scbo_TraceHeader_TP _TraceHeader $projection.TraceRunId = _TraceHeader.TraceRunId
[0..1] I_Scbo_Action _Action $projection.ActionID = _Action.ActionID and $projection.BusinessObjectId = _Action.BusinessObjectID and $projection.NodeId = _Action.NodeID and _Action.VersionNumber = '0000000000'
[0..1] I_Scbo_Bl_Eval_Time_Point_Text _Eval_Time_Point_Text $projection.EvaluationTimePoint = _Eval_Time_Point_Text.code and _Eval_Time_Point_Text.language = $session.system_language
[0..1] I_Scbo_TraceException_TP _Exception $projection.TraceRunId = _Exception.TraceRunId and $projection.OrdinalNumber = _Exception.OrdinalNumber
[0..1] I_Scbo_Trace_Usr_Msg_TP _UserMessage $projection.TraceRunId = _UserMessage.TraceRunId and $projection.OrdinalNumber = _UserMessage.OrdinalNumber
[0..1] I_Scbo_TraceParams_TP _TraceParams $projection.TraceRunId = _TraceParams.TraceRunId and $projection.OrdinalNumber = _TraceParams.OrdinalNumber

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName I_V_SCBO_TRCS_TP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CBO: Trace Step view
ObjectModel.compositionRoot false view
ObjectModel.writeDraftPersistence SCBO_TRC_STP_D view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY TraceRunId trace_run_id Trace Run ID
KEY OrdinalNumber ordinal_number Ordinal Number
ParentOrdinalNumber parent_ordinal_number Ordinal Number
BusinessObjectId business_object_id Business Object ID
NodeId node_id Workflow Step
StepType step_type VSS Sol. Step Type
LogicType logic_type Logic Type
ActionID action_id Action ID
EvaluationType evaluation_type Evaluation Type
EvaluationTimePoint evaluation_time_point Eval Time Point
SourceLine _UserMessage SourceLine
ClassNameelseendasClassName
EtagelseendasEtag
MessageelseendasStepDescription
Parameters _TraceParams Parameters Parameters
descriptionendasLogicName
Severity severity Thresh.Val. Severity
_TraceHeader _TraceHeader
_TraceParams _TraceParams
_Exception _Exception
_UserMessage _UserMessage

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 I_Scbo_TraceStep_TP.
-- 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: I_V_SCBO_TRCS_TP

CREATE VIEW I_Scbo_TraceStep_TP AS
SELECT
  trace_run_id AS TraceRunId,
  ordinal_number AS OrdinalNumber,
  parent_ordinal_number AS ParentOrdinalNumber,
  business_object_id AS BusinessObjectId,
  node_id AS NodeId,
  step_type AS StepType,
  logic_type AS LogicType,
  action_id AS ActionID,
  evaluation_type AS EvaluationType,
  evaluation_time_point AS EvaluationTimePoint,
  _UserMessage.SourceLine AS SourceLine,
  case when step_type = 'EXC' then _Exception.ClassName when step_type = 'USR' then _UserMessage.ClassName else '' end as ClassName AS ClassNameelseendasClassName,
  case when step_type = 'EXC' then _Exception.Etag when step_type = 'USR' then _UserMessage.Etag else '' end as Etag AS EtagelseendasEtag,
  case when step_type = 'EXC' then _Exception.ExceptionText when step_type = 'USR' then _UserMessage.Message else '' end as StepDescription AS MessageelseendasStepDescription,
  _TraceParams.Parameters AS Parameters,
  case when action_id is not null and action_id != '' then _Action.Description else _Eval_Time_Point_Text.description end as LogicName AS descriptionendasLogicName,
  Severity
FROM scbo_trc_step AS TraceStep
LEFT OUTER JOIN I_Scbo_TraceHeader_TP AS _TraceHeader ON TraceRunId = _TraceHeader.TraceRunId  -- association [1..1]
LEFT OUTER JOIN I_Scbo_Action AS _Action ON ActionID = _Action.ActionID AND BusinessObjectId = _Action.BusinessObjectID AND NodeId = _Action.NodeID AND _Action.VersionNumber = '0000000000'  -- association [0..1]
LEFT OUTER JOIN I_Scbo_Bl_Eval_Time_Point_Text AS _Eval_Time_Point_Text ON EvaluationTimePoint = _Eval_Time_Point_Text.code AND _Eval_Time_Point_Text.language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Scbo_TraceException_TP AS _Exception ON TraceRunId = _Exception.TraceRunId AND OrdinalNumber = _Exception.OrdinalNumber  -- association [0..1]
LEFT OUTER JOIN I_Scbo_Trace_Usr_Msg_TP AS _UserMessage ON TraceRunId = _UserMessage.TraceRunId AND OrdinalNumber = _UserMessage.OrdinalNumber  -- association [0..1]
LEFT OUTER JOIN I_Scbo_TraceParams_TP AS _TraceParams ON TraceRunId = _TraceParams.TraceRunId AND OrdinalNumber = _TraceParams.OrdinalNumber  -- association [0..1]
;