!--a11y-->
Use this method to deactivate an item.. This item cannot then be selected. Furthermore, no other actions, such as double-clicking, are possible.
CALL METHOD tree->item_set_disabled
EXPORTING node_key = node_key
item_name = item_name
disabled = disabled
EXCEPTIONS failed = 1
node_not_found = 2
item_not_found = 3
cntl_system_error = 4
no_item_selection = 5.
Parameters |
Description |
node_key |
Node containing the item you want to deactivate. The parameter is defined with reference to type tv_nodekey . |
item_name |
Name of the item that you want to deactivate. The parameter is defined with reference to type tv_itmname . |
disabled |
' X ': Item is inactive' ': Item is active |