Skip to Content
0
Former Member
Sep 19, 2005 at 08:48 AM

How to make the content of the alv tree accessible?

36 Views

I have created an alv tree using class interface CL_SALV_TREE. The code snippet to build the tree I have used is

cl_salv_tree=>factory(

IMPORTING

r_salv_tree = gr_tree

CHANGING

t_table = gt_tree ).

I have provided header text and tooltips.

DATA: lr_columns TYPE REF TO cl_salv_columns,

lr_columns = gr_tree->get_columns( ).

lr_column = lr_columns->get_column( 'TEXT1' ).

lc_col_long_text = text-161.

lc_col_tool_text = text-161.

lr_column->set_long_text( lc_col_long_text ).

lr_column->set_tooltip( lc_col_tool_text ).

The content of the tree is filled dynamically by passing the internal table gt_tree as shown in the aforementioned code. And on double click it leads to another screen.

Now the problem is that JAWS doesnt announce "Press F2" when it tabs to this content. As far as I know jaws announces if there is a tooltip or it announces the text itself. Also I know you can provide tooltip with the alv function module to the content but with the class cl_salv_tree_settings I am oblivious of such kind of provision or if any other.

Kindly provide your inputs on the same.