Application Development 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: 

Cursor position in editable ALV list

Former Member
0 Kudos
466

Hi,

i am using editable ALV list for two columns. Now after entering value to the editable field if i want to SAVE and the entry is incorrect , the cursor should come back to the field where i entered the value.

how to do that??

pls reply asap.

Regards,

Divya

6 REPLIES 6

Former Member
0 Kudos
134

You can do something like this :

CALL METHOD cl_gui_control=>set_focus

EXPORTING

control = gv_grid.

0 Kudos
134

can this: be used for the grid ALV where i am not using OO.

CALL METHOD cl_gui_control=>set_focus

EXPORTING

control = gv_grid.

Former Member
0 Kudos
134

hi,

pls refer BCALV_GRID_EDIT

0 Kudos
134

Is this a FM ? i am not getting it in FMs

0 Kudos
134

hi Divya,

its a SAP Standard program ( Report) . Goto SE38 and give this program name

This report illustrates the simplest case of using an editable/noneditable ALV Grid Control.

0 Kudos
134

I am using 'REUSE_ALV_LIST_DISPLAY' for the ALV display, how do i use SET-FOCUS in it? It is giving error of Type not compatible.

Please reply soon