Application Development and Automation 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: 
Read only

table control line selection

former_member632991
Active Contributor
0 Likes
971

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
Read only

Former Member
0 Likes
644

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

Read only

Former Member
0 Likes
644

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

Read only

Former Member
0 Likes
644

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.

Read only

former_member632991
Active Contributor
0 Likes
644

.