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

Doubt in Cusor Position

Former Member
0 Likes
388

Hi All.

Iam Working in Dialogue Program.i have some input fields

like Name, Dep,Age.

and i have one application toolbar like LIST in same screen.when i press LIST button from Application toolbar i want see list of records.i was entered some input in input field ,it need ENTER or press application toolbar twice after input,so need help of Cursor position.please help me.

Regards,

jay

2 REPLIES 2
Read only

Former Member
0 Likes
362

use the

Set Cursor option.

SET CURSOR FIELD 'XXXXXXX '.

where XXXX is the field name.

SET CURSOR FIELD 'LIKP-TRATY'. "Places the cursor to the screen field .

Write the logic after u hit the LIST button to navigate the cursor to the desired screen field

One more variation is

SET CURSOR FIELD 'TC_CNTRL' LINE sy-stepl."if u r using any step loop.

regards,

Vijay

Read only

Former Member
0 Likes
362

Answer for the second question.

To move the cursor to the Input field. you can give it in attrbutes of the screen

There it has a field for cursor position in that you have to give the input field name.

other wise Give the field name to OKCODE .

First question.

You can display list in table form. go to screen painter and use the table control wizard to create table.

Create status and in application tool bar you can create the list button. and in the list button processing give the tablecontrol INVISIBLE = 0.

By

Yuvaram