Skip to Content
0

Select the entire row on handle_data_changed and move the cursor to next field oops ABAP.

Feb 17, 2017 at 02:41 PM

81

avatar image
Former Member

Hello

Hello I have below 3 requirements I done it but facing some process.

I am explain process below.

1.I written method handle_data_changed

I have one editable field SU (AS show in below screen shot ) number when I enter su number first it should select the entire row and move the cursor to next row

But now when I enter the first su number row is getting selected and cursor is moved to next row bit I am unable to enter next row input su number where as if I comment the code select the entered row after entering su number I can easily navigate to next row I can give the input.

code to select entrire row

CALL METHOD obj_alv2->set_selected_rows
EXPORTING
it_index_rows = lt_row
it_row_no = it_row_no
is_keep_other_selections = 'X'
.

code to set the cursor position

CALL METHOD obj_alv2->set_current_cell_via_id
EXPORTING
is_row_id = les_row_id
is_column_id = les_col_id
is_row_no = les_row_no.

when I set cursor I am not able to see cursor blinking

2. I have the cursor on editable field but I am not able to see the blinking cursor on ALV grid

I have developed report using oops ABAP customer container as show below.

I have developed report using oops ABAP customer container as show below.

1-new.jpg (122.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers