SAP ABAP Class CL_SRT_WSP_TRACER (Tracer Class for Soap Configuration)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ESI-WS-ABA-CFG (Application Component) WebServices ABAP Configuration
     SOAP_CONFIG (Package) SOAP Configuration Framework
Properties
Class CL_SRT_WSP_TRACER  
Short Description Tracer Class for Soap Configuration    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOAP_CONFIG   SOAP Configuration Framework 
Created 20080109   SAP 
Last change 20110908   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)
Interfaces
Class CL_SRT_WSP_TRACER has no interface implemented.
Friends
Class CL_SRT_WSP_TRACER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ASSIGN_TABLE Constant Public Type reference (TYPE) SRT_TRC_COUNTER-TABLE_NAME 'SRT_TRC_ASSIGN' table name 20080225
2 C_COUNTER_TABLE Constant Public Type reference (TYPE) STRING 'SRT_TRC_COUNTER' 20080225
3 C_LOGICAL_FILE Constant Public Type reference (TYPE) FILENAME-FILEINTERN 'SRT_CFG_TRC_FILE' logical trace filename 20080110
4 C_TRC_MSG_DELIM Constant Public Type reference (TYPE) STRING '||' 20080111
5 G_FILE_NAME Static Attribute Private Type reference (TYPE) STRING file name 20080110
6 G_SESSION_GUID Static Attribute Private Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20080201
7 G_SESSION_ID Static Attribute Private Type reference (TYPE) I 20080225
8 G_TIME_INTERVAL Static Attribute Private Type reference (TYPE) I 1800 30 minutes 20080225
9 IS_DEFINED Static Attribute Private Type reference (TYPE) C ABAP_FALSE define file name 20080110
10 IS_OPEN Static Attribute Private Type reference (TYPE) C ABAP_FALSE file is open 20080110
11 IS_OPEN_FOR_READ Static Attribute Private Type reference (TYPE) C ABAP_FALSE 20080111
12 IS_OPEN_FOR_WRITE Static Attribute Private Type reference (TYPE) C ABAP_FALSE 20080111
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_EXISTENCY Static method Private Method check if the trace file already exists 20080110
2 CHECK_TRACES Static method Private Method 20080225
3 CHECK_USER_TRACE_STATUS Static method Public Method 20080130
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080226
5 CLOSE_FILE Static method Private Method close file 20080110
6 CONSTRUCT_TRC_MSG Static method Private Method construct trace message 20080111
7 DEFINE_TRACE_FILE Static method Private Method define trace file - get the name from logical name 20080110
8 DISPLAY_TRACE Static method Private Method 20080121
9 FIND_TRACE_FILES Static method Private Method 20080121
10 GET_ID Static method Private Method get counter ID 20080211
11 GET_TRACE_FILE_NAME Static method Private Method get trace file name 20080110
12 INCREASE_ID Static method Private Method increase the counter +1 20080225
13 LIST_SESSIONS Static method Public Method List All Registered Sessions 20080124
14 LIST_TRACE_FILES Static method Public Method List all trace files 20080123
15 OPEN_FILE_FOR_READ Static method Private Method open file for reading 20080110
16 OPEN_FILE_FOR_TRACE Static method Private Method open file for writing 20080110
17 PARSE_LINE Static method Private Method 20080121
18 READ_ID Static method Private Method read from the db current counter 20080225
19 REGISTER_TRACE_INFO Static method Private Method register relation info between session and app server host 20080110
20 SEARCH_IN_TRACE Static method Public Method Search in the trace 20080121
21 STATIC_LOCK Static method Private Method get the Lock 20080225
22 STATIC_UNLOCK Static method Private Method release the Lock 20080225
23 TEST Static method Public Method 20080225
24 TRACE_MESSAGE Static method Public Method trace message in the persistency layer 20080109
25 TURN_OFF Static method Public Method stop tracing 20080115
26 TURN_ON Static method Public Method start tracing 20080115
Events
Class CL_SRT_WSP_TRACER has no event.
Types
Class CL_SRT_WSP_TRACER has no local type.
Method Signatures

Method CHECK_EXISTENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_IS_EXISTS Value transfer Type reference (TYPE) CHAR1 Single-Character Flag 20080110

Method CHECK_EXISTENCY on class CL_SRT_WSP_TRACER has no exception.

Method CHECK_TRACES Signature

Method CHECK_TRACES on class CL_SRT_WSP_TRACER has no parameter.
Method CHECK_TRACES on class CL_SRT_WSP_TRACER has no exception.

Method CHECK_USER_TRACE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TRACE_STATUS Call by reference Type reference (TYPE) C 20080130
2 Importing I_USERNAME Call by reference Type reference (TYPE) SYUNAME User Name 20080130

Method CHECK_USER_TRACE_STATUS on class CL_SRT_WSP_TRACER has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_SRT_WSP_TRACER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SRT_WSP_TRACER has no exception.

Method CLOSE_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FILE_NAME Call by reference Type reference (TYPE) CHAR64 '' Character field, length 64 20080124

Method CLOSE_FILE on class CL_SRT_WSP_TRACER has no exception.

Method CONSTRUCT_TRC_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_TRC_MSG Call by reference Type reference (TYPE) STRING 20080111
2 Importing I_CLASSNAME Call by reference Type reference (TYPE) STRING 20080111
3 Importing I_METHODNAME Call by reference Type reference (TYPE) STRING 20080111

Method CONSTRUCT_TRC_MSG on class CL_SRT_WSP_TRACER has no exception.

Method DEFINE_TRACE_FILE Signature

