11-08-2011 9:48 AM
HI,
I want automatic tabbing at end of field for my dynpro field hours_start minutes_start hours_end minutes_end that are only of 2 char in dynpro.
E.g. i write 15102030 i want that automatically the dynpro field is
hours_start = 15
minutes_start = 10
hours_end = 20
minutes_end = 30
How can i move the cursor automatically when one of the field is completely filled?
I don't want set with ALT+F12 -> Option why I don't want change other programs.
Gustavo
11-08-2011 3:15 PM
I don't think this can be done through ABAP code, but it can be set in the user settings:
Customize local Layout -> Options... -> Interaction Design -> Keyboard settings
click 'Automatically move focus to next input field on reaching the end of the input field'
Rob
11-08-2011 10:01 AM
Hi,
I guess you could play with statement SET CURSOR FIELD... in your PBO.
Kr,
Manu.
11-08-2011 11:44 AM
I don't want click ENTER on my palmar or keyboard.
I don't want insert hh_start = 20 and click enter or some other button so this is the difference.
I want push automatically to next field at fully of previous value
Excuse me if I don't have explained correctly
11-08-2011 11:51 AM
Hi,
I'm afraid this is not possible for the reason explained by Max...
An if it is, it would be through heavy hacking of the PAI/PBO screen flow, which is of course not to be adviced
Kr,
Manu.
11-08-2011 11:51 AM
No
We've understood what you need......but
You don't want......so you can't...I mean It's not possible wihtout to interact with Gui or Keyboard in order to trigger the PAI
Max
11-08-2011 12:25 PM
Can I activate a sort of 'EXIT-COMMAND' on INPUT/OUTPUT field in way to get access to PBO and use strlen command?
11-08-2011 1:03 PM
No
Only on the radiobutton and checkbox is possible to assign a function code
Max
11-08-2011 10:11 AM
Hi
I don't know if it's possible to do it because it needs to trigger the PAI and that means a command (so a keyboard) has to be done:
for example it can place the cursor in the next field after pressing ENTER, but so it's better to press TAB directly
Max
11-08-2011 10:38 AM
Hi,
for example it can place the cursor in the next field after pressing ENTER, but so it's better to press TAB directly
You're right Max. However, in that case I would go with the ENTER. We can e.g. check in the PBO the length of each field in sequence, with STRLEN, and then set the cursor on the first incomplete field... This way the user only has to press enter to cycle through those fields and will stay on the same field until completely filled.
Well, kind of useless stuff I agree
Kr,
Manu.
11-08-2011 10:17 AM
Hi ,
In SE51 Attributes screen in other attributes sub screen u can enter cursor position .In this field u have to enter cursor position field name. Else u can use 'SET CURSOR FIELD <field name>'.
11-08-2011 3:15 PM
I don't think this can be done through ABAP code, but it can be set in the user settings:
Customize local Layout -> Options... -> Interaction Design -> Keyboard settings
click 'Automatically move focus to next input field on reaching the end of the input field'
Rob
11-08-2011 3:18 PM
Hi Rob
You're right, but that seems to be one of things Giangi doesn't want to do
Max
11-08-2011 3:20 PM
Yes , I added for completeness sake. It's done within the GUI, so don't bother trying to do it outside of the GUI.
Rob