‎2015 Oct 05 12:47 PM
Hi Experts,
I have the following requirement ...
- in an ALV you can select severals rows, press a button for a Special processing and when the processing is done, the selected rows should be automatically deselected.
How can I manage the deselection?
Can you please help? Thanks!!
Monika
‎2015 Oct 05 1:02 PM
Depending on ALV tool :
Regards,
Raymond
‎2015 Oct 05 12:50 PM
HI,
Are you creating ALV using function or classes?
THanks
NIshant
‎2015 Oct 05 12:56 PM
‎2015 Oct 05 1:02 PM
Depending on ALV tool :
Regards,
Raymond
‎2015 Oct 05 1:03 PM
Are you referring to a custom developed program? If yes, in case you are using ALV functions you need to:
Both of the above in the subroutine used to implement the user actions (i.e., the one defined the the i_callback_user_command parameter of FM REUSE_ALV_GRID_DISPLAY).
For example, if BOX is the name of the field (you will find it in a statement like ls_layout-box_fieldname = 'BOX':
loop at itable where box eq 'X'.
itable-box = space.
modify itable transporting box.
endloop.
ps_selfield-refresh = 'X'. (where selfield is the name of the import parameter of type slis_selfield)
‎2015 Oct 05 1:06 PM
Hi Monika,
Use following codes..
refresh lt_rows.
CALL METHOD (Here name your Grid)->set_selected_rows
EXPORTING
it_index_rows = lt_rows.
Hope it would solve your problem.
Thanks
Srimanta