03-21-2012 10:08 AM
Hi experts,
I want to prohibit the user to change the columns order (without using fixed columns because it's all columns).
Is there an event that triggers when we do that?
Thanks in advance
03-21-2012 5:51 PM
can you be little more clearer on what you mean by prohibit the change of order of the TC?
03-22-2012 10:59 AM
I mean if user try to change the order of columns then display a warning or something like that
Don't give the user possibility to change the order of columns
Hope clearly
03-23-2012 1:57 PM
Hi
Try to remove the authorisation S_ADMI_FCD. Usually this is the authorisation that allows to change / have the admin access of the table control properties.
Br,
Vijay V
03-25-2012 8:29 PM
Hi,
I am not sure how are you already sorting the records, so some inputs would be helpful.
Meanwhile you can have a look at the standard program RSDEMO02 for sorting in table control.
Regards
NIlesh P
03-26-2012 9:00 AM
Hello,
I think is still not clear
Well, you see your program 'RSDEMO02': If you drag drop for example the column Arrival city and you put it after Departure you can.....Me i want to ban this practice the user does not can do it
Thanks,
03-27-2012 7:58 AM
Hello Hraichi,
I think Darg & Drop event is not recognised in the table control. You will have to use class CL_GUI_ALV_GRID for that. you can check these programs BCALV_TEST_GRID_DRAG_DROP or BCALV_TEST_GRID_DRAG_DROP_02 . Meanwhile If you still wish to use table control, you can set the fixed columns field in the table control attributes in the screen painter to number of columns you have, so that all the columns will get fixed to their postions.
Regards
Nilesh