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: 

Disbaling right click in editabale alv

Former Member
0 Kudos

How can I disbale right click event in my editable alv??? Currently when the user does right click a list of options comes up.but I want to disable the right click function..so on right clcik nothing should happen

3 REPLIES 3

Former Member
0 Kudos

If you have used the class CL_GUI_ALV_GRID to make your ALV then you can use the method REG_EVENT_RIGHT_CLICK of class CL_GUI_CONTROL to deregister the right click event.

0 Kudos

Hi Ranu,

I tried the method REG_EVENT_RIGHT_CLICK you suggested, but it only registers the event on_right_click.

The importing parameter register seems to decide wether the event is registered or unregisterd.

To register a '1' is needed, but which character is needed to unregister the event?

regards,

Alexander

Edited by: Alexander Brinkmann on Feb 23, 2012 2:03 PM

former_member387317
Active Contributor
0 Kudos

Hi Priya,

Have a look on below threads...

https://forums.sdn.sap.com/thread.jspa?threadID=910750

https://forums.sdn.sap.com/thread.jspa?threadID=416963

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

ilesh Nandaniya