‎2006 Dec 30 10:49 AM
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
‎2006 Dec 30 10:57 AM
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
‎2006 Dec 30 10:59 AM
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