SAP ABAP Class CL_FMHIE_ALV_PROXY (Handling of hierarchical data in memory for ALV treein memor)
Hierarchy
EA-PS (Software Component) SAP Enterprise Extension Public Services
   PSM-FM-BCS-BU (Application Component) Budgeting
     FMBMA_E (Package) Budgeting Rules, BCS
Properties
Class CL_FMHIE_ALV_PROXY  
Short Description Handling of hierarchical data in memory for ALV treein memor    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FMBMA_E   Budgeting Rules, BCS 
Created 20050325   SAP 
Last change 20050520   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SDYDO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SLIS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_FMHIE_ALV_PROXY has no interface implemented.
Friends
Class CL_FMHIE_ALV_PROXY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BS Instance attribute Protected Type reference (TYPE) FMBS_NAME Name of Budget Structure 20050325
2 BUDCAT Instance attribute Protected Type reference (TYPE) BUKU_BUDCAT Budget category 20050325
3 FISCYEAR Instance attribute Protected Type reference (TYPE) GJAHR Fiscal Year 20050325
4 FM_AREA Instance attribute Protected Type reference (TYPE) FIKRS Financial Management Area 20050325
5 GT_ALV_PROXY Instance attribute Public See coding 20050426
6 GT_FIELDCATALOG Instance attribute Private Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20050325
7 GT_FMHIENODES Instance attribute Public See coding 20050401
8 GT_NODE_COMPARE Instance attribute Public See coding 20050429
9 G_DB_NODE_NR Instance attribute Public Type reference (TYPE) SYTABIX Nr of nodes in database 20050510
10 G_LINE_BEHAVIOUR Instance attribute Protected Object reference (TYPE REF TO) CL_DRAGDROP Behavior for Drag and Drop 20050404
11 G_NR_CONS_ELEMENTS Instance attribute Private Type reference (TYPE) I 20050406
12 G_REF_TREE_DATA Instance attribute Private Object reference (TYPE REF TO) CL_FMHIE_TREE_DATA Handling of hierarchical data in memory 20050329
13 G_REF_TREE_DATA_BUFFER Instance attribute Protected Object reference (TYPE REF TO) CL_FMHIE_TREE Handling of hierarchical data in memory 20050329
14 G_S_ALV_TREE Instance attribute Public Type reference (TYPE) S_ALV_TREE 20050330
15 G_T_ALV_TREE Instance attribute Public Type reference (TYPE) FMHIENODES Hierarchy Nodes (Without Constant Part) 20050330
16 G_T_FMHIE_NODE Instance attribute Protected Type reference (TYPE) FMHIE_T_NODE Hierarchy Nodes (Without Constant Part) 20050325
17 HIE_ID Instance attribute Protected Type reference (TYPE) FMHIE_HIE_ID Hierarchy ID 20050325
18 INS_MODE_SIBLING Constant Public Type reference (TYPE) I 2 20050404
19 INS_MODE_SON Constant Public Type reference (TYPE) I 1 20050404
20 MR_TOOLBAR Instance attribute Public Object reference (TYPE REF TO) CL_GUI_TOOLBAR Toolbar Control 20050325
21 OFF Constant Public Type reference (TYPE) BOOLE_D '' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20050329
22 ON Constant Public Type reference (TYPE) BOOLE_D 'X' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20050329
23 TEST Instance attribute Public Type reference (TYPE) XFELD Checkbox 20050330
24 TRANSACTION Instance attribute Public Type reference (TYPE) SYUCOMM Function code that PAI triggered 20050401
25 TREE1 Instance attribute Public Object reference (TYPE REF TO) CL_GUI_ALV_TREE ALV Tree Control 20050325
Methods
# Method Level Visibility Method type Description Created on
1 ADD_NODE_ALV Instance method Private Method PBO, add node in ALV 20050329
2 ADD_NODE_MANUALLY Instance method Private Method add node manually (toolbar) 20050405
3 BUILD_COMMENT Instance method Private Method PBO, List Header 20050325
4 BUILD_FIELDCATALOG Instance method Private Method PBO, Fieldcatologue 20050325
5 BUILD_HIERARCHY_HEADER Instance method Private Method PBO, Hierarchy Header 20050325
6 CHANGE_TOOLBAR Instance method Private Method PBO, toolbar 20050325
7 CONSTRUCTOR Instance method Public Constructor 20050325
8 CREATE_HIERARCHY Instance method Private Method PBO, create ALV-Hierarchy from buffer table 20050325
9 DEFINE_DND_BEHAVIOUR Instance method Private Method Define drag and drop behaviour 20050404
10 DELETE_SUBTREE Instance method Private Method Delete subtree (toolbar) 20050405
11 FIND_ROLES Instance method Private Method Find roles 20050406
12 HANDLE_BUTTON_CLICK Instance method Public Event handling method 20050330
13 HANDLE_HEADER_CLICK Instance method Public Event handling method 20050330
14 HANDLE_ITEM_CTMENU_REQUEST Instance method Public Event handling method 20050330
15 HANDLE_ITEM_CTMENU_SELECTED Instance method Public Event handling method 20050330
16 HANDLE_ITEM_DOUBLE_CLICK Instance method Public Event handling method 20050330
17 HANDLE_LINE_DRAG Instance method Public Event handling method Handle the line for drag event 20050404
18 HANDLE_LINE_DROP Instance method Public Event handling method Handle the line for drop event 20050404
19 HANDLE_LINK_CLICK Instance method Public Event handling method 20050330
20 HANDLE_NODE_CTMENU_REQUEST Instance method Public Event handling method 20050330
21 HANDLE_NODE_CTMENU_SELECTED Instance method Public Event handling method 20050330
22 INIT_ALV_TREE Instance method Private Method PBO, Initialization for the ALV tree 20050401
23 ON_FUNCTION_SELECTED Instance method Public Event handling method Handle the function selected in the toolbar 20050330
24 ON_TOOLBAR_DROPDOWN Instance method Public Event handling method Define the dropdown list of function in the toolbar 20050330
25 PAI Instance method Public Method PAI for Generation transaction 20050401
26 PBO Instance method Public Method PBO for Generation transaction 20050401
27 REGISTER_EVENTS Instance method Private Method Register for drag and drop 20050404
Events
Class CL_FMHIE_ALV_PROXY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_ALV_PROXY Public See coding 20050426 BEGIN OF s_alv_proxy, node TYPE lvc_nkey, objnr TYPE bubas_objnr, END OF s_alv_proxy
2 S_ALV_TREE Public See coding 20050330 BEGIN OF s_alv_tree, dimensions TYPE fmku_s_dimpart, nodes TYPE fmhie_s_node, END OF s_alv_tree
3 S_NODE_COMPARE Public See coding 20050429 BEGIN OF s_node_compare, objnr TYPE bubas_objnr, END OF s_node_compare
4 T_ALV_TREE Public See coding 20050330 t_alv_tree TYPE STANDARD TABLE OF s_alv_tree WITH NON-UNIQUE KEY dimensions
Method Signatures

