cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the content of the alv tree accessible?

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check this link for all your ALV queries:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf

regards

Aveek

athavanraja
Active Contributor
0 Kudos

Welcome to SDN.

check out the following weblog.

/people/sap.user72/blog/2005/09/14/a-new-approach-to-alv-programming

by the way whats "<b>JAWS</b>"

Regards

Raja

Message was edited by: Durairaj Athavan Raja