SAP ABAP Class CL_SWF_CCMS_STRUCTURE (CCMS: Tree Structure (Basis Routine))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWF_ALM (Package) Workflow: Alert Monitor Connection
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SWF_CCMS_STRUCTURE CCMS: Definition of the Internal Tree Structure 20060301
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SWF_CCMS_STRUCTURE_BPE CCMS: Tree Structure for BPE 20060228
2 Inheritance (c INHERITING FROM c_ref)  CL_SWF_CCMS_STRUCTURE_WF CCMS: Tree Structure for Workflow 20060228
Properties
Class CL_SWF_CCMS_STRUCTURE  
Short Description CCMS: Tree Structure (Basis Routine)    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWF_ALM   Workflow: Alert Monitor Connection 
Created 20060228   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SWF_CCMS_STRUCTURE has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_SWF_CCMS_STRUCTURE CCMS: Definition of the Internal Tree Structure 20060301
Friends
Class CL_SWF_CCMS_STRUCTURE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ATTR_TYPE_MO Constant Protected Type reference (TYPE) T_ATTR_TYPE '01' Attribute Type: Monitor Object 20060228
2 C_ATTR_TYPE_PERF Constant Protected Type reference (TYPE) T_ATTR_TYPE '03' Attribute Type: Performance 20060228
3 C_ATTR_TYPE_PROTOCOL Constant Protected Type reference (TYPE) T_ATTR_TYPE '05' Attribute Type: Log 20060228
4 C_ATTR_TYPE_STATUS Constant Protected Type reference (TYPE) T_ATTR_TYPE '04' Attribute Type: Status 20060228
5 C_ATTR_TYPE_SUM Constant Protected Type reference (TYPE) T_ATTR_TYPE '02' Attribute Type: Sum Nodes 20060228
6 C_ATTR_TYPE_TEXT Constant Protected Type reference (TYPE) T_ATTR_TYPE '06' Attribute Type: Text 20060314
7 C_NUMRANGE Constant Public Type reference (TYPE) ALTIDNUMRG '004' Alert: monitoring type number range (perm., temp, ...) 20060228
8 C_TOOL_DISP_BATCH Constant Protected Type reference (TYPE) ALTOOLDISP 'SAP_CCMS_BATCH_DISPATCHER' Tool Dispatcher for Background 20060315
9 C_TOOL_DISP_DIALOG Constant Protected Type reference (TYPE) ALTOOLDISP 'SAP_CCMS_DEFAULT_TD' Tool Dispatcher for Dialog 20060315
10 M_CLIENT Instance attribute Protected Type reference (TYPE) SYMANDT R/3 System, client number from logon 20060228
11 M_MONITOR_TREE_ELEMENT Instance attribute Protected Object reference (TYPE REF TO) TT_MONITOR_TREE_ELEMENT Pointer to Structure Table 20060228
12 M_PERFORMANCE_ATTR Instance attribute Protected Object reference (TYPE REF TO) TT_PERFORMANCE_ATTR Pointer to Performance Attributes 20060228
13 M_PROCCAT Instance attribute Protected Type reference (TYPE) SWD_PROCCAT Process Category 20060301
14 M_PROTOCOL_ATTR Instance attribute Protected Object reference (TYPE REF TO) TT_PROTOCOL_ATTR Pointer to Log Attributes 20060228
15 M_ROOT_CLASSNAME Instance attribute Protected Type reference (TYPE) ALMCNAME Alert: Name of Monitoring Context 20060228
16 M_ROOT_ID Instance attribute Protected Type reference (TYPE) ALGLOBTID Alert: Global Monitoring Type Identifier 20060228
17 M_ROOT_NAME Instance attribute Protected Type reference (TYPE) ALMCNAME Alert: Name of Monitoring Context 20060228
18 M_STATUS_ATTR Instance attribute Protected Object reference (TYPE REF TO) TT_STATUS_ATTR Pointer to Status Attributes 20060228
19 M_SYSTEM_WIDE Instance attribute Protected Type reference (TYPE) XFELD 'X' Checkbox 20060228
20 M_TEXT_ATTR Instance attribute Protected Object reference (TYPE REF TO) TT_TEXT_ATTR Pointer to Text Attributes 20060314
21 M_TRACE_HANDLE Instance attribute Protected Object reference (TYPE REF TO) CL_SWF_TRC_HANDLE Logical Trace Handle 20060228
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20060228
2 _BUILD_STRUCTURE Instance method Private Method Create and Save CCMS Structure 20060228
3 _BUILD_STRUCTURE_LEVEL Instance method Private Method Internal Routine for Creating a Structure Level 20060228
4 _GET_MONITOR_OBJECT Instance method Private Method Create/Determine Monitor Object 20060228
5 _GET_MTE Instance method Private Method Create/Determine Node (Using Type) 20060228
6 _GET_PERFORMANCE_ATTRIBUTE Instance method Private Method Create/Determine Performance Attribute 20060228
7 _GET_PERF_ATTR_PROPERTIES Instance method Private Method Determine Properties of Performance Attribute 20060228
8 _GET_PROTOCOL_ATTRIBUTE Instance method Private Method Create/Determine Log Attribute 20060228
9 _GET_PROTOCOL_ATTR_PROPERTIES Instance method Private Method Determine Properties of Log Attribute 20060228
10 _GET_ROOT_NODE Instance method Private Method Create/Determine Root Node 20060228
11 _GET_STATUS_ATTRIBUTE Instance method Private Method Create/Determine Status Attribute 20060228
12 _GET_STATUS_ATTR_PROPERTIES Instance method Private Method Determine Properties of Status Attribute 20060228
13 _GET_SUM_NODE Instance method Private Method Create/Determine Sum Nodes 20060228
14 _GET_TEXT_ATTRIBUTE Instance method Private Method Create/Determine Text Attribute 20060314
15 _GET_TEXT_ATTR_PROPERTIES Instance method Private Method Determine Properties of Text Attribute 20060314
16 _GET_TID_BY_ID Instance method Private Method Gets TID Using the Internal ID (Name) 20060228
17 _SET_MTE_TABLES Instance method Protected Method Set Structure Tables 20060228
Events
Class CL_SWF_CCMS_STRUCTURE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_MONITOR_TREE_ELEMENT Protected See coding 20060228 tt_monitor_tree_element TYPE STANDARD TABLE OF t_monitor_tree_element WITH KEY id
2 TT_PERFORMANCE_ATTR Protected See coding 20060228 tt_performance_attr TYPE SORTED TABLE OF t_performance_attr WITH UNIQUE KEY id
3 TT_PROTOCOL_ATTR Protected See coding 20060228 tt_protocol_attr TYPE SORTED TABLE OF t_protocol_attr WITH UNIQUE KEY id
4 TT_STATUS_ATTR Protected See coding 20060228 tt_status_attr TYPE SORTED TABLE OF t_status_attr WITH UNIQUE KEY id
5 TT_TEXT_ATTR Protected See coding 20060314 tt_text_attr TYPE SORTED TABLE OF t_text_attr WITH UNIQUE KEY id
6 T_ATTR_TYPE Protected Type reference (TYPE) NUMC2 20060228
7 T_MONITOR_TREE_ELEMENT Protected See coding 20060228 BEGIN OF t_monitor_tree_element, id TYPE swf_ccms_id, parent_id TYPE swf_ccms_id, mte_short TYPE almcname, mte_class TYPE alcusgroup, attr_type TYPE t_attr_type, msgid TYPE symsgid, msgno TYPE symsgno, tool_collecting TYPE altoolkey, tool_onalert TYPE altoolkey, tool_analyze TYPE altoolkey, END OF t_monitor_tree_element
8 T_PERFORMANCE_ATTR Protected See coding 20060228 BEGIN OF t_performance_attr, id TYPE swf_ccms_id, mte_severity TYPE alseverity, mte_keepaltype TYPE alkeepalty, mte_keepalmax TYPE alkeepalmx, mte_seconds_til_collectingtool TYPE altimsecs, mte_seconds_until_set_inactive TYPE altimsecs, mte_seconds_warmuptime TYPE altimsecs, perf_customizing_group TYPE alcusgroup, * PERF_SUBTYPE * PERF_RELEVANT_VALUE perf_threshold_direction TYPE alperthrdr, perf_threshold_green_to_yellow TYPE alpacthg2y, perf_threshold_yellow_to_red TYPE alpacthy2r, perf_threshold_yellow_to_green TYPE alpacthy2g, perf_threshold_red_to_yellow TYPE alpacthr2y, perf_unit_to_display TYPE alunit, perf_decimals TYPE aldecimals, perf_alert_text_msgid TYPE sy-msgid, perf_alert_text_msgno TYPE sy-msgno, tool_tooldispatcher TYPE altooldisp, END OF t_performance_attr
9 T_PROTOCOL_ATTR Protected See coding 20060228 BEGIN OF t_protocol_attr, id TYPE swf_ccms_id, mte_severity TYPE alseverity, mte_keepaltype TYPE alkeepalty, mte_keepalmax TYPE alkeepalmx, mte_seconds_til_collectingtool TYPE altimsecs, mte_seconds_until_set_inactive TYPE altimsecs, mte_seconds_warmuptime TYPE altimsecs, msc_customizing_group TYPE alcusgroup, * MSC_SUBTYPE msc_raise_value TYPE alvalue, msc_raise_severity TYPE alseverity, msc_actual_msg_mode TYPE almscactu, msc_actual_msg_timeframe_minut TYPE almaxcntms, msc_max_alerts_per_msgid TYPE alkeepalmx, msc_keep_lines_type TYPE alkeeplnty, msc_keep_lines_max TYPE alkeeplnmx, END OF t_protocol_attr
10 T_STATUS_ATTR Protected See coding 20060228 BEGIN OF t_status_attr, id TYPE swf_ccms_id, mte_severity TYPE alseverity, mte_keepaltype TYPE alkeepalty, mte_keepalmax TYPE alkeepalmx, mte_seconds_til_collectingtool TYPE altimsecs, mte_seconds_until_set_inactive TYPE altimsecs, mte_seconds_warmuptime TYPE altimsecs, smes_customizing_group TYPE alcusgroup, * SMES_SUBTYPE smes_alert_mode TYPE alsmsgcusm, smes_alert_shift TYPE alsmsgcusv, tool_tooldispatcher TYPE altooldisp, END OF t_status_attr
11 T_TEXT_ATTR Protected See coding 20060314 BEGIN OF t_text_attr, id TYPE swf_ccms_id, mte_seconds_til_collectingtool TYPE altimsecs, mte_seconds_until_set_inactive TYPE altimsecs, END OF t_text_attr
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CLIENT Call by reference Type reference (TYPE) SYMANDT R/3-System, Mandantennummer aus Anmeldung 20060228

