SAP ABAP Class CL_SFW_DDIC_WRKLIST_VIEWER (Display of DDIC objects yet to be activated)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-SFW (Application Component) Switch Framework Tools
     SFWTOOLS (Package) Basis Tools for Switch Framework
Properties
Class CL_SFW_DDIC_WRKLIST_VIEWER  
Short Description Display of DDIC objects yet to be activated    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFWTOOLS   Basis Tools for Switch Framework 
Created 20111125   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)
Interfaces
Class CL_SFW_DDIC_WRKLIST_VIEWER has no interface implemented.
Friends
Class CL_SFW_DDIC_WRKLIST_VIEWER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ALLOW_ACTIVATION Instance attribute Private Type reference (TYPE) ABAP_BOOL Activation allowed? 20120103
2 ALVTREE Instance attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_TREE ALV 20120103
3 ALVTREEBAR Instance attribute Private Object reference (TYPE REF TO) CL_GUI_TOOLBAR Application Toolbar 20120103
4 BF_DIR Instance attribute Private Type reference (TYPE) TY_BF_DIR BF Index 20120103
5 CONT Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CONTAINER Container 20120103
6 KEY_INDEX Instance attribute Private Type reference (TYPE) TY_KEY_INDEX Node Index 20120103
7 LIST Instance attribute Private Type reference (TYPE) TY_LIST Output List 20120103
8 OBJECT_BF_VIEW Static Attribute Private Type reference (TYPE) ABAP_BOOL ABAP_TRUE Display Mode 20120103
9 OBJECT_DIR Instance attribute Private Type reference (TYPE) TY_OBJECT_DIR Object List 20120103
10 SFW_ACTIVE_B2 Static Attribute Private Type reference (TYPE) TY_SFW_ACTIVE_B2 Activated BFs 20120103
11 SWITCH_DIR Instance attribute Private Type reference (TYPE) TY_SWITCH_DIR Switch Index 20120103
12 VIA_DD_WORKLIST_ACT Instance attribute Private Type reference (TYPE) ABAP_BOOL Active DDIC Activation? 20120103
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE Instance method Private Method Activate DDIC Objects 20120103
2 ADD_BUSINESS_FUNCTIONS Instance method Private Method Create Tree Nodes for BFs 20120103
3 ADD_OBJECT_NODE Instance method Private Method Create Object Nodes 20120103
4 BUILD_TREE Instance method Private Method Generate Complete Tree 20120103
5 CHANGE_ALVTREE_TOOLBAR Instance method Protected Method Create Application Toolbar (New Buttons) 20120103
6 CLASS_CONSTRUCTOR Static method Public Constructor Import Activated BFs 20120103
7 CONSTRUCTOR Instance method Public Constructor Set Up Display 20120103
8 DISPLAY_INFO Instance method Private Method Display Single Message in Tree 20120103
9 EXCLUDE_TB_FUNCTIONS Instance method Protected Method Create Application Toolbar (Hiding Buttons) 20120103
10 EXISTENCE_CHECK Instance method Private Method 20120124
11 FREE Instance method Public Method Destructor 20120103
12 GET_ACTIVATION_STATE Instance method Private Method Determine Activation Status of DDIC Object 20120103
13 GET_OBJECT_ICON Instance method Private Method Generate Icon for Objects 20120103
14 GET_STATE_ICON Instance method Private Method Generate Icon for Activation Status 20120103
15 GET_SWITCH Instance method Private Method Insert Switch into Model 20120103
16 GET_TYPE_FOLDER Instance method Private Method Generate Folder in Tree 20120103
17 HANDLE_NODE_CM_REQ Instance method Private Event handling method Reaction to Right Mouse Button 20120103
18 HANDLE_NODE_CM_SEL Instance method Private Event handling method Reaction to Right Mouse Button 20120103
19 HANDLE_NODE_DOUBLE_CLICK Instance method Protected Event handling method Reaction to Double-Click 20120103
20 HANDLE_ON_FUNCTION_SELECTED Instance method Private Event handling method Reaction After Operating Pushbutton 20120103
21 HIER_HEADER Instance method Protected Method Display of Hierarchy Column 20120103
22 INCONSISTENT_DDIC_EXISTS Instance method Public Method Are there DDIC objects in the worklist? 20120103
23 READ_WORKLIST Instance method Private Method Import Worklist 20120103
24 REFRESH Instance method Private Method Update Display 20120103
25 REGISTER_ALVTREE_EVENTS Instance method Protected Method Event Registration 20120103
26 SETUP_FIELDCAT Static method Private Method Column Definition 20120103
27 SETUP_TREE Instance method Private Method Generate ALV Tree 20120103
28 SET_ACTIVATION_ALLOWED Instance method Public Method Setting: Is activation allowed in current status? 20120103
Events
Class CL_SFW_DDIC_WRKLIST_VIEWER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_BF_DIR Private See coding 20120103 ty_bf_dir type sorted table of ty_bf_dir_entry with unique key bf
2 TY_BF_DIR_ENTRY Private See coding 20120103 begin of ty_bf_dir_entry, bf type sfw_bfunction, objects type sorted table of ty_object with unique key table_line, end of ty_bf_dir_entry
3 TY_BF_LIST Private See coding 20120103 ty_bf_list type sorted table of sfw_bfunction with unique key table_line
4 TY_FOLDER_INDEX Private See coding 20120103 ty_folder_index type sorted table of ty_type_folder with unique key type
5 TY_KEY_INDEX Private See coding 20120103 ty_key_index type hashed table of ty_key_index_entry with unique key key
6 TY_KEY_INDEX_ENTRY Private See coding 20120103 begin of ty_key_index_entry, key type lvc_nkey, object type ty_object, folders type ty_folder_index, end of ty_key_index_entry
7 TY_LIST Private See coding 20120103 ty_list type table of ddic_wrklist_viewer_line
8 TY_OBJECT Private See coding 20120103 begin of ty_object, type type objecttyp, name type objectname, indexid type indexid, end of ty_object
9 TY_OBJECT_DIR Private See coding 20120103 ty_object_dir type sorted table of ty_object_dir_entry with unique key object
10 TY_OBJECT_DIR_ENTRY Private See coding 20120103 begin of ty_object_dir_entry, object type ty_object, switch type sfw_switch_id, end of ty_object_dir_entry
11 TY_SFW_ACTIVE_B2 Private See coding 20120103 ty_sfw_active_b2 type hashed table of sfw_active_b2 with unique key bfunction
12 TY_SWITCH_DIR Private See coding 20120103 ty_switch_dir type hashed table of ty_switch_dir_entry with unique key switch
13 TY_SWITCH_DIR_ENTRY Private See coding 20120103 begin of ty_switch_dir_entry, switch type sfw_switch_id, bf_dir type ty_bf_list, end of ty_switch_dir_entry
14 TY_TYPE_FOLDER Private See coding 20120103 begin of ty_type_folder, type type objecttyp, key type lvc_nkey, end of ty_type_folder
Method Signatures

