2007 Dec 12 8:05 AM
i have written ALV Editable program using Oops.
how/where to write code for <b>Delete Row</b> ( - )(minus symbol button)
Regards,
Ramesh.
i have written ALV Editable program using Oops.
how/where to write code for <b>Delete Row</b> ( - )(minus symbol button)
Regards,
Ramesh.
2007 Dec 12 8:20 AM
in the pai
case ok_code
when 'DELE'
...............
end case.
check which function code it returns
in the code
use method get_selected_rows of cl_gui_grid
use its return index to delete a row from your desired internal table comparing index.
iternal table which is send to grid object
2007 Dec 12 9:02 AM
Hi,
Use get_selected_rows
which returns the index of the table which has given for output
and the you write a delete commnad on the table where index = index fretrived from get_selected_rows
and again use set_table_first_display
theis will refresh the screen with new data (i.e with out the deleted row)
Regards,
siva chalasani
2007 Dec 12 9:39 AM
ihave not added <b>delete botton</b> it is default button comming...
so if i write sy-ucomm.
un user command method.. or in PAI
it is not triggering???
2009 Dec 29 4:02 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |