In SAP R/3 version 40B !
Is there an alternative way to do this ?
This is what I do:
I create alv list via REUSE_ALV_LIST_DISPLAY with custom push button and user_command form.
When the user marks a line and push the pushbutton the user_command form is executed - and the internal table is modified.
To update the screen i set the flag refresh in this way:
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
rs_selfield-refresh = 'X'.
However this refreshes the complete list including sort, subtotals etc.
If the sorting defined by the user is not on unique key, the sorting is partly random and when the list is re-sorted the sorting order may change. This can be very confusing.
An other problem is by very large lists the load/refresh can be very slow. This means that a very small change of one list line can have a very long response time.
Thomas Madsen Nielsen