cancel
Showing results for 
Search instead for 
Did you mean: 

Input field focus

Former Member
0 Kudos

Hi,

I have a scenario where a focus is on one of several input fields. I have to click on the button and want to know which field has focus. How do I figure out at runtime which field has focus/cursor on?

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_chadzelek
Participant
0 Kudos

ABAP's "cursor" concept is not implemented in Web Dynpro Java. Personally, I don't believe that a "web user" who has never been exposed to SAP GUI would understand this kind of interaction.

Bye,

Thomas

htammen
Active Contributor
0 Kudos

Hi Andrei,

if you click a button the button has the focus. You don´t get an event if an input field looses focus.

Maybe the onEnter action solves your problem. An event is send to the server if a user presses the ENTER key in an input field.

Regards

Helmut