on 10-08-2008 10:27 AM
I met a very strange problem, when I set tool tip for a ALV column header, I found the column name is always in front of the ALV table.
For example, if the column name is 'ID', I set the tooltip as 'Hello world', the tooltip will always be 'ID - Hello World'.
But I only need 'Hello World'.
Can anybody assist?
Best regards,
Blake Le
I can confirm that the same thing happens in my 7.0 EnhP2 system. It appears that no matter what settings you use the column title is always prefixed in front of the tooltip you specify. I am assuming that this is how it is designed to work. I even tried clearing the DDIC Binding to make sure that wasn't causing it.
DATA l_header TYPE REF TO cl_salv_wd_column_header.
DATA l_column TYPE REF TO cl_salv_wd_column.
l_column = l_table->if_salv_wd_column_settings~get_column( 'CREATED_BY' ).
l_header = l_column->get_header( ).
l_header->set_prop_ddic_binding_field(
property = if_salv_wd_c_ddic_binding=>bind_prop_text
value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
l_header->set_prop_ddic_binding_field(
property = if_salv_wd_c_ddic_binding=>BIND_PROP_TOOLTIP
value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
l_header->set_tooltip( `TTCreated By` ).
l_header->set_text( `Created By` ).
l_header->set_header_text_wrapping( abap_true ).
l_column->set_resizable( abap_true ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
up
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.