Hi All,
I am using the below code to set the focus on the first row of the table given in the link [How to set focus at UI element ? ] on enter of an event.
data: lr_elem type ref to if_wd_view_element. lr_elem = view->get_element( <ID of the Link to Action field>). if lr_elem is bound. view->request_focus_on_view_elem( lr_elem ). endif.
I am getting "Cannot use NULL reference as object error at view".
Can you please tell me how to get the reference of the "view".
Thanks
Praveen