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: 

Hand symbol while the cursor moves over the ALV Field

Former Member
0 Kudos

Hi Frnds,

In ALV Grid Report when a cursor moves over the row the cursor should be changed to hand symbol.How Can we do.

Please help me.

Thanks in Advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Fieldcat-hotspot = 'X'.

append fieldcat.

hope it will help..

4 REPLIES 4

Former Member
0 Kudos

Hi,

Use th HOTSPOT Enable in the Layout Of Field Catalog.

Here is Sample Code How to use-



*---------------------------------------------------------------------* 
* FORM POPULATE_LAYOUT * 
*---------------------------------------------------------------------* 
* ........ * 
*---------------------------------------------------------------------* 
* --> FIELDLAYOUT * 
*---------------------------------------------------------------------* 
form populate_layout using fieldlayout type slis_layout_alv. 
fieldlayout-f2code = '&ETA' . 
fieldlayout-zebra = 'X'. 
* FOR THE WINDOW TITLE. 
fieldlayout-window_titlebar = 'ALV with Events'. 

fieldlayout-colwidth_optimize = 'X'. 
fieldlayout-no_vline = ' '. 
*fieldlayout-no_input = 'X'. 
fieldlayout-confirmation_prompt = ''. 
fieldlayout-key_hotspot = 'X'. 
* This removes the column headings if the flag is set to 'X' 
fieldlayout-no_colhead = ' '. 
*fieldlayout-hotspot_fieldname = 'MAKTX'. 
fieldlayout-detail_popup = 'X'. 
* fieldlayout-coltab_fieldname = 'X'. 
endform. " POPULATE_LAYOUT 

You can refer the link-

http://www.sap-img.com/abap/sample-programs-on-alv-grid.htm

Regards,

Sujit

Former Member
0 Kudos

Hi,

Fieldcat-hotspot = 'X'.

append fieldcat.

hope it will help..

naveen_inuganti2
Active Contributor
0 Kudos

Hi...,

In field catlog structure we are having Hotspot field...

Just put X for that... while passing that field attributes..

Thanks,

Naveen.I

Former Member
0 Kudos

For all ur fields in the final output table, in the field catalog populate HOTSPOT = 'X'.

WA_FIELDCAT-HOTSPOT = 'X' .

Regards,

Joy.