on 2024 Mar 11 4:47 AM
Hello,
I have a requirement when i click the Refresh button The data in ALV report should be refreshed.
Which is not working can someone Help me with it.
Below is My Code:
CLASS lcl_handel_events IMPLEMENTATION.
METHOD user_command.
DATA: gt_final TYPE STANDARD TABLE OF zfit
SELECT *
FROM zfit
INTO TABLE gt_final.
gt_rows = lr_selections->get_selected_rows( ).
CASE e_salv_function.
* WHEN 'GT'.
* BREAK-POINT.
* ENDLOOP.
lo_gr_alv->refresh( refresh_mode = if_salv_c_refresh=>full ).
ENDIF.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'REFRESH'.
lo_gr_alv->get_selections( ).
lo_gr_alv->refresh( ).
ENDCASE.
ENDMETHOD.
ENDCLASS.
Request clarification before answering.
User | Count |
---|---|
71 | |
18 | |
10 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.