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: 

Set cursor in specific position

Former Member
0 Kudos

Hi everyone,

I have a simple report which display people's name that are arrange alphabetically using the WRITE statement. The names are separated according to the starting letter group and are displayed in a separate page.

I also have push buttons (GUI Status) above the report display

Example:

[ A - C ] [ D - F ] <b> [ G - I ]</b> and so on.. <----


These are push buttons

Group A-C Page 1 of 3

Alvin

Aaron

Barry

Calvin

.. and so on...

Group D-F Page 2 of 3

Dionne

Evans

Elliot

Franky

Francis

.. and so on...

<b>Group G-I</b> Page 3 of 3

Gerald

Harold

Irving

.. and so on...

My question is: How will my cursor go to the title 'Group G-I' when I press the push button [ G - I ]?

There are hundreds of names being displayed and you cannot see the title 'Group G-I' in the screen the moment I run the program unless you press page down. It is in the 3rd page. The problem is the cursor does not go to this title in page 3 when I press the push button.

Thank you in advance!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Please SAP Report 'DEMO_LIST_SET_CURSOR_2 ' which will help you to sovle the problem.

Regards

Nilesh Shete

2 REPLIES 2

Former Member
0 Kudos

Please SAP Report 'DEMO_LIST_SET_CURSOR_2 ' which will help you to sovle the problem.

Regards

Nilesh Shete

Former Member
0 Kudos

use this

at user-conmmand.

case sy-ucomm.

when 'FIRST'.

SCROLL LIST TO PAGE 1.

endcase.

regards

shiba dutta