Use this static method to set the focus to a custom control.
Parameters
Description
Object reference ( TYPE REF TO cl_gui_control ) to the control on which you want to set the focus.