SAP ABAP alv Grid OO Tooltip in a single cell

2019-09-21 09:02发布

问题:

It is possible to put a tooltip on a single cell of my alv, i know that it is possible in a column by a field catalog, but in one cell it is possible?

Thanks.

Im my example i have an alv with icon like that:

I use a cl_gui_alv_grid not an salv.

And i want that when i mouse over the icon i have information about this item in tha tooltip.

回答1:

The information on how to display a symbol with a tooltip is easily available if you google for "site:help.sap.com tooltip icon". Since you seem to be unable to find it, here is the actual link. Make the target field large enough (132 characters is a common size), then use the function ICON_CREATE.

If you don't want an icon to appear, you can use ICON_SPACE. And since the tooltip is contained in the value of each cell, of course it is possible to have different tooltips for different cells.



标签: sap abap