cancel
Showing results for 
Search instead for 
Did you mean: 

How To Provide Tab sequence

Former Member
0 Kudos

Hello All.

How to provide the tab sequence in WDA applications.

I want to provide the option of moving to various fields by the click of the tab button in my application.

Rite now its going in a random way.

How to achieve this.

Regards,

SampathKumar G

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank You all For Your Help.

shaik_sajid
Active Contributor
0 Kudos

Hi,

Refer this link,this will solve your question

Regards

Sajid

Former Member
0 Kudos

Hi.

I have gone through all the threads that have said about the tab index.

But I am not able to get a solution for my Problem.

In my view there are two input fields.

I want to place the cursor by default on the first input field.

Then on pressing the tab key I want it to be moved to second input field.

Then again on pressing the tab key it should go to the save button which is placed on the view.

Can You please help me in achieving this.

Regards,

SampathKumar G.

shaik_sajid
Active Contributor
0 Kudos

Dear Sampath,

I have never tried this,but from the posts of others i have understood that, first time you can set the focus on first ui element by coding.

lo_view_contr->request_focus( EXPORTING context_element = lo_element
attribute = 'MATNR' ).

You can write this piece of code in WDDOMODIFYVIEW.

Next your requirement is when you press tab it should go to other field, for this the fields should be in sequence (input1,input2,savebutton).

try to put all the 3 fields in a transparent container and then

try 1 ) input1 -matrix data

input2- matrix data

input3 -matrix data

or try 2)

input1 -matrix head data

input2- matrix data

input3 -matrix data

or try 3)

input1 -matrix head data

input2- matrix head data

input3 -matrix head data

among all the above 3 one may work....let me know which one worked for you.

Regards

Sajid

Former Member
0 Kudos

Hello.

All the input fields of my screen are in one transparent container. And the buttons are placed in another transparent container which is placed above the input fields container.

First I need to place the landing tab on the first input field. Then on pressing the tabs the sequence is fine.

But after that the sequence has to go to the buttons which are placed in the transparent container above the input field container.

How to get this done.

Regards,

SampathKumar G

uday_gubbala2
Active Contributor
0 Kudos

Hi Sampath,

Well as how suggested by Shaik the only thing that we can do is it try place the focus on 1 particular UI element. We donu2019t have any special ability to influence the manner in which the focus shifts to, when the user presses tab on the last element inside your container. The reason being that there isn't any event by which we can detect the pressing of the tab key by the user whether its the 1st or the last UI elementu2026The only possible solution for you is to design your layout using the layout manager in such a manner that pressing the tab would follow your desired navigation.

Regards,

Uday