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

Scrolling Vertical Bar

Former Member
0 Likes
510

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.

May be try to use

TOP-OF-PAGE .

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.

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
490

May be try to use

TOP-OF-PAGE .

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.

Read only

0 Likes
490

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.