05-09-2011 1:44 PM
Hi,
I am using cl_gui_alv_grid class for displaying ALV Grid. My requirement is to fix the first 4 columns i.e. user should not be able to re-arrange the columns sequence, when change layout function is pressed.
Though I am passing the following values to field catalog, columns are not getting fixed. Only while horizontal scrolling the columns are fixed.
KEY = 'X'.
FIX_COLUMN = 'X'
Could you please let me know, if I have to fill any other fields in fieldcatalog ?
Thanks,
Savitha
05-09-2011 1:51 PM
05-09-2011 1:56 PM
Hi,
I don't think this requirement can be acheived by changing the code.
You can try by giving the authorization to the users who actually need to change the layout, remove the authorization to change the layout from other users.
Regards,
harish
05-09-2011 2:00 PM
Hi,
I have to restrict only the first 4 fields, not all the fields. So authorization disables all the fields, not the correct solution.
05-09-2011 2:07 PM
Hi,
If that is the case, then I don't think there is a feasible solution for this requirement.
Regards,
Harish