Application Development and Automation 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: 
Read only

Change columns order table control

Former Member
0 Likes
1,186

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

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,076

can you be little more clearer on what you mean by prohibit the change of order of the TC?

Read only

0 Likes
1,076

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

Read only

0 Likes
1,076

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

Read only

Former Member
0 Likes
1,076

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

Read only

0 Likes
1,076

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,

Read only

0 Likes
1,076

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