KSR_I_TS_COMPTRACE_R

DDL: KSR_I_TS_COMPTRACE_R SQL: KSR_ITSCMPTRACER Type: view

KSR: Tenant Single Gateway Subrecords

KSR_I_TS_COMPTRACE_R is a CDS View that provides data about "KSR: Tenant Single Gateway Subrecords" in SAP S/4HANA. It reads from 1 data source (ksr_ts_comptrc78) and exposes 23 fields with key fields Client, Instance, Record_Number, Start_Time, Subrecord_Number.

Data Sources (1)

SourceAliasJoin Type
ksr_ts_comptrc78 ksr_ts_comptrc78 from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName KSR_ITSCMPTRACER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label KSR: Tenant Single Gateway Subrecords view
ClientHandling.type #CLIENT_DEPENDENT view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Client ksr_ts_comptrc78 client Workflow definition: Client
KEY Instance ksr_ts_comptrc78 instance TaskCount
KEY Record_Number ksr_ts_comptrc78 record_number INT4
KEY Start_Time ksr_ts_comptrc78 start_time Time Stamp
KEY Subrecord_Number ksr_ts_comptrc78 subrecord_number
End_Time ksr_ts_main end_time Time Stamp
Parent_Span_Id ksr_ts_comptrc78 parent_span_id
Span_Id ksr_ts_comptrc78 span_id
Span_Name ksr_ts_comptrc78 span_name
Span_Kind ksr_ts_comptrc78 span_kind
Span_Start_Time ksr_ts_comptrc78 span_start_time Time Stamp
Span_End_Time ksr_ts_comptrc78 span_end_time Time Stamp
Span_Duration ksr_ts_comptrc78 span_duration Value
Span_Links ksr_ts_comptrc78 span_links
Number_Of_Records ksr_ts_comptrc78 number_of_records Value
Status_Code ksr_ts_comptrc78 status_code Status Code
Retention_Timestamp ksr_ts_comptrc78 retention_timestamp Time Stamp
Timestamp_UTC ksr_ts_comptrc78 span_start_time Time Stamp
Time_Period 0
Time_Granularity 1
Time_Zone 0
Tenant_Group ksr_ts_main tenant_group Tenant Authorization
User_Group ksr_ts_main user_group User Group

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 KSR_I_TS_COMPTRACE_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: KSR_ITSCMPTRACER

CREATE VIEW KSR_I_TS_COMPTRACE_R AS
SELECT
  ksr_ts_comptrc78.client AS Client,
  ksr_ts_comptrc78.instance AS Instance,
  ksr_ts_comptrc78.record_number AS Record_Number,
  ksr_ts_comptrc78.start_time AS Start_Time,
  ksr_ts_comptrc78.subrecord_number AS Subrecord_Number,
  ksr_ts_main.end_time AS End_Time,
  ksr_ts_comptrc78.parent_span_id AS Parent_Span_Id,
  ksr_ts_comptrc78.span_id AS Span_Id,
  ksr_ts_comptrc78.span_name AS Span_Name,
  ksr_ts_comptrc78.span_kind AS Span_Kind,
  ksr_ts_comptrc78.span_start_time AS Span_Start_Time,
  ksr_ts_comptrc78.span_end_time AS Span_End_Time,
  ksr_ts_comptrc78.span_duration AS Span_Duration,
  ksr_ts_comptrc78.span_links AS Span_Links,
  ksr_ts_comptrc78.number_of_records AS Number_Of_Records,
  ksr_ts_comptrc78.status_code AS Status_Code,
  ksr_ts_comptrc78.retention_timestamp AS Retention_Timestamp,
  ksr_ts_comptrc78.span_start_time AS Timestamp_UTC,
  0 AS Time_Period,
  1 AS Time_Granularity,
  0 AS Time_Zone,
  ksr_ts_main.tenant_group AS Tenant_Group,
  ksr_ts_main.user_group AS User_Group
FROM ksr_ts_comptrc78
;