2007 Mar 16 7:42 AM
Hi,
i want to select the lines in table control and then want to delete that line.
for selection, i set the property of table control for line selection.
but how can i know that this line is selected and then proceed further.
Rsgards,
Sonika
2007 Mar 16 7:44 AM
suppose you have set itab-mark field which is char 1 as line selection field then loop at itab where mark = 'X'.
<delete the line >
endloop.
or delete itab where mark = 'X'.
in the pai of the screen for the perticular button press.
regards
shiba dutta
2007 Mar 16 7:45 AM
hi Sonika,
refer these programs for the same
RSDEMO_TABLE_CONTROL
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
RSDEMO_TABLE_CONTROL
RSDEMO02
Regards,
Santosh
2007 Mar 16 7:59 AM
Hi,
In table control properties u will find a option like cell select that one.
give name for that cell .
ex:- if cell name is sell.
<b>loop at itab.
if sell = 'X'.
delete.
endif.
endloop.</b>
Regards.
Francis.
Reward if useful.
2011 Jan 21 7:53 AM