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: 

get table control data on PROCESS ON VALUE-REQUEST

0 Kudos
216

Hi there,

I'm using dialog with table control .

to modify the line after search help (in module ON VALUE-REQUEST) i need to know the line nbr in the tc.

when i'm not in the first page of the tc and using "GET CURSOR LINE" , i got the line nbr

in current screen , not of the tc .

I tried using f/m "DYNP_GET_STEPL" , no good..

Does anybody knows other way to do this ?

Thanks,

Koby.

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos
177

When you use a table control, you have a line like this:

CONTROLS <contrl> TYPE TABLEVIEW USING SCREEN <screen no>.

<contrl> is a variable of type CXTAB_CONTROL, which contains TOP_LINE = index of internal table corresponding to the top line.