Application Development 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: 

automatic tabbing at end of field in my dynpro

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

12 REPLIES 12

Former Member
0 Kudos

Hi,

I guess you could play with statement SET CURSOR FIELD... in your PBO.

Kr,

Manu.

0 Kudos

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

0 Kudos

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.

0 Kudos

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

0 Kudos

Can I activate a sort of 'EXIT-COMMAND' on INPUT/OUTPUT field in way to get access to PBO and use strlen command?

0 Kudos

No

Only on the radiobutton and checkbox is possible to assign a function code

Max

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

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>'.

Former Member
0 Kudos

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

0 Kudos

Hi Rob

You're right, but that seems to be one of things Giangi doesn't want to do

Max

0 Kudos

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