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: 

multiple row selection on table control

Former Member
0 Kudos

Hello All,

I have a customer program where,

I have created a global internal table, with a field MARK.

I used this field while generating a table control through wizard, as line selector.

but still i cant select lines in my table control. i ant even select a single line. i dont understand where i am going wrong. can someone help?

I have created a test program, generating the same way inmy test program i can select multiple rows. the only difference between customer program and my test program is , in customer program i have created table control with a subscreen.

I tried searching SDN , but no solution to this.

Thanks in advance

Best Regards,

Amar

7 REPLIES 7

Former Member
0 Kudos

I don't think you can select rows in a table control called inside a sub-screen.

Former Member
0 Kudos

Hi,

I think you did not selected the w/selColum in table control attributes,

then you can select multiple rows and even no need to create a field for that.

if you want to declare field for that, check whether you declear it globally.

Thanks,

Anmol.

Subhankar
Active Contributor
0 Kudos

In the table control you can add one field as check box. To process the multiple rows, checked the checkbox and click any button. Then do the processing in PAI as per ur logic.

Thanks

Subhankar

dhiraj_bhatia1
Explorer
0 Kudos

Make the Table Control as Modal Dialog Box in the Attributes of the Screen then it might work properly.

former_member182040
Active Contributor
0 Kudos

Check demo program demo_dynpro_tabcont_loop_at

In this program u can select mulitple rows in table control and delete selected rows so this demo

program will help u to how to select multiple rows in table control

Former Member
0 Kudos

HI,

In the Screen Painter, set the Column Sel. attribute of the table control to Multiple as opposed to Single. This will allow multi-row

selection and all those rows will have the 'X' in the mark column of the itab.

former_member182371
Active Contributor
0 Kudos

Hi,

have a look at sample reports:

DEMO_DYNPRO_TABLE_CONTROL_1

DEMO_DYNPRO_TABLE_CONTROL_2

If you display the layout of dynpro 100 and display the attibutes of tablecontrol TABLE, you will see that the in attributes

(Line sel.) you have the radiobutton Multiple checked.

Best regards.