!--a11y-->
Use this method to set the style for the combination of background and foreground color for the item.
CALL METHOD tree->item_set_style
EXPORTING node_key = node_key
item_name = item_name
style = style
EXCEPTIONS failed = 1
node_not_found = 2
item_not_found = 3
cntl_system_error = 4.
Parameters |
Description |
node_key |
Node in the SAP Tree containing the item that you want to change. The parameter is defined with reference to type tv_nodekey . |
item_name |
Name of the item whose style you want to change. The parameter is defined with reference to type tv_itmname . |
style |
Style of the entry. You can use one of the following styles: tree->style_default tree->style_inherited tree->style_intensified tree->style_inactive tree->style_intensified_critical tree->style_emphasized_negative tree->style_emphasized_positive tree->style_emphasized |