‎2008 Apr 11 11:44 AM
Experts help me please..
I need to create a code for select all button.
without using the method class.
my problem is when I used this kind of code under select all button.my back , exit button is affected.could you help me please on how to change my code because when I delete the perform display_alv_list my checkbox is not being check.please help me guys I dont want to used the method class,
WHEN 'SELECT'.
LOOP AT it_ltak INTO wa_ltak.
wa_ltak-sel = 'X'.
MODIFY it_ltak FROM wa_ltak TRANSPORTING sel.
ENDLOOP.
PERFORM display_alv_list.
‎2008 Apr 11 11:52 AM
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 commands
FORM handle_ucomm USING r_ucomm LIKE sy-ucomm
r_selfld TYPE slis_selfield.
CASE r_ucomm.
WHEN 'SELECT ALL'
modify data internal table .
r_selfld-refresh = 'X'.
endcase.
‎2008 Apr 11 11:52 AM
Use FM, "REUSE_ALV_GRID_DISPLAY", it already has button to "Select All"
‎2008 Apr 11 11:52 AM
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 commands
FORM handle_ucomm USING r_ucomm LIKE sy-ucomm
r_selfld TYPE slis_selfield.
CASE r_ucomm.
WHEN 'SELECT ALL'
modify data internal table .
r_selfld-refresh = 'X'.
endcase.
‎2008 Apr 11 12:34 PM