SAP ABAP Class CL_SALV_CSQ_TRACE_DB (Trace recorder (wrapps trace DB tables))
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-CMP-ALV-ABA (Application Component) Web Dynpro ALV for ABAP
     SALV_CSQ (Package) Tools
Properties
Class CL_SALV_CSQ_TRACE_DB  
Short Description Trace recorder (wrapps trace DB tables)    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SALV_CSQ   Tools 
Created 20080816   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_SALV_CSQ Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_SALV_CSZ_API Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_SALV_CSQ_TRACE_DB has no interface implemented.
Friends
Class CL_SALV_CSQ_TRACE_DB has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 APPL_RUNTIME_DESCR Instance attribute Private Object reference (TYPE REF TO) IF_SALV_CSQ_APPL_RUNTIME_DESCR 20080818
2 C_DEFAULT_TRUNCATION Constant Public Type reference (TYPE) IF_SALV_CSQ=>Y_SIZE 10000 20080828
3 C_DEFAULT_VIEWER Constant Public Type reference (TYPE) SALV_CSQT_DATA_VIEWER_CLASS 'CL_SALV_CSQ_DATA_VIEWER' 20080908
4 OPENED_TASKS Instance attribute Private Type reference (TYPE) I 20080903
5 PTH_VIEWERS Static Attribute Private Type reference (TYPE) YTH_VIEWERS 20080908
6 RECORD_NO Instance attribute Private Type reference (TYPE) SALV_CSQT_RECORD_NUMBER 20080816
7 REPLAYED_TRACE_ID Instance attribute Private Type reference (TYPE) SALV_CSQT_TRACE_ID 20090309
8 TRACE_ID Instance attribute Private Type reference (TYPE) SALV_CSQT_TRACE_ID 20080816
9 TRACE_LEVEL Instance attribute Private Type reference (TYPE) SALV_CSQT_TRACE_LEVEL_CATEGORY Trace Level Category (Exceptions, Messages, Log entries) 20080906
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_TRACE_STRUCTURE Static method Private Method 20080904
2 CREATE_HEADER Instance method Private Method 20080816
3 DB_COMMIT Static method Public Method For tear_down in unit tests 20101105
4 DELETE_TRACES Static method Public Method 20080904
5 GET_TRACES_F4 Static method Public Method 20080904
6 GET_TRACE_HEAD Static method Public Method 20080904
7 GET_TRACE_ID Instance method Public Method 20080828
8 GET_USERS_WITH_TRACE Static method Public Method 20080904
9 GET_VIEWER Static method Public Method 20080908
10 READ_RECORD_DATA Static method Public Method 20080904
11 SET_APPLICATION_DESCRIPTOR Instance method Public Method 20090309
12 SET_REPLAYED_TRACE_ID Instance method Public Method 20090309
13 SET_TRACE_LEVEL Instance method Public Method 20090309
14 WRITE_RECORD Instance method Public Method 20080816
15 WRITE_TYPE_ALIAS Instance method Public Method 20080904
Events
Class CL_SALV_CSQ_TRACE_DB has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_LOG_USER Public See coding 20080904 begin of ys_log_user, log_user type syuname, end of ys_log_user
2 YS_TRACE_F4 Public See coding 20080904 begin of ys_trace_f4, log_user type syuname, trace_id type salv_csqt_trace_id, stamp_date type systdatlo, stamp_time type systtimlo, trace_incomplete type salv_csqt_trace_incomplete, replay_trace_id type salv_csqt_replay_trace_id, has_appl_trace type salv_csqt_appl_trace_available, replay_possible type salv_csqt_replay_possible, log_host type syhost, appl_type type salv_csqt_appl_type, * trace_level type salv_csqt_trace_level_category, end of ys_trace_f4
3 YS_TRACE_HEAD Public See coding 20080904 begin of ys_trace_head. include type salv_csq_tr_head. types: end of ys_trace_head
4 YS_VIEWER_INSTANCE Private See coding 20080908 begin of ys_viewer_instance, class_name type salv_csqt_data_viewer_class, viewer type ref to if_salv_csq_data_viewer, end of ys_viewer_instance
5 YTH_VIEWERS Private See coding 20080908 yth_viewers type hashed table of ys_viewer_instance with unique key class_name
6 YT_LOG_USER Public See coding 20080904 yt_log_user type table of ys_log_user with default key
7 YT_TRACE_F4 Public See coding 20080904 yt_trace_f4 type table of ys_trace_f4 with default key
8 YT_TRACE_HEAD Public See coding 20080904 yt_trace_head type table of ys_trace_head with default key
9 YT_TRACE_IDS Public See coding 20080904 yt_trace_ids type table of salv_csqt_trace_id with default key
10 YT_TRACE_ID_RANGES Public See coding 20080828 yt_trace_id_ranges type range of salv_csqt_trace_id
Method Signatures

Method CONVERT_TRACE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning S_TRACE Value transfer Type reference (TYPE) YS_TRACE_F4 20080904
2 Importing S_TRACE_DB Call by reference Type reference (TYPE) SALV_CSQ_TR_HEAD 20080904

Method CONVERT_TRACE_STRUCTURE on class CL_SALV_CSQ_TRACE_DB has no exception.

