Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Tooltip for an icon

Former Member
0 Likes
2,214

Hi all,

How can I provide a tool tip for an icon that is displaying in one of the cells of a table control.

Regards,

Phani

Hi all,

How can I provide a tool tip for an icon that is displaying in one of the cells of a table control.

Regards,

Phani

10 REPLIES 10
Read only

Former Member
0 Likes
1,525

You can refer the sample programs:

BCALV_DEMO_TOOLTIP

SALV_TEST_TOOLTIPS

Regards,

Ravi

Read only

0 Likes
1,525

Hi Ravi/Abhijit,

Thanks for the replies.

But i have to provide tooltip for an icon that is getting displayed in one of its cells.

Regards,

Phani

Read only

0 Likes
1,525

did you check the demo program mentioned by Ravi

BCALV_DEMO_TOOLTIP

Raja

Read only

0 Likes
1,525

Hi Raja,

I have checked the program mentioned by Ravi. It is an ALV Program. But I am trying to display tooltip for an icon that is displayed in a table control not in ALV Grid/List display.

Regards,

Phani

Read only

0 Likes
1,525

sorry i didnt notice that you were asking this in table control.

i will check out and get back

Regards

Raja

Read only

0 Likes
1,525

Hi

Run the trx ICON, here you can see all codes of SAP icon.

In the PBO of your screen:

LOOP AT ITAB....

MODULE SHOW_ICON.

ENDLOOP.

MODULE SHOW_ICON.

ITAB-ICON = '@XX@'.

ENDMODULE.

The field ITAB-ICON should be for ONLY OUTPUT

Max

Read only

0 Likes
1,525

getting the icon is not the issue, how to get the tool tip for the icon?

Regards

Raja

Read only

0 Likes
1,525

Hi Max,

Thanks for the reply. But how can i provide tooltip or color information for that particular icon.

Regards,

Phani

Read only

Former Member
0 Likes
1,525

Hello Phani,

DATA: INFO(20) VALUE 'Information'.

WRITE: / SY-UNAME QUICKINFO 'User name'.

Read only

Former Member
0 Likes
1,525

Try using this..

include <icon>.

DATA: INFO(20) VALUE 'Information for this icon'.

WRITE: / ICON_INFORMATION AS ICON QUICKINFO info

HOTSPOT COLOR COL_POSITIVE.