Method CONSTRUCTOR on class CL_SWF_CCMS_STRUCTURE has no exception.

Method _BUILD_STRUCTURE Signature

Method _BUILD_STRUCTURE on class CL_SWF_CCMS_STRUCTURE has no parameter.
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060228

Method _BUILD_STRUCTURE_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARENT_ID Call by reference Type reference (TYPE) SWF_CCMS_ID Interne ID für den CCMS-Knoten 20060228
2 Importing I_TID Call by reference Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060228

Method _GET_MONITOR_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
2 Importing I_TID Call by reference Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
3 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060228

Method _GET_MTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
2 Importing I_TID Call by reference Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
3 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION 20060228

Method _GET_PERFORMANCE_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ATTR_PROPERTIES Call by reference Type reference (TYPE) T_PERFORMANCE_ATTR 20060228
2 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
3 Importing I_TID Call by reference Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
4 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060228

Method _GET_PERF_ATTR_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
2 Returning R_PERFORMANCE_ATTR Value transfer Type reference (TYPE) T_PERFORMANCE_ATTR 20060228

Method _GET_PERF_ATTR_PROPERTIES on class CL_SWF_CCMS_STRUCTURE has no exception.

Method _GET_PROTOCOL_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ATTR_PROPERTIES Call by reference Type reference (TYPE) T_PROTOCOL_ATTR 20060228
2 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
3 Importing I_TID Call by reference Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
4 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060228

