‎2006 Dec 08 10:18 AM
Hi,
I am using AL_LIST_DISPLAY FM to display output. I have added selecta all and deselect all buttons to the application tool bar.
Output contains the checkboxes and if i press selall i need to select all the records and vice versa.
i am handling code in user_command.
case sy-ucomm.
When 'SAL'.
itab-chbox = 'X'.
modify chkbox where chbox = ' '.
sy-lsind = 0.
perform display_data.
endcase.
But select all and deselct all functionality is not still working.
Selecting all checkboxes but when i press back..its going to the previous list,
its not coming to basic list.
Can any one pls help with SAL and DSAL functionality with ALV using functionmodule not by using grid_containers.
Thanks in advance
‎2006 Dec 08 1:27 PM
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.
‎2006 Dec 08 1:27 PM
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.