Skip to Content
0
May 14, 2008 at 07:38 PM

How to set focus at UI element ?

349 Views

Hello,

I've been trying to set focus at UI element(Input Field) but i can't get no results. When i click the button, the method is executed but nothing happens.

Here is my code:

DATA: l_api TYPE REF TO if_wd_view_controller.

l_api = wd_this->wd_get_api( ).

l_api->request_focus(

context_element= Elem_I_Zceldes_Desenv_Fun

attribute = 'BNAME' ).

Can someone help me?