2009 Jan 19 8:57 AM
Hi,
I have 3 text boxes and 2 text areas.When the screen opens as soon as when we give t.code it will point the cursor in the first text box.When i press the tab means it will go to the next text box.
But after it reaching the 3rd text box.It is pointing to the text area.But i need a short cut key which will take the cursor to the next text area.
How to do this.Please help me to solve this
Hi,
To set the cursor position dynamically, use the following statement in an ABAP dialog module in
the PBO event:
SET CURSOR FIELD <f> [OFFSET <off>].<f> can be a literal or a variable containing the name of a screen element. You can use the
OFFSET addition to place the cursor at a particular point within an input/output field.
Regards
Abhinab Mishra.
2009 Jan 19 9:06 AM
2009 Jan 19 9:21 AM
Hi,
To set the cursor position dynamically, use the following statement in an ABAP dialog module in
the PBO event:
SET CURSOR FIELD <f> [OFFSET <off>].<f> can be a literal or a variable containing the name of a screen element. You can use the
OFFSET addition to place the cursor at a particular point within an input/output field.
Regards
Abhinab Mishra.
2009 Jan 19 9:23 AM
2009 Jan 19 9:31 AM
Hi Ramya,
This is a frequently encountered problem and SAP has given various events ex for setting the cursor position dynamically, we have
SET CURSOR FIELD <screen_element> [OFFSET <offset>].
in the PBO field since it gets triggered before any user interaction.
<screen_element> is either a literal or a variable having the name of a screen element.
For ex: if you want to place the cursor at a point w r t an i/p or o/p field
we use <offset> .
Thanks and Regards
Srikanth.P.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |