SAP ABAP Class CL_HDB_ACTION_SQL_TRC (HDB: show / edit SQL trace)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
HAN-DB (Application Component) SAP HANA Database
⤷
SDBA_HDB (Package) DBACOCKPIT for NewDB (HDB)

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_HDB_ACTION_CONTROLLER | HDB: Abstract Action Controller | 20110419 |
Properties
Class | CL_HDB_ACTION_SQL_TRC | |
Short Description | HDB: show / edit SQL trace | |
Super Class | CL_HDB_ACTION_CONTROLLER | HDB: Abstract Action Controller |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SDBA_HDB | DBACOCKPIT for NewDB (HDB) |
Created | 20110419 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
4 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_HDB_ACTION_SQL_TRC has no interface implemented.
Friends
Class CL_HDB_ACTION_SQL_TRC has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | SYUCOMM | 'SQLTRACE_REVERT' | Function code that PAI triggered | 20110517 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | SYUCOMM | 'SQLTRACE_UPDATE' | Function code that PAI triggered | 20110517 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | HDB_PYTHONTRACE_STRUCT-TRACE_LEVEL | 'normal' | 20110516 | ||
4 | ![]() |
Constant | Public | Type reference (TYPE) | INT4 | 1000000 | Natural number | 20120323 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'sqltrace_$HOST_${PORT}_${COUNT:3}.py' | 20120913 | ||
6 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR20 | 'indexserver.ini' | Char 20 | 20110517 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR20 | 'application_user' | Char 20 | 20120322 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR10 | 'enable' | Character Field Length = 10 | 20120322 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR10 | 'level' | Character Field Length = 10 | 20110517 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR10 | 'object' | Character Field Length = 10 | 20110614 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR20 | 'statement_type' | Char 20 | 20110614 | |
12 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR20 | 'threshold_duration' | Char 20 | 20120322 | |
13 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR10 | 'trace' | Character Field Length = 10 | 20110517 | |
14 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR20 | 'tracefile' | Char 20 | 20120913 | |
15 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR10 | 'user' | Character Field Length = 10 | 20110614 | |
16 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR10 | 'sqltrace' | Character Field Length = 10 | 20120322 | |
17 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR20 | 'DDL' | Char 20 | 20120926 | |
18 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR20 | 'DML' | Char 20 | 20120926 | |
19 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR20 | 'PROCEDURE' | Char 20 | 20120926 | |
20 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR20 | 'SESSION' | Char 20 | 20120926 | |
21 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR20 | 'SYSTEM' | Char 20 | 20120926 | |
22 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR20 | 'TRANSACTION' | Char 20 | 20120926 | |
23 | ![]() |
Static Attribute | Public | Type reference (TYPE) | CL_HDB_ACTION_INI_FILE=>HOST_LIST | 20110614 | |||
24 | ![]() |
Static Attribute | Public | Type reference (TYPE) | HDB_M_INIFILE_CONTENTS_TAB | INIFILE_CONTENTS | 20110516 | ||
25 | ![]() |
Static Attribute | Public | Type reference (TYPE) | CL_HDB_ACTION_PY_UPD=>T_PY_LEVEL_DROPDOWN | 20110427 | |||
26 | ![]() |
Static Attribute | Public | Type reference (TYPE) | T_PARAM_INFO | 20110616 | |||
27 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20110419 | ||||
28 | ![]() |
Static Attribute | Public | Type reference (TYPE) | CL_HDB_ACTION_PY_UPD=>T_PY_LEVEL_DROPDOWN | 20110614 | |||
29 | ![]() |
Static Attribute | Public | Type reference (TYPE) | CL_HDB_ACTION_INI_FILE=>TENANT_LIST | 20110614 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | 20110419 | |
2 | ![]() |
Static method | Private | Method | 20110419 | |
3 | ![]() |
Static method | Public | Method | 20120914 | |
4 | ![]() |
Instance method | Private | Method | 20110617 | |
5 | ![]() |
Static method | Public | Method | 20120926 | |
6 | ![]() |
Instance method | Private | Method | 20110517 | |
7 | ![]() |
Static method | Public | Method | 20120926 | |
8 | ![]() |
Instance method | Private | Method | 20110517 |
Events
Class CL_HDB_ACTION_SQL_TRC has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | T_KEY_VAL_MAP | Private | See coding | 20110614 | BEGIN OF t_key_val_map,
key TYPE hdb_m_inifile_contents-key,
value TYPE hdb_m_inifile_contents-value,
END OF t_key_val_map
|
||
2 | T_PARAM_INFO | Public | See coding | 20110419 | BEGIN OF t_param_info,
sel_sys TYPE c LENGTH 1,
s_nam TYPE db6schema,
sel_hst TYPE c LENGTH 1,
h_nam TYPE c LENGTH 64,
sel_tnt TYPE c LENGTH 1,
t_nam TYPE mandt,
msg TYPE c LENGTH 35, "-> display SQL Trace is active
err TYPE abap_bool, "-> if an incorrect parameter value is detected, the current screen will not be cleared.
lvl TYPE c LENGTH 20, "level
usr TYPE c LENGTH 20, "SQL user
a_usr TYPE c LENGTH 20, "app user
obj TYPE c LENGTH 128, "object
styp TYPE c LENGTH 64, "statement type
st_dml TYPE c LENGTH 1,
st_ddl TYPE c LENGTH 1,
st_pro TYPE c LENGTH 1,
st_tra TYPE c LENGTH 1,
st_ses TYPE c LENGTH 1,
st_sys TYPE c LENGTH 1,
f_nam TYPE c LENGTH 128,"trace file name
END OF t_param_info
|
Method Signatures
Method GET_DATA_FROM_DB Signature
Method GET_DATA_FROM_DB on class CL_HDB_ACTION_SQL_TRC has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DBA Cockpit: ADBC Errors | 20110419 |
Method GET_SQL_LAYER_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PARAM_INFO | Call by reference | Type reference (TYPE) | T_PARAM_INFO | 20110517 | |||
2 | ![]() |
SQL_LAYER_NAME | Value transfer | Type reference (TYPE) | STRING | 20110419 |
Method GET_SQL_LAYER_NAME on class CL_HDB_ACTION_SQL_TRC has no exception.
Method GET_TRACE_FILENAME_FOR_DISPLAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FILE_NAME_FOR_DISP | Value transfer | Type reference (TYPE) | CHAR128 | 128 character | 20120914 | ||
2 | ![]() |
FILE_NAME_IN_DB | Call by reference | Type reference (TYPE) | CSEQUENCE | 20120914 |
Method GET_TRACE_FILENAME_FOR_DISPLAY on class CL_HDB_ACTION_SQL_TRC has no exception.
Method IS_ACTIVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RVAL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110617 |
Method IS_ACTIVE on class CL_HDB_ACTION_SQL_TRC has no exception.
Method MERGE_STATEMENT_TYPE Signature
Method MERGE_STATEMENT_TYPE on class CL_HDB_ACTION_SQL_TRC has no parameter.
Method MERGE_STATEMENT_TYPE on class CL_HDB_ACTION_SQL_TRC has no exception.
Method SET_TRACE Signature
Method SET_TRACE on class CL_HDB_ACTION_SQL_TRC has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DBA Cockpit: ADBC Errors | 20110517 |
Method SPLIT_STATEMENT_TYPE Signature
Method SPLIT_STATEMENT_TYPE on class CL_HDB_ACTION_SQL_TRC has no parameter.
Method SPLIT_STATEMENT_TYPE on class CL_HDB_ACTION_SQL_TRC has no exception.
Method UNSET_TRACE Signature
Method UNSET_TRACE on class CL_HDB_ACTION_SQL_TRC has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DBA Cockpit: ADBC Errors | 20110517 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 731 |