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

disable column resize during table display

Former Member
0 Likes
893

Hi,

does someone know how to fix the column width, when a table is displayed with an alv?

thanks and regards,

Alexander

Hi,

does someone know how to fix the column width, when a table is displayed with an alv?

thanks and regards,

Alexander

5 REPLIES 5
Read only

former_member189779
Active Contributor
0 Likes
802

Hi

Fieldcatalogue :

ws_alvfield-outputlen = 13.

APPEND ws_alvfield TO wt_fieldcat.

Read only

Former Member
0 Likes
802

Hi,

this statement fixes the column width for the first display, but the user is able to customize the column width during run-time.

I´d like to disable that functionality. Does someone know how that works?

thanks and regards,

Alexander

Read only

0 Likes
802

Hi

Can you explain

"but the user is able to customize the column width during run-time"

Read only

0 Likes
802

Hi,

Use


WA_GT_FIELDCAT-outputlength = 16.

and


WA_GT_FIELDCAT-FIX_COLUMN = 'X'.

i think it may fix the issue.

Thanks and regards.

Aswath.

Read only

Former Member
0 Likes
802

Hi,

I talked to an alv expert and she told me that it is not possible to fix the column width on the frontend.

thanks and regards,

Alexander