04-10-2008 2:00 PM
Hi guru's
How do I increase the field name size on the ALV grid.
Please help me...
04-10-2008 2:04 PM
Hi
there is one filed in filedcatalog
for long text
s_fcat-seltext_l = ;text;.
for medium text
s_fcat-seltext_m = 'text'..
for small text
s_fcat-seltext_s = 'text'.
04-10-2008 2:03 PM
Hi,
At the time of buliding the field catalog there is a field called
output_len .you can specify the size there for that particular field.
Regards,
Soumya.
04-10-2008 2:03 PM
Hi Ndumiso,
You can change that at fieldcatalog level
loop at it_fieldcat into wa_fieldcat.
IF wa_fieldcat-fieldname = '<FIELDNAME>'.
wa_fieldcat-outputlen = '40'.
MODIFY it_fieldcat from wa_fieldcat.
ENDIF.
Endloop.
04-10-2008 2:04 PM
Hi
there is one filed in filedcatalog
for long text
s_fcat-seltext_l = ;text;.
for medium text
s_fcat-seltext_m = 'text'..
for small text
s_fcat-seltext_s = 'text'.
04-10-2008 2:27 PM
Hi,
This solution (fieldcatalog-seltext_l) does work but some of the text is really long and ends up not fitting.
Is there any other way?
thanks guys....
04-10-2008 2:33 PM
hi,
In that case increase the output length a bit more
Or
in layout , add this
wa_layout-colwidth_optimize = 'X'.
04-11-2008 5:11 AM
Hi Ndumiso Zwane,
there is no other way to display long text.
for long text it will take 40 char
so we need to adjust our text with in that size
i also tried but i did't find any solution
04-11-2008 10:02 AM