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

Fix column width in alv

Former Member
0 Likes
1,712

Hello,

is it possible to fix the column width in a alv grid,

so that the user can't change it.

Best regrads,

TomSd

I can confirm, this doesn't work.

6 REPLIES 6
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
1,029

Hi Thomas,

Try using method SET_COL_WIDTH_ID .

Read only

Former Member
0 Likes
1,029

Hi Thomas,

We can fix column with in ALV output , <b>SLIS_T_FIELDCAT_ALV</b> Structure having one field <b>FIX_COLUMN</b> , we should give input as <b>'X'</b> .

Exampe :

<b>Field-fix_column = 'X'.</b>

Regards,

Vijay

Read only

Former Member
0 Likes
1,029

Hi

please try like this

WA_GT_FIELDCAT-KEY= 'X'.

WA_GT_FIELDCAT-FIX_COLUMN = 'X'.

in the filed catalog

Read only

1,029

Hello,

doesn't work. Is it possible to change the width.

Best regards.

TomSd

Read only

0 Likes
1,029

This message was moderated.

Read only

0 Likes
1,029

I can confirm, this doesn't work.