Skip to Content
avatar image
Former Member

ALV Classic Function for refresh

How to refresh a Alv Classic list, Is there any function to refresh the ALV classic list generated through REUSE_ALV_DISPLAY_FUNCTION.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 22, 2004 at 01:14 PM

    Hi,

    You mean fullscreen ALV generated with Function Module

    REUSE_ALV_GRID_DISPLAY?

    If yes, then you can refresh the ALV in the user_call_back routine. This user_call_back routine is the form where you usually operate the user command:

    FORM user_command USING r_ucomm LIKE sy-ucomm

    rs_selfield TYPE slis_selfield.

    CASE r_ucomm.

    .....

    ENDCASE.

    rs_selfield-refresh = 'X'.

    ENDFORM.

    Inside this form routine you can update the ALV output table depending on the users command.

    If you want that your changes will take affect just set:

    rs_selfield-refresh = 'X'.

    Add comment
    10|10000 characters needed characters exceeded