‎2015 Oct 09 12:58 PM
Hello,
I have an issue while scrolling in an ALV-table.
In the layout-settings of the ALV the optimizer is switched to 'X'
The ALV is shown in a pop-up screen of 12 rows.
In the first 20 records of the ALV for a specific column the value contains only short descriptions.
So initial the ALV appears with a little column for this field.
After that the descriptions become bigger and bigger, but not always the column width grows by scrolling.
Sometimes the values are show like 'value....' (with some dots behind)
Do you know how the colomn-width is calculated ?
Kind regards.
‎2015 Oct 09 1:13 PM
cl_gui_alv_grid->get_frontend_layout.
cl_gui_alv_grid->set_frontend_layout.
‎2015 Oct 09 2:27 PM
Hi Ralf,
Can you please explain what you mean with these methodcalls ?
regards
‎2015 Oct 09 2:51 PM
the first will give you the current frontend layout settings, with the second you can write the unmodified settings to the ALV, which results in a recalculaction of cell width, I assume. If not, try to use the set method twice - first with column width optimization flag = space and then again with X.