Method ADD_NODE_ALV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_RECEIVER_NODE Call by reference Type reference (TYPE) BUBAS_OBJNR Object number for FM budgeting and AVC 20050329
2 Importing IM_RELANTIONSHIP Call by reference Type reference (TYPE) INT4 How to insert the node 20050329
3 Importing IM_SENDER_HIE_NODE Call by reference Type reference (TYPE) FMHIE_S_NODE Table of hierarchy nodes (of a given hierarchy ID) 20050329
4 Importing IM_SENDER_NODE Call by reference Type reference (TYPE) BUBAS_OBJNR Object number for FM budgeting and AVC 20050329
5 Importing IM_SENDER_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY '' ALV Tree Control: Node Key 20050329

Method ADD_NODE_ALV on class CL_FMHIE_ALV_PROXY has no exception.

Method ADD_NODE_MANUALLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_INS_MODE Call by reference Type reference (TYPE) I Hierarchical Relationship (sibling or son) 20050405
2 Importing IM_RELANTIONSHIP Call by reference Type reference (TYPE) INT4 Natural number 20050405
# Exception Resumable Description Created on
1 ERROR 20050405

Method BUILD_COMMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LIST_COMMENTARY Call by reference Type reference (TYPE) SLIS_T_LISTHEADER 20050325
2 Changing C_LOGO Call by reference Type reference (TYPE) SDYDO_VALUE 20050325

Method BUILD_COMMENT on class CL_FMHIE_ALV_PROXY has no exception.

Method BUILD_FIELDCATALOG Signature

Method BUILD_FIELDCATALOG on class CL_FMHIE_ALV_PROXY has no parameter.
Method BUILD_FIELDCATALOG on class CL_FMHIE_ALV_PROXY has no exception.

Method BUILD_HIERARCHY_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_HIERARCHY_HEADER Call by reference Type reference (TYPE) TREEV_HHDR Tree Control: Attributes of the Hierarchy Header 20050325

Method BUILD_HIERARCHY_HEADER on class CL_FMHIE_ALV_PROXY has no exception.

Method CHANGE_TOOLBAR Signature

