2009 Oct 29 10:39 AM
Hi abapers and experts!
In my module pool screen there is
Date:
Department:
Username:
Password:
I want to place the cursor in Date field: after entering it, the cursor must automatically placed into Department.
Kindly help out as early as possible.
Thanks for ur valuable solutions.
Arvind NN
Hi abapers and experts!
In my module pool screen there is
Date:
Department:
Username:
Password:
I want to place the cursor in Date field: after entering it, the cursor must automatically placed into Department.
Kindly help out as early as possible.
Thanks for ur valuable solutions.
Arvind NN
2009 Oct 29 10:52 AM
Hi,
in PBO
Use SET CURSOR FIELD 'DATE'
if you want this in table control add LINE LINE_NUMBER
is your date field meant for OUTPUT only ...> Check once
For more info Please go through the F1 help
Cheers
Ram
2009 Oct 29 11:07 AM
Thanks for ur reply.
The Date field can be edited also.
Rite now in my program the date field is set to todays date by default.
So When loading screen the cursor has to placed in Department.
User press enter after entering the department field cursor as to move automatically to User name field.
Kindly do me favourable
2009 Oct 29 11:17 AM
Hi,
in PBO
module STATUS_100.
In Program
module STATUS_100.
Use SET CURSOR FIELD 'DATE' ..> Replace DATE with DEPARTMENT
ENDMODULE.
if you want this in table control add LINE LINE_NUMBER
is your date field meant for OUTPUT only ...> Check once
For more info Please go through the F1 help
Cheers
Ram
2009 Oct 30 3:52 AM
Can u explain in brief ... Am using here is in screen field not for table control.
I need the solution make it success
Thanks in advance !!
Arvind nn.
Edited by: arvind nn on Oct 31, 2009 5:54 AM
2009 Oct 31 8:52 AM
Hi Arvind,
Try this way.
<li>Flow logic
<li>Code for module init_100.
PROCESS BEFORE OUTPUT.
MODULE init_100.
PROCESS AFTER INPUT.
Thanks
Venkat.O
*----------------------------------------------------------------------*
* MODULE init_100 OUTPUT
*----------------------------------------------------------------------*
MODULE init_100 OUTPUT.
date = sy-datum. "DATE -screen field for date
" During PBO processing, SET CURSOR statement sets the cursor in the screen layout of the current screen.
SET CURSOR FIELD 'DEPARTMENT'."DEPARTMENT is the screen field for the department
ENDMODULE. "init_100 OUTPUT
2009 Oct 31 10:45 AM
Hi Venkat,
How to get Code as you are getting in this Thread and the Color? I tried using but not getting it. Please do this favour.
Cheers
Ram
2009 Oct 31 5:18 PM
Hello Ram, <li>Select the code and click on < > on the toolbar. Thanks Venkat.O
2009 Nov 03 6:38 AM
hi ,
you dont need any coding for this. this can be done by changing setting in the system.
Click on Customize local layout->options->cursor and tick automatic tabiing. this needs to be done for each user but this is very simple setting and user can do it by themselves.
regards
madhu
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |