2008 Feb 15 4:30 PM
Hy guys
I've a report program that writes a list.
At double click event, in the AT-LINE-SELECTION, the program rewrites the same list whit more details, but in that moment I can't set the cursor position, when the list is longer then the size of the page I want to move the vertical scrolling bar to the second page for example but the instruction "SCROLL LIST TO PAGE pag LINE lin." doesn't work.
Someone know why?
Thanks a lot for the help.
No I'm sorry but doesn't work, maybe I have done an error.
TOP-OF-PAGE DURING LINE-SELECTION.
NEW-PAGE LINE-COUNT 62.
AT LINE-SELECTION.
PERFORM f_print_tree TABLES items_show.
SET PF-STATUS sy-pfkey.
SCROLL LIST TO PAGE 2 LINE 1.
I want start to show my list from second page but doesn't work.
2008 Feb 15 5:16 PM
May be try to use
This is what documentation says
If you do not use an addition, an event block is triggered for event TOP-OF-PAGE during the creation of a basic list. If you use the addition DURING LINE-SELECTION, an event block is triggered for the corresponding events during the creation of details lists
Call NEW-PAGE within line-size & line-count with newer values.
a®
2008 Feb 18 9:22 AM
No I'm sorry but doesn't work, maybe I have done an error.
TOP-OF-PAGE DURING LINE-SELECTION.
NEW-PAGE LINE-COUNT 62.
AT LINE-SELECTION.
PERFORM f_print_tree TABLES items_show.
SET PF-STATUS sy-pfkey.
SCROLL LIST TO PAGE 2 LINE 1.
I want start to show my list from second page but doesn't work.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |