Skip to Content
0
Former Member
Jan 16, 2013 at 01:54 PM

set cursor in wd table control?

58 Views

Hi Experts,

is there any possibilty to set the Cursor to a specific field in my table control within my webdynpro application?

My idea is: if a user fills in the fields in a line of the table control, to check if all fields, which have to be filled, are filled. and if not, to jump to the first field where something is missing. I want that the Cursor is set in this field, so the user can immediatelly start to fill the field without first clicking in that field.

I hope you understand what my idea is?

I tried already the command:

SET CURSOR FIELD lv_column LINE lv_index.

lv_column = 'TABLE-TABLE_MATNR'

lv_index = 1.

TABLE is the Name of my Table-Control and TABLE_MATNR is the Name of the column like it is named in the layout Editor.

i think the code is working, but the Cursor isn't blinking in the field.

What am i doing wrong? Or is it even another code that has to be used?

Hope for your help!

best regards,

Mathias