Method _GET_PROTOCOL_ATTR_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
2 Returning R_PROTOCOL_ATTR Value transfer Type reference (TYPE) T_PROTOCOL_ATTR 20060228

Method _GET_PROTOCOL_ATTR_PROPERTIES on class CL_SWF_CCMS_STRUCTURE has no exception.

Method _GET_ROOT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060228

Method _GET_STATUS_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ATTR_PROPERTIES Call by reference Type reference (TYPE) T_STATUS_ATTR 20060228
2 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
3 Importing I_TID Call by reference Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
4 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060228

Method _GET_STATUS_ATTR_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
2 Returning R_STATUS_ATTR Value transfer Type reference (TYPE) T_STATUS_ATTR 20060228

Method _GET_STATUS_ATTR_PROPERTIES on class CL_SWF_CCMS_STRUCTURE has no exception.

Method _GET_SUM_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060228
2 Importing I_TID Call by reference Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
3 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: Ausnahme im CCMS Toolkit 20060228

Method _GET_TEXT_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ATTR_PROPERTIES Call by reference Type reference (TYPE) T_TEXT_ATTR 20060314
2 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060314
3 Importing I_TID Call by reference Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060314
4 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060314
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060314

Method _GET_TEXT_ATTR_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MTE Call by reference Type reference (TYPE) T_MONITOR_TREE_ELEMENT 20060314
2 Returning R_TEXT_ATTR Value transfer Type reference (TYPE) T_TEXT_ATTR 20060314

Method _GET_TEXT_ATTR_PROPERTIES on class CL_SWF_CCMS_STRUCTURE has no exception.

Method _GET_TID_BY_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) SWF_CCMS_ID Interne ID für den CCMS-Knoten 20060228
2 Returning R_TID Value transfer Type reference (TYPE) ALGLOBTID Alert: global monitoring type identifier 20060228
# Exception Resumable Description Created on
1 CX_SWF_CCMS_EXCEPTION CCMS: (Basis) Ausnahmeklasse 20060228

Method _SET_MTE_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MONITOR_TREE_ELEMENT Call by reference Type reference (TYPE) TT_MONITOR_TREE_ELEMENT 20060228
2 Importing IT_PERFORMANCE_ATTR Call by reference Type reference (TYPE) TT_PERFORMANCE_ATTR 20060228
3 Importing IT_PROTOCOL_ATTR Call by reference Type reference (TYPE) TT_PROTOCOL_ATTR 20060228
4 Importing IT_STATUS_ATTR Call by reference Type reference (TYPE) TT_STATUS_ATTR 20060228
5 Importing IT_TEXT_ATTR Call by reference Type reference (TYPE) TT_TEXT_ATTR 20060314

Method _SET_MTE_TABLES on class CL_SWF_CCMS_STRUCTURE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 640