Method ACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OBJECT Call by reference Type reference (TYPE) TY_OBJECT 20120103

Method ACTIVATE on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method ADD_BUSINESS_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BF_DIR Call by reference Type reference (TYPE) TY_BF_LIST 20120103
2 Importing IM_PARENT Call by reference Type reference (TYPE) LVC_NKEY 20120103

Method ADD_BUSINESS_FUNCTIONS on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method ADD_OBJECT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_AS_FOLDER Call by reference Type reference (TYPE) ABAP_BOOL 20120103
2 Importing IM_OBJECT Call by reference Type reference (TYPE) TY_OBJECT 20120103
3 Importing IM_PARENT Call by reference Type reference (TYPE) LVC_NKEY 20120103
4 Importing IM_USE_TYPE_FOLDER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20120103
5 Returning RE_KEY Value transfer Type reference (TYPE) LVC_NKEY 20120103

Method ADD_OBJECT_NODE on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method BUILD_TREE Signature

Method BUILD_TREE on class CL_SFW_DDIC_WRKLIST_VIEWER has no parameter.
# Exception Resumable Description Created on
1 CX_SFW_ACTION_CANCELLED 20120103

Method CHANGE_ALVTREE_TOOLBAR Signature

Method CHANGE_ALVTREE_TOOLBAR on class CL_SFW_DDIC_WRKLIST_VIEWER has no parameter.
Method CHANGE_ALVTREE_TOOLBAR on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ALLOW_ACTIVATION Call by reference Type reference (TYPE) ABAP_BOOL 20120103
2 Importing IM_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER 20120103
3 Importing IM_VIA_DD_WORKLIST_ACT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20120103
# Exception Resumable Description Created on
1 CX_SFW_ACTION_CANCELLED 20120103

