Skip to Content
Former Member
Mar 24, 2013 at 12:06 PM

How to disable a cell of ALV *AND* disable search help?



I have created an OOPS editable ALV. I know how to use styles in OOPS ALV.

I have multiple editable columns and some of them have custom search help.

Now, for certain conditions, I have to disable input for one editable field.

The problem is - search help remains active for the cell and user can click on change the value of the cell.

Individually, I am able to

1. Disable search help - cl_gui_alv_grid=>mc_style_f4_no

2. Disable Input - cl_gui_alv_grid=>mc_style_disabled

But I am not able to apply both styles at one cell at the same time.

I noted that there are 3 other fields in structure LVC_S_STYL.

So, I added my style to those fields, but they do not seem to work.

Has anyone ever done this?