2008 Jun 02 9:11 AM
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..
2008 Jun 02 9:16 AM
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
2008 Jun 02 9:16 AM
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
2008 Jun 02 9:17 AM
2008 Jun 02 9:37 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |