‎2006 Oct 26 3:35 PM
hi,all!
my question is:
how to change the columns' width for alv
the alv's structure is a structure defined in DICC.
thanks!
‎2006 Oct 26 3:42 PM
Hi,
You can still do that.
Get the fieldcatlog details for the Structure using function modules REUSE_ALV_FIELDCATALOG_MERGE.
Once you get the fieldcatalog table change the value <b>fieldcatlog-outputlen</b> .
Thanks,
Ramakrishna
‎2006 Oct 26 3:38 PM
Hi Leo,
Whe you fill the alv field catalog in the program you can specify the output length.
fldcat-outputlen = <number>.
Regards,
Ravi
‎2006 Oct 26 3:43 PM
thanks,Ravi!
i wonder that is there any defierence if the alv's structure is internal table ?
‎2006 Oct 26 3:50 PM
Hi,
There are two basic tables in any ALV reports.
1. Internal table with business data: This whill be showed in the ALV .
2. Interbal table with field properties: This table contains all field properties in a table. Each record in the table represents a field properties in the ALv report.
For example, column lenght, column text, hotsopt..etc.
Thanks,
Ramakrishna
‎2006 Oct 26 3:42 PM
Hi,
You can still do that.
Get the fieldcatlog details for the Structure using function modules REUSE_ALV_FIELDCATALOG_MERGE.
Once you get the fieldcatalog table change the value <b>fieldcatlog-outputlen</b> .
Thanks,
Ramakrishna
‎2006 Oct 26 4:02 PM
Hello Leo,
One u filled the Fieldcat table modify the table for the column u need to change the width with <b>field-OUTPUTLEN = 50.</b>.
If useful reward.
Vasanth