Method CREATE_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPIRY_DATE Call by reference Type reference (TYPE) SALV_CSQT_EXPIRY_DATE 20080816
2 Importing TRACE_LEVEL Call by reference Type reference (TYPE) SALV_CSQT_TRACE_LEVEL_CATEGORY IF_SALV_CSQ=>C_TRACE_LEVEL-LOGGING Trace Level Category (Exceptions, Messages, Log entries) 20080816
3 Importing TRACE_TYPE Call by reference Type reference (TYPE) SALV_CSQT_TRACE_TYPE IF_SALV_CSQ=>C_TRACE_TYPE-TRACE 20080816

Method CREATE_HEADER on class CL_SALV_CSQ_TRACE_DB has no exception.

Method DB_COMMIT Signature

Method DB_COMMIT on class CL_SALV_CSQ_TRACE_DB has no parameter.
Method DB_COMMIT on class CL_SALV_CSQ_TRACE_DB has no exception.

Method DELETE_TRACES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_TRACE_IDS Value transfer Type reference (TYPE) YT_TRACE_IDS 20080904

Method DELETE_TRACES on class CL_SALV_CSQ_TRACE_DB has no exception.

Method GET_TRACES_F4 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TRUNCATION Value transfer Type reference (TYPE) IF_SALV_CSQ=>Y_SIZE C_DEFAULT_TRUNCATION 20080904
2 Returning T_TRACES Value transfer Type reference (TYPE) YT_TRACE_F4 20080904
3 Importing T_TRACE_IDS Value transfer Type reference (TYPE) YT_TRACE_ID_RANGES 20080904
4 Importing USER Value transfer Type reference (TYPE) SYUNAME 20080904

Method GET_TRACES_F4 on class CL_SALV_CSQ_TRACE_DB has no exception.

Method GET_TRACE_HEAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning S_TRACE Value transfer Type reference (TYPE) YS_TRACE_HEAD 20080904
2 Importing TRACE_ID Value transfer Type reference (TYPE) SALV_CSQT_TRACE_ID 20080904

Method GET_TRACE_HEAD on class CL_SALV_CSQ_TRACE_DB has no exception.

Method GET_TRACE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TRACE_ID Value transfer Type reference (TYPE) SALV_CSQT_TRACE_ID Trace ID 20080828

Method GET_TRACE_ID on class CL_SALV_CSQ_TRACE_DB has no exception.

Method GET_USERS_WITH_TRACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning T_USERS Value transfer Type reference (TYPE) YT_LOG_USER 20080904

Method GET_USERS_WITH_TRACE on class CL_SALV_CSQ_TRACE_DB has no exception.

Method GET_VIEWER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLASS_NAME Value transfer Type reference (TYPE) SALV_CSQT_DATA_VIEWER_CLASS 20080908
2 Returning VIEWER Value transfer Object reference (TYPE REF TO) IF_SALV_CSQ_DATA_VIEWER 20080908

Method GET_VIEWER on class CL_SALV_CSQ_TRACE_DB has no exception.

Method READ_RECORD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DATA_TYPE Call by reference Type reference (TYPE) SALV_CSQT_DATA_TYPE 20080908
2 Importing RECORD_NUMBER Value transfer Type reference (TYPE) SALV_CSQT_RECORD_NUMBER 20080904
3 Exporting TRACE_DATA Call by reference Type reference (TYPE) DATA 20080904
4 Importing TRACE_ID Value transfer Type reference (TYPE) SALV_CSQT_TRACE_ID 20080904
5 Exporting VIEWER_CLASS Value transfer Type reference (TYPE) SALV_CSQT_DATA_VIEWER_CLASS 20080908

Method READ_RECORD_DATA on class CL_SALV_CSQ_TRACE_DB has no exception.

Method SET_APPLICATION_DESCRIPTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing R_APPLICATION_DESCRIPTOR Value transfer Object reference (TYPE REF TO) IF_SALV_CSQ_APPL_RUNTIME_DESCR Runtime Descriptor 20090309

Method SET_APPLICATION_DESCRIPTOR on class CL_SALV_CSQ_TRACE_DB has no exception.

Method SET_REPLAYED_TRACE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REPLAYED_TRACE_ID Value transfer Type reference (TYPE) SALV_CSQT_TRACE_ID 20090309

Method SET_REPLAYED_TRACE_ID on class CL_SALV_CSQ_TRACE_DB has no exception.

Method SET_TRACE_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TRACE_LEVEL Value transfer Type reference (TYPE) SALV_CSQT_TRACE_LEVEL_CATEGORY Trace Level Category (Exceptions, Messages, Log entries) 20090309

Method SET_TRACE_LEVEL on class CL_SALV_CSQ_TRACE_DB has no exception.

Method WRITE_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RECORDABLE Value transfer Object reference (TYPE REF TO) IF_SALV_CSQ_RECORDABLE 20080908
2 Returning RECORD_NUMBER Value transfer Type reference (TYPE) SALV_CSQT_RECORD_NUMBER 20080816
3 Importing S_LOG_DATA Call by reference Type reference (TYPE) IF_SALV_CSQ=>YS_LOG_DATA 20080816

Method WRITE_RECORD on class CL_SALV_CSQ_TRACE_DB has no exception.

Method WRITE_TYPE_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ALIAS Value transfer Type reference (TYPE) SALV_CSQ_TYPE_ALIAS 20080904
2 Importing DATA_TYPE Value transfer Type reference (TYPE) STRING 20080904

Method WRITE_TYPE_ALIAS on class CL_SALV_CSQ_TRACE_DB has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 712