Method DEFINE_TRACE_FILE on class CL_SRT_WSP_TRACER has no parameter.
Method DEFINE_TRACE_FILE on class CL_SRT_WSP_TRACER has no exception.

Method DISPLAY_TRACE Signature

Method DISPLAY_TRACE on class CL_SRT_WSP_TRACER has no parameter.
Method DISPLAY_TRACE on class CL_SRT_WSP_TRACER has no exception.

Method FIND_TRACE_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FILE_LIST Call by reference Type reference (TYPE) SRT_TABLE_ASSIGN list of all trace file names 20080121
2 Importing I_DATE_FROM Call by reference Type reference (TYPE) D SY-DATUM 20080121
3 Importing I_DATE_TO Call by reference Type reference (TYPE) D SY-DATUM 20080121

Method FIND_TRACE_FILES on class CL_SRT_WSP_TRACER has no exception.

Method GET_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_ID Value transfer Type reference (TYPE) I 20080225

Method GET_ID on class CL_SRT_WSP_TRACER has no exception.

Method GET_TRACE_FILE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FILE_NAME Call by reference Type reference (TYPE) STRING trace filename 20080110

Method GET_TRACE_FILE_NAME on class CL_SRT_WSP_TRACER has no exception.

Method INCREASE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ID Call by reference Type reference (TYPE) I 20080225

Method INCREASE_ID on class CL_SRT_WSP_TRACER has no exception.

Method LIST_SESSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SESSION_LIST Call by reference Type reference (TYPE) SRT_TABLE_ASSIGN Keep relation info between user sessions and local trace fil 20080124

Method LIST_SESSIONS on class CL_SRT_WSP_TRACER has no exception.

Method LIST_TRACE_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FILES_LIST Call by reference Type reference (TYPE) SRT_TABLE_ASSIGN list of trace files 20080123
2 Importing I_DATE_FROM Call by reference Type reference (TYPE) D '00000001' 20080123
3 Importing I_DATE_TO Call by reference Type reference (TYPE) D '29991232' 20080123

Method LIST_TRACE_FILES on class CL_SRT_WSP_TRACER has no exception.

Method OPEN_FILE_FOR_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FILE_NAME Call by reference Type reference (TYPE) CHAR64 Character field, length 64 20080124

Method OPEN_FILE_FOR_READ on class CL_SRT_WSP_TRACER has no exception.

Method OPEN_FILE_FOR_TRACE Signature

Method OPEN_FILE_FOR_TRACE on class CL_SRT_WSP_TRACER has no parameter.
Method OPEN_FILE_FOR_TRACE on class CL_SRT_WSP_TRACER has no exception.

Method PARSE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PARSED_LINE Call by reference Type reference (TYPE) SRT_TRACE_LINE_STRUC Parsed Line from Trace File 20080121
2 Importing I_LINE Call by reference Type reference (TYPE) STRING 20080121

Method PARSE_LINE on class CL_SRT_WSP_TRACER has no exception.

Method READ_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ID Call by reference Type reference (TYPE) I 20080225

Method READ_ID on class CL_SRT_WSP_TRACER has no exception.

Method REGISTER_TRACE_INFO Signature

Method REGISTER_TRACE_INFO on class CL_SRT_WSP_TRACER has no parameter.
Method REGISTER_TRACE_INFO on class CL_SRT_WSP_TRACER has no exception.

Method SEARCH_IN_TRACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TRACE_RESULT Call by reference Type reference (TYPE) SRT_TRACE_LIST List of all traces 20080131
2 Importing I_DATE_FROM Call by reference Type reference (TYPE) D SY-DATUM 20080121
3 Importing I_DATE_TO Call by reference Type reference (TYPE) D SY-DATUM 20080121
4 Importing I_METHOD_NAME Call by reference Type reference (TYPE) STRING '*' method name 20080121
5 Importing I_PROGRAM_NAME Call by reference Type reference (TYPE) STRING '*' program name 20080121
6 Importing I_SESSION_ID Call by reference Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20080201
7 Importing I_TIME_FROM Call by reference Type reference (TYPE) T '000001' 20080121
8 Importing I_TIME_TO Call by reference Type reference (TYPE) T '235959' 20080121
9 Importing I_USER Call by reference Type reference (TYPE) STRING '*' user criteria 20080121

Method SEARCH_IN_TRACE on class CL_SRT_WSP_TRACER has no exception.

Method STATIC_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUCCESS Call by reference Type reference (TYPE) C 20080225

Method STATIC_LOCK on class CL_SRT_WSP_TRACER has no exception.

Method STATIC_UNLOCK Signature

Method STATIC_UNLOCK on class CL_SRT_WSP_TRACER has no parameter.
Method STATIC_UNLOCK on class CL_SRT_WSP_TRACER has no exception.

Method TEST Signature

Method TEST on class CL_SRT_WSP_TRACER has no parameter.
Method TEST on class CL_SRT_WSP_TRACER has no exception.

Method TRACE_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CLASS_NAME Call by reference Type reference (TYPE) STRING 20080111
2 Importing I_METHOD_NAME Call by reference Type reference (TYPE) STRING 20080111
3 Importing I_TRACE_MSG Call by reference Type reference (TYPE) STRING 20080111

Method TRACE_MESSAGE on class CL_SRT_WSP_TRACER has no exception.

Method TURN_OFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_USERNAME Call by reference Type reference (TYPE) STRING '*' 20080130

Method TURN_OFF on class CL_SRT_WSP_TRACER has no exception.

Method TURN_ON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_USERNAME Call by reference Type reference (TYPE) STRING '*' 20080130

Method TURN_ON on class CL_SRT_WSP_TRACER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 711