Hi Mihaela,
I am facing an issue which i would like to mention below.
I am displaying a ZTABLE data by using an ALV GRID,in the GRID where I have a check box option to DELETE the selected rows..But the problem what I am facing is "If I select the multiple records by using the check box option and then when I tried to DELETE **only one record is deleting**..
I am providing my code below....Please help me out...
WHEN 'DELETE'.
READ TABLE t_zbacklog INTO wa_zbacklog INDEX rs_selfield-tabindex.
DELETE zbacklog FROM wa_zbacklog.
IF sy-subrc = 0.
MESSAGE 'Data Deleted successfully, Please Refresh it' TYPE 'I'.
ENDIF.
*******and this is how I created the check box in Field catalog********
w_fcat-col_pos = 0.
w_fcat-tabname = 'T_ZBACKLOG'.
w_fcat-fieldname = 'CHKBX'.
w_fcat-checkbox = 'X'.
w_fcat-edit = 'X'.
w_fcat-outputlen = 2.
APPEND w_fcat TO t_fcat.
CLEAR w_fcat.
****************************************************************************
Is it possible if I do like set up a colour for the selected rows and then my DELETE action for DELETING THE SELECTED RECORDS???
Will you please help me out of this issue as it HIGH PRIORITY Report for me.
Best Regards,
Naveen.