on 11-16-2009 5:06 AM
hi Yugesh ,
FYI , there are different methods to get and set the Width and Algnment in ALV
SET_WIDTH : Set width of column
GET_WIDTH : Get width of column
SET_H_ALIGN : Set horizontal alignment of elements
GET_H_ALIGN : Get horizontal alignment of elements
declare a variable of type reference cl_salv_wd_column , get the ref of the column and use the above 4 methods for width and alignment
Regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
***Declaration
DATA: lr_col TYPE REF TO cl_salv_wd_column.
Get ref to column whose width is to be set .
lr_col= l_value->if_salv_wd_column_settings~get_column( 'STATUS' ).
***Set width.
lr_col->SET_WIDTH( '80' ) .
I hope it is clear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.