Method DISPLAY_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TEXT Call by reference Type reference (TYPE) LVC_VALUE 20120103

Method DISPLAY_INFO on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method EXCLUDE_TB_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PT_EXCLUDE Call by reference Type reference (TYPE) UI_FUNCTIONS 20120103

Method EXCLUDE_TB_FUNCTIONS on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method EXISTENCE_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20120124
2 Importing OBJECT Call by reference Type reference (TYPE) TY_OBJECT_DIR_ENTRY 20120124

Method EXISTENCE_CHECK on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method FREE Signature

Method FREE on class CL_SFW_DDIC_WRKLIST_VIEWER has no parameter.
Method FREE on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method GET_ACTIVATION_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OBJECT Call by reference Type reference (TYPE) TY_OBJECT 20120103
2 Returning RE_IS_ACTIVE Value transfer Type reference (TYPE) ABAP_BOOL 20120103

Method GET_ACTIVATION_STATE on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method GET_OBJECT_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OBJECT Call by reference Type reference (TYPE) TY_OBJECT 20120103
2 Returning RE_ICON Value transfer Type reference (TYPE) TV_IMAGE 20120103

Method GET_OBJECT_ICON on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method GET_STATE_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_IS_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20120103
2 Importing IM_OBJECT Call by reference Type reference (TYPE) TY_OBJECT 20120103
3 Returning RE_ICON Value transfer Type reference (TYPE) TV_IMAGE 20120103

Method GET_STATE_ICON on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method GET_SWITCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OBJECT Call by reference Type reference (TYPE) TY_OBJECT 20120103
2 Returning RE_SWITCH Value transfer Type reference (TYPE) SFW_SWITCH_ID 20120103

Method GET_SWITCH on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method GET_TYPE_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARENT Call by reference Type reference (TYPE) LVC_NKEY 20120103
2 Importing IM_TYPE Call by reference Type reference (TYPE) OBJECTTYP 20120103
3 Returning RE_TYPE_KEY Value transfer Type reference (TYPE) LVC_NKEY 20120103

Method GET_TYPE_FOLDER on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method HANDLE_NODE_CM_REQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MENU Value transfer Attribute reference (LIKE) 20120103
2 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20120103

Method HANDLE_NODE_CM_REQ on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method HANDLE_NODE_CM_SEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Value transfer Attribute reference (LIKE) 20120103
2 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20120103

Method HANDLE_NODE_CM_SEL on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method HANDLE_NODE_DOUBLE_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20120103

Method HANDLE_NODE_DOUBLE_CLICK on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method HANDLE_ON_FUNCTION_SELECTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Value transfer Attribute reference (LIKE) 20120103

Method HANDLE_ON_FUNCTION_SELECTED on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method HIER_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_HIERARCHY_HEADER Call by reference Type reference (TYPE) TREEV_HHDR 20120103

Method HIER_HEADER on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method INCONSISTENT_DDIC_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_INCONSISTENT_DDIC_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20120103

Method INCONSISTENT_DDIC_EXISTS on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method READ_WORKLIST Signature

Method READ_WORKLIST on class CL_SFW_DDIC_WRKLIST_VIEWER has no parameter.
Method READ_WORKLIST on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method REFRESH Signature

Method REFRESH on class CL_SFW_DDIC_WRKLIST_VIEWER has no parameter.
Method REFRESH on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.

Method REGISTER_ALVTREE_EVENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTIVATION Call by reference Type reference (TYPE) CHAR1 'X' 20120103
# Exception Resumable Description Created on
1 CTRL_ERROR 20120103

Method SETUP_FIELDCAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_FIELDCAT Call by reference Type reference (TYPE) LVC_T_FCAT 20120103
# Exception Resumable Description Created on
1 CX_SFW_ACTION_CANCELLED 20120103

Method SETUP_TREE Signature

Method SETUP_TREE on class CL_SFW_DDIC_WRKLIST_VIEWER has no parameter.
# Exception Resumable Description Created on
1 CX_SFW_ACTION_CANCELLED 20120103

Method SET_ACTIVATION_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ALLOW_ACTIVATION Call by reference Type reference (TYPE) ABAP_BOOL 20120103

Method SET_ACTIVATION_ALLOWED on class CL_SFW_DDIC_WRKLIST_VIEWER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740