Application Development 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: 

how to get tool tip for a column header

Former Member
0 Kudos

hi all,

i have a requirement that on 1 field of the alv grid

if user put cursor on the field header some text should be shown.

i searched for the field TOOLTIP in structure lvc_s_fact

but how to use it because its of type char and length 40 ,

what will i pass to pther fields for whom i dont want to show any tooltip.

please reply soon.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Pass the value to the tooltip field while creating the fieldcatalog for the field that you need to display the tool tip for. If its a standard field ( if it refers to a field from the data dictionary ) then the tool tip will be shown automatically.

regards,

Advait

4 REPLIES 4

Former Member
0 Kudos

Hi,

Pass the value to the tooltip field while creating the fieldcatalog for the field that you need to display the tool tip for. If its a standard field ( if it refers to a field from the data dictionary ) then the tool tip will be shown automatically.

regards,

Advait

Former Member
0 Kudos

Hi,

Adding the tool tip is handled while building the field catalog. All you need to do is , send the 'tool tip text' to the filed tooltip, for that column in the field catalog, like

wa_fieldcat-tooltip = 'Material'.

For the rest of the columns, for which you dont want to see the tool tip, just avoid populating the tooltip field.

Thanks.

Former Member
0 Kudos

hi check this...

http://www.sap-img.com/fu037.htm

regards,

venkat

Former Member
0 Kudos

great!!! Thanks to all