I'm using function module REUSE_ALV_GRID_DISPLAY to display an ALV, where I added two buttons. Those buttons will take a specific action, that I'm managing in USER_COMMAND form, and after they will update the ALV grid.
I'm using the following code to refresh the alv grid:
rs_selfield-refresh = 'X'.
rs_selfield-col_stable = 'X'.
rs_selfield-row_stable = 'X'.
This all works fine to refresh the alv grid, but strange behaviour happens: the alv column names are changing from the data element short text to the data element long text.
Any ideas why this is happening?
Thanks in advance.