‎2009 Jan 19 11:53 AM
Hi there ABAP ers
I've got a problem with tableview object. In the screen there are 7 rows visible, but You can scroll tableview object for further lines.
I use
GET CURSOR LINE idx .
DELETE itab INDEX idx .
when I set cursor in 1st line - everything is ok, first row of itab is deleted.
... but when I scroll tableview object downwards, then set cursor in 1st VISIBLE row in the screen (but it's not a 1st row of itab, in itab it has l 8th position) GET CURSOR loads '1' to idx, effect is that I'm losing 1st itab row, not 8th as I wanted
That functionality looks really poor Please tell me how to solve that problem?
Edited by: Piotr Wojciechowski on Jan 19, 2009 12:53 PM
‎2009 Jan 19 12:32 PM
check TableViewName-top_line
top_line + cursor should give actual row number.
‎2009 Jan 19 12:03 PM
I don't remember the exact syntax, but there is another parameter which tells seq. no of data in the first row & last row.
‎2009 Jan 19 12:12 PM
vivek amrute
could You express more precisely?
Do I get it properly? Do I NEED to develope that functionality of tableview? Is't it some built-in functionality?
‎2009 Jan 19 12:16 PM
Hi,
When you press page down add 7 to the idx.
Regards,
Manoj Kumar P
‎2009 Jan 19 12:20 PM
Manoj Kumar
I'm not pressing buttons, I'm just using right tableview scrollbar.
‎2009 Jan 19 12:32 PM
check TableViewName-top_line
top_line + cursor should give actual row number.