cancel
Showing results for 
Search instead for 
Did you mean: 

inputField focus issue in ECC 6.0

lisa_miller3
Participant
0 Kudos

We are upgrading from 4.7 to ECC 6 - I have a BSP app which is behaving differently in ECC 6. When tabbing between inputFields within an iterator, the first tab will place the cursor focus around the inputField, then the second tab will place the focus inside the inputField. You cannot start typing into the inputField until the 2nd tab. This is very annoying and confusing to the user. Is there anyway to change this behavior so that the cursor focus moves inside the field on the first tab? This does not seem to happen with inputFields which are not within an iterator. This does not happen with 4.7. Any insight would be greatly appreciated.

Lisa

Accepted Solutions (1)

Accepted Solutions (1)

raja_thangamani
Active Contributor
0 Kudos

Look at the below Blog Part i & II...

<a href="/people/raja.thangamani/blog/2007/02/08/accomplishment-of-tab-and-auto-tab-in-bsp-part-ii Tab</a>

It will help you to set the focus on tableview cells..

<i>*Reward each useful answer</i>

Raja T

Answers (2)

Answers (2)

lisa_miller3
Participant
0 Kudos

Found OSS NOTE 1014282 - "BSP: text inside the table cells is not marked" which addresses problem where "The text of editable cells inside a table is not marked when the 'tab' key is pressed." Applied note, but did not fix problem.

I copied the 4.7 version of JavaScript function sapUrMapi_triggerFocus() from file sapUrMapi_ie6.js into my own JS file. This fixed the double-tab problem in most cases. I still have one screen that is not working correctly. Has anyone else determined all JS functions which must be overridden to correct this problem? There are numerous focus functions which have been changed.

Thanks,

Lisa

raja_thangamani
Active Contributor
0 Kudos

I would recommand not to change SAP JS file. Becos all the JS function gets called from BSP Elements. BSP Elements generates those code at runtime. When you go for upgrade it may cause you so much of problem. Please verify the blog which I mentioned to take care Tab issue..

Raja T

lisa_miller3
Participant
0 Kudos

Raja,

Thanks for your reply. But I have about 9 different data screens, and do not wish to hard-code the tabbing via javascript for each one. This seems like alot of work to make tabbing to the next field work correctly (like it does in any normal HTML page). I would like to be able to tab thru all data entry fields within my iterator, moving to the next field with only one TAB. This works outside of an iterator, and works in previous versions of SAP. But I have to TAB twice now to get to the next field. Is there a new parameter on the inputField or Table definition which might override this behavior? I can't imagine any situation where I would want to TAB to the cell holding the inputField, rather than to the inputField itself. Has anyone else encountered this behavior?

Thanks,

Lisa

raja_thangamani
Active Contributor
0 Kudos

Lisa,

YOu no need to make lots of coding. Just u need to configure the custom table. All you need to do is just copy the code from Blog & configure the table as per ur needs..

Raja T