on 07-21-2008 4:15 PM
In ABAP Dynpro, I have the possibility to set the cursor to a specified input field using the "set cursor" command.
In ABAP Web Dynpro it seems that I always have to place the cursor first using the mouse. Is there an equivalent to "set cursor" in ABAP Web Dynpro?
you can use the following method REQUEST_FOCUS_ON_VIEW_ELEM of IF_WD_VIEW.
data: lv_v_elem type ref to if_wd_view_element.
lv_v_elem = view->get_element( 'INP_PAR_LIFNR' ).
if lv_v_elem is bound.
view->request_focus_on_view_elem( lv_v_elem ).
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.