Skip to Content
avatar image
Former Member

Tooltip in WebDynpro ABAP ALV

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 28, 2008 at 02:55 AM

    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]

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 27, 2008 at 06:56 PM

    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).

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 28, 2008 at 09:35 AM

    Thank you both for your answers,

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

    Have a nice day!

    Lucie

    Add comment
    10|10000 characters needed characters exceeded