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

How to obtain table control record when using status pushbutton icon

Former Member
0 Likes
402

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

Former Member
0 Likes
367

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

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

Former Member
0 Likes
368

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