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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | 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 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SALV_CSQ_APPL_RUNTIME_DESCR | 20080818 | ||||
| 2 | Constant | Public | Type reference (TYPE) | IF_SALV_CSQ=>Y_SIZE | 10000 | 20080828 | |||
| 3 | Constant | Public | Type reference (TYPE) | SALV_CSQT_DATA_VIEWER_CLASS | 'CL_SALV_CSQ_DATA_VIEWER' | 20080908 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | I | 20080903 | ||||
| 5 | Static Attribute | Private | Type reference (TYPE) | YTH_VIEWERS | 20080908 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | SALV_CSQT_RECORD_NUMBER | 20080816 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | SALV_CSQT_TRACE_ID | 20090309 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | SALV_CSQT_TRACE_ID | 20080816 | ||||
| 9 | 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 | Static method | Private | Method | 20080904 | ||
| 2 | Instance method | Private | Method | 20080816 | ||
| 3 | Static method | Public | Method | For tear_down in unit tests | 20101105 | |
| 4 | Static method | Public | Method | 20080904 | ||
| 5 | Static method | Public | Method | 20080904 | ||
| 6 | Static method | Public | Method | 20080904 | ||
| 7 | Instance method | Public | Method | 20080828 | ||
| 8 | Static method | Public | Method | 20080904 | ||
| 9 | Static method | Public | Method | 20080908 | ||
| 10 | Static method | Public | Method | 20080904 | ||
| 11 | Instance method | Public | Method | 20090309 | ||
| 12 | Instance method | Public | Method | 20090309 | ||
| 13 | Instance method | Public | Method | 20090309 | ||
| 14 | Instance method | Public | Method | 20080816 | ||
| 15 | 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 | S_TRACE | Value transfer | Type reference (TYPE) | YS_TRACE_F4 | 20080904 | ||||
| 2 | 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 | EXPIRY_DATE | Call by reference | Type reference (TYPE) | SALV_CSQT_EXPIRY_DATE | 20080816 | ||||
| 2 | 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 | 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 | 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 | TRUNCATION | Value transfer | Type reference (TYPE) | IF_SALV_CSQ=>Y_SIZE | C_DEFAULT_TRUNCATION | 20080904 | |||
| 2 | T_TRACES | Value transfer | Type reference (TYPE) | YT_TRACE_F4 | 20080904 | ||||
| 3 | T_TRACE_IDS | Value transfer | Type reference (TYPE) | YT_TRACE_ID_RANGES | 20080904 | ||||
| 4 | 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 | S_TRACE | Value transfer | Type reference (TYPE) | YS_TRACE_HEAD | 20080904 | ||||
| 2 | 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 | 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 | 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 | CLASS_NAME | Value transfer | Type reference (TYPE) | SALV_CSQT_DATA_VIEWER_CLASS | 20080908 | ||||
| 2 | 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 | DATA_TYPE | Call by reference | Type reference (TYPE) | SALV_CSQT_DATA_TYPE | 20080908 | ||||
| 2 | RECORD_NUMBER | Value transfer | Type reference (TYPE) | SALV_CSQT_RECORD_NUMBER | 20080904 | ||||
| 3 | TRACE_DATA | Call by reference | Type reference (TYPE) | DATA | 20080904 | ||||
| 4 | TRACE_ID | Value transfer | Type reference (TYPE) | SALV_CSQT_TRACE_ID | 20080904 | ||||
| 5 | 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 | 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 | 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 | 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 | RECORDABLE | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSQ_RECORDABLE | 20080908 | ||||
| 2 | RECORD_NUMBER | Value transfer | Type reference (TYPE) | SALV_CSQT_RECORD_NUMBER | 20080816 | ||||
| 3 | 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 | ALIAS | Value transfer | Type reference (TYPE) | SALV_CSQ_TYPE_ALIAS | 20080904 | ||||
| 2 | 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 |