SAP Tree and Tree Model
The Tree Controls in SAPGUI for HTML
SAP Tree
Programming the SAP Tree
Overview of SAP Tree Classes
The Inheritance Hierarchy
Finding Errors
Important Notes
Example Programs
Using Controls in a WAN
Special Considerations for the SAP Tree
Incremental Tree Construction
The Simple Tree
Creating a Control: SAP Picture Example
Using the Simple Tree
Changing the Attributes of the Control
Finding Out the Attributes of the Control
Registering and Processing Events
Events of the Simple Tree
Drag and Drop
Process Flow of a Drag and Drop Operation
Drag and Drop Events
Defining Drag and Drop Events in the SAP Tree
Example of Drag and Drop Programming
The Column Tree
Creating a Control: SAP Picture Example
Using the Column Tree
Changing the Attributes of the Control
Finding Out the Attributes of the Control
Registering and Processing Events
Events of the Column Tree and List Tree
Drag and Drop
Process Flow of a Drag and Drop Operation
Drag and Drop Events
Defining Drag and Drop Events in the SAP Tree
Example of Drag and Drop Programming
The List Tree
Creating a Control: SAP Picture Example
Using the List Tree
Changing the Attributes of the Control
Finding Out the Attributes of the Control
Registering and Processing Events
Events of the Column Tree and List Tree
Drag and Drop
Process Flow of a Drag and Drop Operation
Drag and Drop Events
Defining Drag and Drop Events in the SAP Tree
Example of Drag and Drop Programming
Methods of Class CL_TREE_CONTROL_BASE
add_key_stroke
collapse_all_nodes
collapse_nodes
collapse_subtree
delete_all_nodes
delete_node
delete_nodes
ensure_visible
expand_node
expand_nodes
expand_root_nodes
get_expanded_nodes
get_selected_node
get_selected_nodes
get_top_node
move_node
node_set_disabled
node_set_dragdropid
node_set_expander
node_set_exp_image
node_set_hidden
node_set_is_folder
node_set_no_branch
node_set_n_image
node_set_style
remove_all_key_strokes
scroll
select_nodes
set_default_drop
set_disable_sel_change_ctx_men
set_folder_show_exp_image
set_has_3d_frame
set_screen_update
set_selected_node
set_top_node
unselect_all
unselect_nodes
set_ctx_menu_select_event_appl
Methods of Class CL_ITEM_TREE_CONTROL
add_nodes_and_items
delete_all_items_of_nodes
delete_items
get_selected_item
item_set_chosen
item_set_disabled
item_set_editable
item_set_font
item_set_hidden
item_set_style
item_set_text
item_set_t_image
select_item
set_min_node_height
update_nodes_and_items
Methods of Class CL_GUI_SIMPLE_TREE
constructor
add_nodes
node_set_text
update_nodes
Methods of Class CL_GUI_LIST_TREE
constructor
node_set_last_hierarchy_item
hierarchy_header_set_t_image
list_header_set_t_image
hierarchy_header_set_text
list_header_set_text
hierarchy_header_set_width
hiearchy_header_get_width
hierarchy_header_adjust_width
item_set_alignment
item_set_length
hierarchy_header_set_tooltip
list_header_set_tooltip
Methods of Class CL_GUI_COLUMN_TREE
constructor
add_column
add_hierarchy_column
adjust_column_width
column_get_width
column_set_disabled
column_set_heading_image
column_set_heading_text
column_set_heading_tooltip
column_set_hidden
column_set_width
delete_column
get_column_order
hierarchy_header_adjust_width
hierarchy_header_get_width
hierarchy_header_set_text
hierarchy_header_set_tooltip
hierarchy_header_set_t_image
hierarchy_header_set_width
insert_column
insert_hierarchy_column
set_column_order
update_column
SAP Tree Model
Overview of SAP Tree Model Classes
The Inheritance Hierarchy
Finding Errors
Important Notes
Example Programs
Using Controls in a WAN
The Simple Tree Model
Getting Started With the Simple Tree Model
Searching in the Simple Tree Model
The Column Tree Model
Getting Started With the Column Tree Model
Loading Items on Demand
The List Tree Model
Getting Started With the List Tree Model
Loading Items on Demand
Processing Events in the Tree Model
Methods of Class CL_TREE_MODEL
create_tree_control
set_has_3d_frame
update_view
add_key_stroke
remove_all_key_strokes
get_key_strokes
set_selected_node
select_nodes
unselect_all
unselect_nodes
get_selected_node
get_selected_nodes
get_node_selection_mode
get_hide_selection
node_keys_in_tree
node_key_in_tree
expand_node
expand_nodes
expand_root_nodes
save_expand_all_nodes
save_expand_subree
expand_node_predecessors
get_expanded_nodes
collapse_all_nodes
collapse_node
get_first_root_node
get_last_root_node
get_nr_of_root_nodes
get_root_nodes
delete_all_nodes
delete_node
delete_nodes
node_set_disabled
node_set_dragdropid
node_set_expander
node_set_expanded_image
node_set_hidden
node_set_is_folder
node_set_no_branch
node_set_image
node_set_style
node_set_user_object
node_get_children
node_get_first_child
node_get_last_child
node_get_next_sibling
node_get_nr_of_children
node_get_parent
node_get_prev_sibling
node_get_user_object
print_tree
get_nr_of_nodes
ensure_visible
move_node
scroll
set_disable_sel_change_ctx_men
set_ctx_menu_select_event_appl
get_ctx_menu_select_event_appl
set_default_drop
get_default_drop
set_folder_show_exp_image
get_folder_show_exp_image
set_top_node
get_top_node
get_first_root_node
get_last_root_node
Methods of Class CL_SIMPLE_TREE_MODEL
constructor
add_node
add_nodes
update_nodes
set_registered_events
get_registered_events
node_set_text
node_get_text
node_get_properties
get_tree
find
find_first
find_next
find_all
find_all_continue
Methods of Class CL_ITEM_TREE_MODEL
set_registered_events
get_registered_events
find
find_first
find_next
find_all
find_all_continue
select_item
get_selected_item
get_item_selection
delete_items
delete_all_items_of_nodes
item_set_chosen
item_set_disabled
item_set_editable
item_set_font
item_set_hidden
item_set_style
item_set_text
item_get_text
item_set_image
Methods of Class CL_LIST_TREE_MODEL
constructor
add_node
add_nodes
update_nodes
add_items
update_items
hierarchy_header_set_t_image
hierarchy_header_set_width
hierarchy_header_set_text
hierarchy_header_set_tooltip
hierarchy_header_adjust_width
hierarchy_header_get_width
hierarchy_header_get_props
list_header_set_t_image
list_header_set_text
list_header_set_tooltip
list_header_get_properties
node_set_last_hierarchy_item
node_get_properties
node_get_item
node_get_items
item_set_alignment
item_set_length
get_tree
set_item_provider
get_with_headers
Methods of Class CL_COLUMN_TREE_MODEL
constructor
add_node
add_nodes
update_nodes
add_items
update_items
add_column
add_hierarchy_column
insert_column
insert_hierarchy_column
delete_column
hierarchy_header_adjust_width
hierarchy_header_set_text
hierarchy_header_set_tooltip
hierarchy_header_set_t_image
hierarchy_header_set_width
update_hierarchy_header
hierarchy_header_get_width
hierarchy_header_get_props
get_hierarchy_columns
get_nr_of_columns
get_first_column
get_last_column
get_widths_of_columns
get_column_order
set_column_order
set_column_order_frozen
column_set_disabled
column_set_heading_image
column_set_heading_text
column_set_heading_tooltip
column_set_hidden
column_set_width
update_column
adjust_column_width
column_get_width
column_get_next_sibling
column_get_prev_sibling
column_get_properties
node_get_item
node_get_items
node_get_properties
get_table
set_print_short_header_width
set_item_provider
Important Data Structures
Structure TREEMSNODT
Structure TREEMSUNO
Structures for Headings of Item Trees
Structure TREEMLNODT
Structure TREEMLITEM
Structure TREEMCITEM
Structure TREEMCNODT
Structure TREEMSNOD