SAP ABAP Class CL_CTS_CENTRAL_LOGGING (cCTS: Central Activitiy Log Manager)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CTS-TMS-CTR (Application Component) Central CTS # Transport Management
     SCTS_DIST_CTL_COMMON (Package) Common Parts of cCTS Organizer and Transport Manager
Properties
Class CL_CTS_CENTRAL_LOGGING  
Short Description cCTS: Central Activitiy Log Manager    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SCTS_DIST_CTL_COMMON   Common Parts of cCTS Organizer and Transport Manager 
Created 20110714   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CTS_CENTRAL_LOGGING has no forward declaration.
Interfaces
Class CL_CTS_CENTRAL_LOGGING has no interface implemented.
Friends
Class CL_CTS_CENTRAL_LOGGING has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_DETAIL_LEVEL_BASIC Constant Public Type reference (TYPE) TY_DETAIL_LEVEL 1 20110714
2 CO_DETAIL_LEVEL_EXTENDED Constant Public Type reference (TYPE) TY_DETAIL_LEVEL 2 20110714
3 CO_DETAIL_LEVEL_MAX Constant Public Type reference (TYPE) TY_DETAIL_LEVEL 3 20130118
4 CO_DETAIL_LEVEL_NONE Constant Public Type reference (TYPE) TY_DETAIL_LEVEL 0 20110815
5 CO_KEY_LOGGING Constant Protected Type reference (TYPE) STRING 'CTS_LOGGING' 20110824
6 CO_TOPIC_AREA_API Constant Public Type reference (TYPE) TY_TOPIC_AREA_ID 'API' log topic for api related information 20110714
7 CO_TOPIC_AREA_COMPLIANCE Constant Public Type reference (TYPE) TY_TOPIC_AREA_ID 'PROCESS_COMPLIANCE' log topic for process compliance relevant infos 20110714
8 CO_TOPIC_AREA_CONFIG Constant Public Type reference (TYPE) TY_TOPIC_AREA_ID 'CONFIGURATION' log topic for configuration related information 20110714
9 CO_TOPIC_AREA_LOCKING Constant Public Type reference (TYPE) TY_TOPIC_AREA_ID 'LOCKING' log topic for locking information 20110714
10 CO_TOPIC_AREA_ORGANIZE Constant Public Type reference (TYPE) TY_TOPIC_AREA_ID 'ORGANIZE' log topic for organizer related information 20110714
11 CO_TOPIC_AREA_PROJECTS Constant Public Type reference (TYPE) TY_TOPIC_AREA_ID 'PROJECTS' log topic for project repository related information 20110714
12 CO_TOPIC_AREA_TRANSPORT Constant Public Type reference (TYPE) TY_TOPIC_AREA_ID 'TRANSPORT' log topic for transport releated information 20110714
13 CO_TOPIC_OVERALL Constant Public Type reference (TYPE) TY_TOPIC_AREA_ID 'CORE' 20110815
14 FORCE_NEW_LOGGER Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130419
15 LOGGERS Static Attribute Private Type reference (TYPE) TY_LOGGERS 20110824
Methods
# Method Level Visibility Method type Description Created on
1 BOOL_TO_TEXT Static method Public Method Convert abap boolean to text 20130117
2 CHECK_AUTHORITY Static method Protected Method Check for admin rights 20110815
3 CHECK_AUTHORITY_DISPLAY Static method Protected Method check for display rights 20110815
4 CHECK_TOPIC_ID Static method Protected Method Internal: check if ID is valid or not 20110815
5 GET_LOGGING_SWITCH Static method Public Method Is loggin switched on? 20110824
6 GET_TOPIC_AREAS Static method Public Method List of avaiblable topic areas 20110714
7 LOGGER_FOR_TOPIC Static method Public Method Logger for given topic (session specific) 20130110
8 LOGGING_ENABLED Static method Public Method Convience method for retrieving general logging status 20110824
9 SET_LOGGING_SWITCH Static method Public Method Adjust logging switches 20110824
Events
Class CL_CTS_CENTRAL_LOGGING has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_ACTION Public Type reference (TYPE) STRING 20110824
2 TY_CONFIG Private See coding 20110714 begin of ty_config, disabled type boolean, topics type ty_topic_configs, end of ty_config
3 TY_DETAIL_LEVEL Public Type reference (TYPE) I 20110714
4 TY_LOGGERS Private See coding 20110824 ty_loggers type standard table of ty_logger_entry with key topic
5 TY_LOGGER_ENTRY Private See coding 20110824 begin of ty_logger_entry, topic type ty_topic_area_id, logger type ref to if_cts_central_logger, end of ty_logger_entry
6 TY_TOPIC_AREA Public See coding 20110714 begin of ty_topic_area, id type ty_topic_area_id, name type string, description type string, end of ty_topic_area
7 TY_TOPIC_AREAS Public See coding 20110714 ty_topic_areas type standard table of ty_topic_area with key id
8 TY_TOPIC_AREA_ID Public Type reference (TYPE) STRING 20110714
9 TY_TOPIC_CONFIG Private See coding 20110714 begin of ty_topic_config, id type ty_topic_area_id, disabled type boolean, detail_level type ty_detail_level, end of ty_topic_config
10 TY_TOPIC_CONFIGS Private See coding 20110714 ty_topic_configs type standard table of ty_topic_config with key id
Method Signatures

