2023 Jul 20 8:40 AM
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.
2023 Jul 20 9:32 AM
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.