Method CHANGE_TOOLBAR on class CL_FMHIE_ALV_PROXY has no parameter.
Method CHANGE_TOOLBAR on class CL_FMHIE_ALV_PROXY has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_HEADER Call by reference Type reference (TYPE) FMHIE_S_HIE_ID_KEY Keys for Hierarchy ID 20050329
2 Importing IM_REF_TREE Call by reference Object reference (TYPE REF TO) CL_FMHIE_TREE Hierarchy service class for maintenance (one ID) 20050329
3 Importing IM_TRANSACTION Call by reference Type reference (TYPE) SYUCOMM Function code that PAI triggered 20050401

Method CONSTRUCTOR on class CL_FMHIE_ALV_PROXY has no exception.

Method CREATE_HIERARCHY Signature

Method CREATE_HIERARCHY on class CL_FMHIE_ALV_PROXY has no parameter.
Method CREATE_HIERARCHY on class CL_FMHIE_ALV_PROXY has no exception.

Method DEFINE_DND_BEHAVIOUR Signature

Method DEFINE_DND_BEHAVIOUR on class CL_FMHIE_ALV_PROXY has no parameter.
Method DEFINE_DND_BEHAVIOUR on class CL_FMHIE_ALV_PROXY has no exception.

Method DELETE_SUBTREE Signature

Method DELETE_SUBTREE on class CL_FMHIE_ALV_PROXY has no parameter.
# Exception Resumable Description Created on
1 ERROR 20050405

Method FIND_ROLES Signature

Method FIND_ROLES on class CL_FMHIE_ALV_PROXY has no parameter.
Method FIND_ROLES on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_BUTTON_CLICK Signature

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

Method HANDLE_BUTTON_CLICK on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_HEADER_CLICK Signature

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

Method HANDLE_HEADER_CLICK on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_ITEM_CTMENU_REQUEST Signature

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

Method HANDLE_ITEM_CTMENU_REQUEST on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_ITEM_CTMENU_SELECTED Signature

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

Method HANDLE_ITEM_CTMENU_SELECTED on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_ITEM_DOUBLE_CLICK Signature

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

Method HANDLE_ITEM_DOUBLE_CLICK on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_LINE_DRAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DRAG_DROP_OBJECT Value transfer Attribute reference (LIKE) 20050404
2 Importing FIELDNAME Value transfer Attribute reference (LIKE) 20050404
3 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20050404
4 Importing SENDER Value transfer Attribute reference (LIKE) 20050404

Method HANDLE_LINE_DRAG on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_LINE_DROP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DRAG_DROP_OBJECT Value transfer Attribute reference (LIKE) 20050404
2 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20050404
3 Importing SENDER Value transfer Attribute reference (LIKE) >SENDER< 20050404

Method HANDLE_LINE_DROP on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_LINK_CLICK Signature

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

Method HANDLE_LINK_CLICK on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_NODE_CTMENU_REQUEST Signature

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

Method HANDLE_NODE_CTMENU_REQUEST on class CL_FMHIE_ALV_PROXY has no exception.

Method HANDLE_NODE_CTMENU_SELECTED Signature

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

Method HANDLE_NODE_CTMENU_SELECTED on class CL_FMHIE_ALV_PROXY has no exception.

Method INIT_ALV_TREE Signature

Method INIT_ALV_TREE on class CL_FMHIE_ALV_PROXY has no parameter.
Method INIT_ALV_TREE on class CL_FMHIE_ALV_PROXY has no exception.

Method 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) 20050330

Method ON_FUNCTION_SELECTED on class CL_FMHIE_ALV_PROXY has no exception.

Method ON_TOOLBAR_DROPDOWN Signature

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

Method ON_TOOLBAR_DROPDOWN on class CL_FMHIE_ALV_PROXY has no exception.

Method PAI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_OK_CODE Call by reference Type reference (TYPE) SY-UCOMM Screens, function code triggered by PAI 20050401
2 Exporting EX_FLG_LEAVE_PROGRAM Call by reference Type reference (TYPE) XFELD Checkbox 20050401
3 Exporting EX_FLG_LEAVE_SCREEN Call by reference Type reference (TYPE) XFELD Checkbox 20050511
4 Exporting EX_FLG_LEAVE_TO_SCREEN Call by reference Type reference (TYPE) XFELD Checkbox 20050511

Method PAI on class CL_FMHIE_ALV_PROXY has no exception.

Method PBO Signature

Method PBO on class CL_FMHIE_ALV_PROXY has no parameter.
Method PBO on class CL_FMHIE_ALV_PROXY has no exception.

Method REGISTER_EVENTS Signature

Method REGISTER_EVENTS on class CL_FMHIE_ALV_PROXY has no parameter.
Method REGISTER_EVENTS on class CL_FMHIE_ALV_PROXY has no exception.
History
Last changed by/on SAP  20050520 
SAP Release Created in 600