2007 Dec 28 6:41 AM
Hi,
Using selector field how can i delete a perticular row from the table control. Only selected rows should be deleted.
please help me.
Shyja
Hi,
Using selector field how can i delete a perticular row from the table control. Only selected rows should be deleted.
please help me.
Shyja
2007 Dec 28 6:44 AM
Hi,
Check this demo program.
demo_dynpro_tabcont_loop_at
Regards,
Pankaj
2007 Dec 28 9:01 AM
Dear Shyja,
Please try the sample code given below:
Case sy-ucomm.
when 'DELETE'.
READ TABLE it_emp INTO wa_emp WITH KEY sel = 'X'.
DELETE it_emp WHERE sel = 'X'.
APPEND wa_emp to it_undo.
endcase.
Here it_emp is the internal table from which the table control is populated. It is always good that you keep a copy of the deleted entries for some time, for that is the internal table it_undo.
Please contact if you don't get the solution with your code.
Regards,
Renjith Michael.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |