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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_HDB_ACTION_INI_FILE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_HDB_ACTION_INI_MOD Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 CL_HDB_ACTION_PY_UPD 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 C_CMD_SQLTRACE_REVERT Constant Private Type reference (TYPE) SYUCOMM 'SQLTRACE_REVERT' Function code that PAI triggered 20110517
2 C_CMD_SQLTRACE_UPDATE Constant Private Type reference (TYPE) SYUCOMM 'SQLTRACE_UPDATE' Function code that PAI triggered 20110517
3 C_DEFAULT_LEVEL Constant Public Type reference (TYPE) HDB_PYTHONTRACE_STRUCT-TRACE_LEVEL 'normal' 20110516
4 C_DEFAULT_THRESHOLD Constant Public Type reference (TYPE) INT4 1000000 Natural number 20120323
5 C_DEFAULT_TRACE_FILE_NAME Constant Public Type reference (TYPE) STRING 'sqltrace_$HOST_${PORT}_${COUNT:3}.py' 20120913
6 C_FILE_NAME Constant Private Type reference (TYPE) CHAR20 'indexserver.ini' Char 20 20110517
7 C_KEY_APPL_USER Constant Public Type reference (TYPE) CHAR20 'application_user' Char 20 20120322
8 C_KEY_ENABLE Constant Public Type reference (TYPE) CHAR10 'enable' Character Field Length = 10 20120322
9 C_KEY_LEVEL Constant Public Type reference (TYPE) CHAR10 'level' Character Field Length = 10 20110517
10 C_KEY_OBJECT Constant Public Type reference (TYPE) CHAR10 'object' Character Field Length = 10 20110614
11 C_KEY_STMT_TYPE Constant Public Type reference (TYPE) CHAR20 'statement_type' Char 20 20110614
12 C_KEY_THRESHOLD Constant Public Type reference (TYPE) CHAR20 'threshold_duration' Char 20 20120322
13 C_KEY_TRACE Constant Public Type reference (TYPE) CHAR10 'trace' Character Field Length = 10 20110517
14 C_KEY_TRACEFILE Constant Public Type reference (TYPE) CHAR20 'tracefile' Char 20 20120913
15 C_KEY_USER Constant Public Type reference (TYPE) CHAR10 'user' Character Field Length = 10 20110614
16 C_SECTION_SQLTRACE Constant Public Type reference (TYPE) CHAR10 'sqltrace' Character Field Length = 10 20120322
17 C_STMTTYPE_DDL Constant Private Type reference (TYPE) CHAR20 'DDL' Char 20 20120926
18 C_STMTTYPE_DML Constant Private Type reference (TYPE) CHAR20 'DML' Char 20 20120926
19 C_STMTTYPE_PROCEDURE Constant Private Type reference (TYPE) CHAR20 'PROCEDURE' Char 20 20120926
20 C_STMTTYPE_SESSION Constant Private Type reference (TYPE) CHAR20 'SESSION' Char 20 20120926
21 C_STMTTYPE_SYSTEM Constant Private Type reference (TYPE) CHAR20 'SYSTEM' Char 20 20120926
22 C_STMTTYPE_TRANSACTION Constant Private Type reference (TYPE) CHAR20 'TRANSACTION' Char 20 20120926
23 HOST_DROPDOWN Static Attribute Public Type reference (TYPE) CL_HDB_ACTION_INI_FILE=>HOST_LIST 20110614
24 INIFILE_RAW_DATA Static Attribute Public Type reference (TYPE) HDB_M_INIFILE_CONTENTS_TAB INIFILE_CONTENTS 20110516
25 LEVEL_DROPDOWN Static Attribute Public Type reference (TYPE) CL_HDB_ACTION_PY_UPD=>T_PY_LEVEL_DROPDOWN 20110427
26 P Static Attribute Public Type reference (TYPE) T_PARAM_INFO 20110616
27 PF_STATUS Instance attribute Private Attribute reference (LIKE) 20110419
28 STMTTYPE_DROPDOWN Static Attribute Public Type reference (TYPE) CL_HDB_ACTION_PY_UPD=>T_PY_LEVEL_DROPDOWN 20110614
29 TENANT_DROPDOWN Static Attribute Public Type reference (TYPE) CL_HDB_ACTION_INI_FILE=>TENANT_LIST 20110614
Methods
# Method Level Visibility Method type Description Created on
1 GET_DATA_FROM_DB Instance method Private Method 20110419
2 GET_SQL_LAYER_NAME Static method Private Method 20110419
3 GET_TRACE_FILENAME_FOR_DISPLAY Static method Public Method 20120914
4 IS_ACTIVE Instance method Private Method 20110617
5 MERGE_STATEMENT_TYPE Static method Public Method 20120926
6 SET_TRACE Instance method Private Method 20110517
7 SPLIT_STATEMENT_TYPE Static method Public Method 20120926
8 UNSET_TRACE 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 CX_DBA_ADBC 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 Importing PARAM_INFO Call by reference Type reference (TYPE) T_PARAM_INFO 20110517
2 Returning 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 Returning FILE_NAME_FOR_DISP Value transfer Type reference (TYPE) CHAR128 128 character 20120914
2 Importing 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 Returning 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 CX_DBA_ADBC 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 CX_DBA_ADBC DBA Cockpit: ADBC Errors 20110517
History
Last changed by/on SAP  20130531 
SAP Release Created in 731