Skip to Content
0
Nov 29, 2011 at 07:51 PM

Remove ALV column

229 Views

Hi everyone!

I have an ALV table in my WD application. For some cases I'd like to completely remove (and not just hide) some columns from the ALV.

I know that I can set the visibility parameter:

lr_column->set_visible( if_wdl_core=>visibility_none ).

The problem is that in this case the user can put back this column to the ALV table in the settings menu, and useres with Role "A" can see everything but users with Role "B" can't see some columns

My question is: Is there a way to remove completely the column from the ALV?

Thanks

N.