Application Development and Automation 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: 
Read only

hitting tabs in module pool screen

Former Member
0 Likes
1,025

Hi,

I have created a screen for a custom transaction where there are 2 input fields and one pushbutton.

The placement on the screen is that in the first line I have one field and next to it is the pushbutton.

The second input field is on the next line.


<input field 1>    <pushbutton>

<input field 2>

.

The current scenario is that after entering value for "input field 1", the user hits the tab button on the keyboard. This takes the user to the "pushbutton". On hitting tab again, the control comes to "input field 2".

I want to change this. Once the user enters a value in <input field 1> and then presses a tab, the control should go to <input field 2>, and not to <pushbutton>.

We do not intend to change the position of the pushbutton.

Please let me know how this can be achieved.

Regards,

Hi,

I have created a screen for a custom transaction where there are 2 input fields and one pushbutton.

The placement on the screen is that in the first line I have one field and next to it is the pushbutton.

The second input field is on the next line.


<input field 1>    <pushbutton>

<input field 2>

.

The current scenario is that after entering value for "input field 1", the user hits the tab button on the keyboard. This takes the user to the "pushbutton". On hitting tab again, the control comes to "input field 2".

I want to change this. Once the user enters a value in <input field 1> and then presses a tab, the control should go to <input field 2>, and not to <pushbutton>.

We do not intend to change the position of the pushbutton.

Please let me know how this can be achieved.

Regards,

5 REPLIES 5
Read only

RahulKeshav
Active Contributor
0 Likes
757

try to use SET CURSOR....

Read only

RahulKeshav
Active Contributor
0 Likes
757

check...

Read only

Former Member
0 Likes
757

Hi,

You can put a box around field_1 and field_2

Regards,

Klaus

Read only

Former Member
0 Likes
757

Hi David

As Per my knowledge it depends how you have taken your controls on the screen.

like

when you drag and drop the controls on the screen there sequesnce is defined then

so If you have taken your input output control first and then the button and after that many other controls.

In this case whenever you will hit the TAB the cursor will go to the control which was secondly dragged to the screen.

in your case it might be possible that you have taken one input output box first and then the button and after that the secodn input output box.

so the sequence is 1. input output box.

2. button.

3. input output box.

so whenever you will hit the tab your cursor will go to first input box and then on button and then on second input box.

try to change the sequence or again drag and drop the control in a sequence

I hope it is clear to you

thanks

Lalit Gupta

Read only

Former Member
0 Likes
757

Hi,

you need to use set cursor.

check in the PAI module.

if not <input field1> is initial.

SET CURSOR FIELD <input field2>

endif.

i tried putting the fields in the box and it works.

it does not depend on the sequesnce in which the fields have been dragged and dropped on the screen.

regards,

Sakshi