hi all ...
i have the following request and i'm not far away from a mental breakdown 😉
this is my coding:
CALL METHOD grid->set_table_for_first_display
EXPORTING
i_structure_name = 'IT_DIALOG'
is_layout = ls_layout
it_toolbar_excluding = it_toolbar_excluding
CHANGING
it_outtab = lt_dialog
it_fieldcatalog = lt_fieldcat
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
CALL METHOD cl_gui_alv_grid=>set_focus
EXPORTING
control = dialogbox
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
CALL METHOD grid->set_ready_for_input
EXPORTING
i_ready_for_input = 1.
CALL METHOD grid->refresh_table_display
EXPORTING
i_soft_refresh = 'X'.
lt_col_id-fieldname = 'SERGE'.
lt_row_id-index = '1'.
lt_row_no-row_id = '1'.
CALL METHOD grid->set_current_cell_via_id
EXPORTING
is_row_id = lt_row_id
is_column_id = lt_col_id
is_row_no = lt_row_no.
i want to set the input cursor to the column "SERGE" in my alv grid ... this alv grid only has one row, every time!
what am i doing wrong?
the "SERGE" cell is selected, but the cursor inside is not active/blinking!
TIA!
christian