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

Single Click Event in Table Control

Former Member
0 Likes
1,620

Hi,

I had a table control in which only one row selection is possible.My requirement is that, as soon as user selects any row without pressing any ENTER button, i want to execute a BDC code.

Now currently , if i select any row PAI is not getting triggered.So , please suggest some way,by which it can resolved.

Thank You in Advance

Edited by: Mayank Modi on Jul 17, 2010 9:25 PM

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,018

Hi,

If you are using the default selection column then its not possible, instead create a column and drag a button to it, add a function code,name etc.

Now when a row with the button is clicked, get the row by using get cursor command and then read the internal table with the clicked row as index and then proceed.

Hi,

I had a table control in which only one row selection is possible.My requirement is that, as soon as user selects any row without pressing any ENTER button, i want to execute a BDC code.

Now currently , if i select any row PAI is not getting triggered.So , please suggest some way,by which it can resolved.

Thank You in Advance

Edited by: Mayank Modi on Jul 17, 2010 9:25 PM

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,019

Hi,

If you are using the default selection column then its not possible, instead create a column and drag a button to it, add a function code,name etc.

Now when a row with the button is clicked, get the row by using get cursor command and then read the internal table with the clicked row as index and then proceed.

Read only

Former Member
0 Likes
1,018

Hi Keshav,

Thanks for replying. it will help a lot.

Edited by: Mayank Modi on Jul 19, 2010 9:06 AM

Read only

0 Likes
1,018

GET CURSOR LINE .

Search for this statement you will get lot of examples.