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 suppress double click in editable alv grid?

Former Member
0 Kudos
569

I added &IC1 to the extab while set pf-status.

but the double click is still enabled in reuse_alv_grid_display_lvc.

How to get rid of double click?

5 REPLIES 5

former_member156446
Active Contributor
0 Kudos
144

remove the code in the case statement of user command...

remove: { set parameter ID etc.... call transaction....}

SuhaSaha
Advisor
Advisor
0 Kudos
144

Hello,

What difference does it make, if you donot handle the &IC1 ucomm in the subroutine passed to the I_CALLBACK_USER_COMMAND parameter.

Have you handled the &IC1 SY-UCOMM. Then you need to comment that code.

BR,

Suhas

dev_parbutteea
Active Contributor
144

Hi,

"I added &IC1 to the extab while set pf-status."

This is done if you want to remove an icon from the pf-status.

You cannot disable double click functionality but what you can do is actually do nothing when user double clicks. This means that in your process_user_commands, do not put any code for sy-ucomm = '&IC1'.

Regards,

Dev.

dev_parbutteea
Active Contributor
0 Kudos
144

Sorry, duplicate reply by mistake...

Edited by: Dev Parbutteea on Jan 29, 2009 3:13 PM

Former Member
0 Kudos
144

clearing the r_ucomm solved this