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

multiple row selection in table control...

Former Member
0 Likes
2,289

hi...

i can select one row from table control and display in a list..

the same thing i want to do for multiple lines...

thanks..

3 REPLIES 3
Read only

Former Member
0 Likes
861

hi,

in the table control attributes set selection as multiple

cheers,

sasi

Read only

Former Member
0 Likes
861

Hi,

In the table control attributes, there is an option to choose the type of the <b>line selection</b> ( none, single, multiply).

Svetlin

Read only

Former Member
0 Likes
861

use the table control wizard to create a table control on the screen...while going thru the steps, there will be a screen which asks you about the selection column (this is a single character field in your internal table). on this step there is a selection option for single/multiple selection of rows....

to access the selected records, use...

loop at itab where sel eq 'X'.

....

....

endloop.

where

<b>itab</b> is the underlying internal table for table control and <b>sel</b> is the name of the selection column

or if u already have a table control on screen...double click and open the properties window...there u can see radio buttons None, Single and Multiple for line selection. choose the multiple option.

rgds,

PJ

Message was edited by: Priyank Jain