on 10-27-2008 8:43 AM
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
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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you both for your answers,
you were absolutely right. My content field was too short.
Have a nice day!
Lucie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.