cancel
Showing results for 
Search instead for 
Did you mean: 

Set cursor Focus on inputfield in table row?

Former Member
0 Kudos

Hello,

I have the following question:

Is it possible to set cursor focus on an inputfield in a wd table? If yes, how?

Thanks in advance.

Kind Regards,

Robin

Accepted Solutions (0)

Answers (2)

Answers (2)

ChrisPaine
Active Contributor
0 Kudos

Hello Robin,

sorry only to half answer...

I'd suggest yes it is possible - because when you raise an error and specify the context element and attribute concerned - the error message can link the user directly to the relevant input field of the table.

Now - how you do that... Sorry I've not had the need to do it (yet) so not checked.

Perhaps using the standard error handling framework might be enough to highlight and direct the user to the field?

Cheers,

Chris

Former Member
0 Kudos

Hi,

we generally use REQUEST_FOCUS_ON_VIEW_ELEM for setting the cursor on particular

field.

Please check this link

Regards and Best wishes.

Former Member
0 Kudos

Hi,

I know about the REQUEST_FOCUS_ON_VIEW_ELEM , i use it to set focus on an inputfield on the view and it works.

But when i try to set focus in a table it doesn't work...

Kind Regards,

Robin

Former Member
0 Kudos

Hi,

Check this link

Regards and Best wishes.

Former Member
0 Kudos

Hi Kiran,

This is Java Web Dynpro? Would this also work in ABAP Web Dynpro?

Thanks in advance.

Kind Regards,

Robin

Former Member
0 Kudos

HI,

Did you try with IWCI_SALV_WD_TABLE method SET_FOCUS?

Regards and Best wishes.