Method BOOL_TO_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BOOL Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130117
2 Returning TEXT Value transfer Type reference (TYPE) STRING 20130117

Method BOOL_TO_TEXT on class CL_CTS_CENTRAL_LOGGING has no exception.

Method CHECK_AUTHORITY Signature

Method CHECK_AUTHORITY on class CL_CTS_CENTRAL_LOGGING has no parameter.
# Exception Resumable Description Created on
1 CX_CTS_LOGGING No authorization for this action 20130419

Method CHECK_AUTHORITY_DISPLAY Signature

Method CHECK_AUTHORITY_DISPLAY on class CL_CTS_CENTRAL_LOGGING has no parameter.
# Exception Resumable Description Created on
1 CX_CTS_LOGGING cCTS: Logging exceptioncs 20130419

Method CHECK_TOPIC_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID Call by reference Type reference (TYPE) TY_TOPIC_AREA_ID 20110815
# Exception Resumable Description Created on
1 CX_CTS_LOGGING cCTS: Logging exceptioncs 20110815

Method GET_LOGGING_SWITCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LEVEL Value transfer Type reference (TYPE) TY_DETAIL_LEVEL 20110824

Method GET_LOGGING_SWITCH on class CL_CTS_CENTRAL_LOGGING has no exception.

Method GET_TOPIC_AREAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning AREAS Value transfer Type reference (TYPE) TY_TOPIC_AREAS 20110714
# Exception Resumable Description Created on
1 CX_CTS_LOGGING cCTS: Logging exceptioncs 20110815

Method LOGGER_FOR_TOPIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LOGGER Value transfer Object reference (TYPE REF TO) IF_CTS_CENTRAL_LOGGER cCTS: Central Activity Logging 20130110
2 Importing TOPIC Call by reference Type reference (TYPE) TY_TOPIC_AREA_ID 20130110

Method LOGGER_FOR_TOPIC on class CL_CTS_CENTRAL_LOGGING has no exception.

Method LOGGING_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FLAG Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110824

Method LOGGING_ENABLED on class CL_CTS_CENTRAL_LOGGING has no exception.

Method SET_LOGGING_SWITCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LEVEL Call by reference Type reference (TYPE) TY_DETAIL_LEVEL 20110824
# Exception Resumable Description Created on
1 CX_CTS_LOGGING cCTS: Logging exceptioncs 20130419
History
Last changed by/on SAP  20140121 
SAP Release Created in 702