Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

table control line selection

former_member632991
Active Contributor
0 Kudos
405

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

4 REPLIES 4

Former Member
0 Kudos
78

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

Former Member
0 Kudos
78

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

0 Kudos
78

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.

former_member632991
Active Contributor
0 Kudos
78

.