cancel
Showing results for 
Search instead for 
Did you mean: 

Tooltip in WebDynpro ABAP ALV

Former Member
0 Kudos

Hi,

I put a tooltip on every cell of my ALV Table.

I used this code:

DATA: lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
        CREATE OBJECT lr_input_field
          EXPORTING
            value_fieldname = lv_name_day.
        lr_input_field->set_tooltip_fieldname( lv_name_desc ).

Unfortunately my tooltip is not long enough. The shown tooltip text is only about 20 chars long.

When I try the tooltip on a "normal" InputField, the text can be longer.

Do you have any idea what to do?

Thanks a lot!

Lucie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I just do the same things, what it is work for me. I think the problem is not about the length of tooltip, but the length of your field name ( lv_name_desc ).

Just check the length of your field name that you used as tooltip. Maybe the length of your tooltip field just around 20 characters.

Regards,

$=====$

Are you newbie? Check this out: [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate

I just tried to test the situation on my 7.01 system and I can't recreate the problem. Tooltips on inputFields in ALV display longer than 20 characters when both using the direct assignment (SET_TOOLTIP) and via the context (SET_TOOLTIP_FIELDNAME).

Former Member
0 Kudos

Thank you both for your answers,

you were absolutely right. My content field was too short.

Have a nice day!

Lucie