04-27-2006 2:25 PM
Hello,
I have the problem that a specific column moves to a new position when I refresh oder sort the alv-grid. Thanks.
Regards, Lars.
04-27-2006 2:40 PM
Hi,
do you have define the field catalog yourself ? if yes, do you have check the column col_pos ?
Rgd
Frédéric
04-27-2006 3:19 PM
Hi Sternbergg,
1. Check whether a display variant is activated.
2. Try and inspect your field catalog. Some methods that are triggered when you sort the ALV grid might be modifying the field catalog. Try and correct them.
Regards,
Aniket
04-27-2006 4:58 PM
Hi,
I guess you are using the REFRESH_TABLE_DISPLAY method. Make sure you set the IS_STABLE parameter.
CALL METHOD <ref.var. to CL_GUI_ALV_GRID>->refresh_table_display
EXPORTING
IS_STABLE = <structure of type LVC_S_STBL>
I_SOFT_REFRESH = <variable of type CHAR01>.
Parameter
Meaning
IS_STABLE
If the row or col field of this structure is set, the position of the scroll bar for the rows or columns remains stable.
Regards,
Ravi
Note :Please close the thread if this resolves the issue.