on 10-03-2008 3:48 PM
I wanto set focus when user navigates from one ui element to another ui element using 'tabkey' from the keyboard.
i get to know we can use
view->request_focus_on_view_elem( lv_v_elem ).
this can be code in modifyview.
but when i use 'tabkey' modifyview doesn't get trigger then how shall i handle.
one more thing is i am also using interactive forms, after user fills the last field in the interactive form(can be 2,3 pages) then he press tab the control should go to wd ui element( eg: save or some other ui element on the screen).
please let me know.
Thanks,
Mahesh.Gattu
Hello,
I think you can use this interface to deal with focus: if_wd_view_controller
coding:
lo_view_contr->request_focus( EXPORTING context_element = lo_element
attribute = 'MATNR' ).
You can write this piece of code in WDDOMODIFYVIEW.
But there must be some event triggered when you use tabkey.May be it can be achieved using event handling.
Cheers,
Bharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes,Thomas you are right i can understand this.
But my requirement is like i am having an interactive form element on my view with other UI elements of webdynpro like input fields and buttons.
i need to set focus of the cursor to one of the ui elements on view (Button etc ) when user enter the last field of the interactive pdf form.
please guide how shalli acheive this.
user is looking for friendly Navigation instead of Mouse.
yes i came to know from your threads like if we can have the Netweaver 7.0 wiht Ehp1 we can have hotkeys.
if is there any alternate way please guide me.
one more thing i have already posted reagrding BRF implementations (Business Rule Frame Work).
we have given one RFP from sap to implement the BRF, i don't have much idean on it how should i call the BRF object from webdynpro request you to put more light on it.
i hope we can create BRF objects using BRF transaction code.
Thanks,
Mahesh.Gattu
>if is there any alternate way please guide me.
There is no alternative for you. There is not framework support for an event on Tab (even in EnhP1). You need a server event in order to set the focus. You would need to have an inputfield and the user press enter (and have the onEnter event registered) or have a button or linkToAction with event to trigger the server event to set the focus. It is true in Enhp1 you could tie a keyboard combination to a button event to trigger the focus. That is the closest you can get.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.