05-04-2006 12:55 PM
Hi,
Can anyone suggest a function module or someway that
i can change the quickinfo for a icon in my code?
Thanks,
Rohit.
05-04-2006 1:02 PM
Hi rohit,
1. Not the quick info,
but we can change the TEXT of the icon
dynamically from the program.
(and this same text will appear as quick info)
2. when creating the icon,
choose Dynamic Text (instead of static text)
and give some variable name in it.
3. in program assign value to the variable,
and rest will be taken care.
regards,
amit m.
05-04-2006 1:12 PM
Hi Amit,
Im using a existing icon which is used in other
places as well. So, i cant change the icon
definition.
I just want to change a Quickinfo for a screen for that
icon.
Is it possible through code?
thanks,
Rohit.
05-04-2006 1:16 PM
Hi again,
1. just check if the icon
is having some <varname>
in the gui status screen.
2. If yes, then its a dynamic text icon.
3. then we can do something by changing
the variable name in the program.
4. Other wise i don't see any possibility!
regards,
amit m.
05-04-2006 1:20 PM
Hi Rohit,
See the sample program:
SALV_TEST_TOOLTIPS
It may have some pointers to lead you towards some solution.
Especially see the ADD_TOOLTIP method of CL_SALV_TOOLTIPS clss.
Regards,
Ravi
05-04-2006 1:21 PM
Hi,
in that case i will suggest you to copy the same icon and change the text.
use the Transaction<b> ICON</b> to create the New one , take the other data from old one except the quick info.
this will solve your prob,
Regards
vijay