Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV Grid editing cell cursor position

helmut_sieberer
Participant
0 Likes
981

Hello !

i hope i can get the answer to my question here.

i have an alv-grid with editable cells

when i click in one cell (it is a textfield) where there is no more written text it marks the hole cell and when i start to write, it overwrites the whole text.

i would like the cursor to be placed at the end of the field in this case.

when i click in the cell where there is written text it is ok - it puts the cursor to the clicked position.

thanks very much for your help

Helmut

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
685

Hello Helmut

I am quite sure that we do not have any ABAP means to influence this behaviour of the cursor in an editable ALV grid cell. Why? Because the control is a frontend component. The ABAP program does not know anything about the cursor position while editing the cell. Only after calling method go_grid->CHECK_CHANGED_DATA the ABAP report will be informed (by the control framework) that something has changed (at the frontend).

Regards

Uwe

Hello !

i hope i can get the answer to my question here.

i have an alv-grid with editable cells

when i click in one cell (it is a textfield) where there is no more written text it marks the hole cell and when i start to write, it overwrites the whole text.

i would like the cursor to be placed at the end of the field in this case.

when i click in the cell where there is written text it is ok - it puts the cursor to the clicked position.

thanks very much for your help

Helmut

3 REPLIES 3
Read only

uwe_schieferstein
Active Contributor
0 Likes
686

Hello Helmut

I am quite sure that we do not have any ABAP means to influence this behaviour of the cursor in an editable ALV grid cell. Why? Because the control is a frontend component. The ABAP program does not know anything about the cursor position while editing the cell. Only after calling method go_grid->CHECK_CHANGED_DATA the ABAP report will be informed (by the control framework) that something has changed (at the frontend).

Regards

Uwe

Read only

sudhakar196
Participant
0 Likes
685

Hi, i am also facing same probelm.

after call method sender->refresh_table_display.

i am using

call method sender->set_current_cell_via_id

exporting

is_row_id = l_rowid

is_column_id = l_colid.

this will simply select the cell. i am not able to see curser in end or front of the cell.Can anybody please suggest me how to it.

Thanks

Sudhakar

Read only

Former Member
0 Likes
685

Hi,

Check the following link:

http://sapdev.co.uk/reporting/alv/alvgrid_editable.htm

Regards,

Bhaskar