cancel
Showing results for 
Search instead for 
Did you mean: 

How to set focus on a specific UI field at the start of an application?

Former Member
0 Kudos

Hello Web Dynpro ABAP experts,

how can I set the focus/cursor on a specific UI (input) field at the start of an application?

Thanks and best regards,

Oliver

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Oliver,

You could use the method REQUEST_FOCUS_ON_VIEW_ELEM of if_wd_view.

Regards

Anurag Chopra

Former Member
0 Kudos

Hello Anurag,

thanks for your answer, this is what I was looking for.

Regards,

Oliver

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I would suggest we don't play with focus.

Handling the focus manually will go against the product standard Accessibility

Regards

Manas Dua