2008 Jul 08 12:16 PM
Hi everybody,
im trying since hours now. How to get a column ov an ALV Grid to the size of the biggest entry, or to for example to show 400 characters.
I tried this allready:
DATA: alv_layout TYPE lvc_s_layo.
alv-layout-cwidth_opt = 'X'.
and this here:
DATA: alv_fcat TYPE lvc_t_fcat.
LOOP AT ch_alv_fcat ASSIGNING <curr_field>.
CASE <curr_field>-fieldname.
WHEN 'bla'.
<curr_field>-outputlen = 300.
ENDCASE.
The field is an Char200.
Thanks in advance.
2008 Jul 08 1:05 PM
Hi,
Try using UPPER CASE letters for field names and check.
Eg.
WHEN 'BLA'.
<curr_field>-outputlen = 300.
ENDCASE.
Hope it helps you.
Murthy
Hi everybody,
im trying since hours now. How to get a column ov an ALV Grid to the size of the biggest entry, or to for example to show 400 characters.
I tried this allready:
DATA: alv_layout TYPE lvc_s_layo.
alv-layout-cwidth_opt = 'X'.
and this here:
DATA: alv_fcat TYPE lvc_t_fcat.
LOOP AT ch_alv_fcat ASSIGNING <curr_field>.
CASE <curr_field>-fieldname.
WHEN 'bla'.
<curr_field>-outputlen = 300.
ENDCASE.
The field is an Char200.
Thanks in advance.
2008 Jul 08 1:05 PM
Hi,
Try using UPPER CASE letters for field names and check.
Eg.
WHEN 'BLA'.
<curr_field>-outputlen = 300.
ENDCASE.
Hope it helps you.
Murthy
2008 Jul 08 1:14 PM
I was to stupid i had a spelling problem :-/. The WHEN '...' was wrong so the outputlen was never set stupid.
greetings
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |