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

Problem in set focus after pressing insert button

Former Member
0 Likes
598

Hi Team,

In my ALV Editable report, I am trying to place the cursor in one CELL,so i am trying to call method set_current_cell_via_id and after pressing insert button i can see highlighted cell but not able to type there until i go there and click on the cell.

I am facing this issue when i press insert button only. Initially when i run the report i can see focus and also i am able to type in the cell.

am I missing something in case of insert button.Please help me.

Thanks and Regards,

Shakeer Hussain

1 ACCEPTED SOLUTION
Read only

uladzislau_pralat
Contributor
0 Likes
543

Hi Shakeer,

I had a similar issue and resolved it by issuing setting focus it alv control in PBO:

alv->set_focus( alv ).

Regards, Uladzislau Pralat

3 REPLIES 3
Read only

uladzislau_pralat
Contributor
0 Likes
544

Hi Shakeer,

I had a similar issue and resolved it by issuing setting focus it alv control in PBO:

alv->set_focus( alv ).

Regards, Uladzislau Pralat

Read only

Former Member
0 Likes
543

Hi,

It is working but when there is any text in the cell cursor should start from the end of the text but in this case cursor is at first only, how to position the cursor at the end of the text .Please help me.

Thanks and Regards,

Shakeer Hussain

Read only

0 Likes
543

Hi Shakeer,

I think, it is not possible. We a limited to what SET_CURRENT_CELL_VIA_ID method interface provides to us. There are no parameters to influence this behavior.

Regards, Uladzislau