on 10-13-2005 5:29 PM
Hi
We've developed an ABAP program that uses an ALV-Grid to display some data for some specific months.
In the ALV-Grid we use sum-columns to sum up the values for the different months.
When I try to set a specific width of this column it is simply ignored, and when I show it through WebGui the columns get so narrow that I can't se the column-headers.
Btw we're using R/3 Enterprise 4.7 and ITS 6.20 patch 19 with hotfix.
Does anybody have an idea?
Cheers,
Jacob Vennervald
Hi,
Make sure CWIDTH_OPT is not set to 'X' in the layout structure (of type LVC_S_LAYO) that is passed to the ALV Grid during SET_TABLE_FOR_FIRST_DISPLAY method call as interface parameter IS_LAYOUT.
Also use OUTPUTLEN of the field catalog structure (LVC_S_FCAT) to set the width for the respective columns.
For ex,
LOOP AT t_fcat ASSIGNING <wa_fcat>.
IF <wa_fcat>-fieldname EQ 'VBELN'.
<wa_fcat>-outputlen = 10.
ENDIF.
ENDLOOP.
Hope this helps..
Sri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.