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: 

How to obtain table control record when using status pushbutton icon

Former Member
0 Kudos

Hi Folks,

I'm working with a table control with a status icon as a push button. I want to know how do I obtain the line of the table when the user clicks on the push button in the table control.

Thanks in advance.

Regards,

Gilberto Li

1 ACCEPTED SOLUTION

Former Member
0 Kudos

When you declare the table control using

CONTROLS tc_item TYPE TABLEVIEW USING SCREEN 200

then the current line would be in tc_item-current_line

1 REPLY 1

Former Member
0 Kudos

When you declare the table control using

CONTROLS tc_item TYPE TABLEVIEW USING SCREEN 200

then the current line would be in tc_item-current_line