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

alv

Former Member
0 Likes
549

hi gurus.....

In ALV output I dont want the user to change the column width, It should be of fixed length.

I tried "outputlen" in the field catlog but does not works

how can i achive it?

good points will be rawarded..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
527

Hi,

Fixing Columns

Use

If you want to ensure that certain columns are always displayed even if the user scrolls down, you must fix the columns.

Procedure

To fix one or more columns, proceed as follows:

Click the right mouse button on the header of the column that is the column furthest to the right of the columns you want to fix.

Choose Fix to column.

To undo a column fix, proceed as follows:

Click the right mouse button on a column header.

Choose Remove fix.

Alternative procedure in full screen mode

In full screen mode, you have the option of activating the function using the menus:

Select the header of the column that is the column furthest to the right of the columns you want to fix.

Choose Settings ® Column ® Fix to column.

To undo a column fix, proceed as follows:

Click the right mouse button on a column header.

Choose Settings ® Column ® Remove fix.

Or

In field catlog u can use FIX_COLUMN.

Fix_column (fix column): This parameter is used to fix certain columns in the output. All columns to be fixed must have this flag, starting from the left. If a column without this flag is output, only the columns to the left of this column are fixed. The user can change the column fixing interactively.

Value set: SPACE, 'X'.

'X' = column fixed (does not scroll horizontally).

Or use alv list display

Regards,

Jagadish

Hi,

Fixing Columns

Use

If you want to ensure that certain columns are always displayed even if the user scrolls down, you must fix the columns.

Procedure

To fix one or more columns, proceed as follows:

Click the right mouse button on the header of the column that is the column furthest to the right of the columns you want to fix.

Choose Fix to column.

To undo a column fix, proceed as follows:

Click the right mouse button on a column header.

Choose Remove fix.

Alternative procedure in full screen mode

In full screen mode, you have the option of activating the function using the menus:

Select the header of the column that is the column furthest to the right of the columns you want to fix.

Choose Settings ® Column ® Fix to column.

To undo a column fix, proceed as follows:

Click the right mouse button on a column header.

Choose Settings ® Column ® Remove fix.

Or

In field catlog u can use FIX_COLUMN.

Fix_column (fix column): This parameter is used to fix certain columns in the output. All columns to be fixed must have this flag, starting from the left. If a column without this flag is output, only the columns to the left of this column are fixed. The user can change the column fixing interactively.

Value set: SPACE, 'X'.

'X' = column fixed (does not scroll horizontally).

Or use alv list display

Regards,

Jagadish

3 REPLIES 3
Read only

Former Member
0 Likes
528

Hi,

Fixing Columns

Use

If you want to ensure that certain columns are always displayed even if the user scrolls down, you must fix the columns.

Procedure

To fix one or more columns, proceed as follows:

Click the right mouse button on the header of the column that is the column furthest to the right of the columns you want to fix.

Choose Fix to column.

To undo a column fix, proceed as follows:

Click the right mouse button on a column header.

Choose Remove fix.

Alternative procedure in full screen mode

In full screen mode, you have the option of activating the function using the menus:

Select the header of the column that is the column furthest to the right of the columns you want to fix.

Choose Settings ® Column ® Fix to column.

To undo a column fix, proceed as follows:

Click the right mouse button on a column header.

Choose Settings ® Column ® Remove fix.

Or

In field catlog u can use FIX_COLUMN.

Fix_column (fix column): This parameter is used to fix certain columns in the output. All columns to be fixed must have this flag, starting from the left. If a column without this flag is output, only the columns to the left of this column are fixed. The user can change the column fixing interactively.

Value set: SPACE, 'X'.

'X' = column fixed (does not scroll horizontally).

Or use alv list display

Regards,

Jagadish

Read only

Former Member
0 Likes
527

Use ALV type List display

Read only

Former Member
0 Likes
527

hi,

refer teh pgm SAPLSLVC_FULLSCREEN

1. Colwidth_optimize (1) TYPE c: This parameter optimizes the length of the different columns in the output. The width of the different col. now depends on the max. Length of the data in the column.

Value set: SPACE, 'X'

'X' = optimizes the column width so that all contents are displayed completely.