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

Cursor position

Former Member
0 Likes
666

Every time I enter a value in the Editable ALV field and press enter, the cursor runs back to the first cell .I want the cursor to remain in the present cell after the enter. I am using ALV with objects.

How can this be made possible.

Thank you

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
628

Hello Krish,

I guess you can use set cursor command in order to acheive this.

please check the documentation and use this in PBO.

Thanks

Seshu

5 REPLIES 5
Read only

Former Member
0 Likes
629

Hello Krish,

I guess you can use set cursor command in order to acheive this.

please check the documentation and use this in PBO.

Thanks

Seshu

Read only

0 Likes
628

Hi Seshu

Well , my situation is that , The ALV container is in a dialog screen. I want the cursor to be at the cell which was edited last , rather than running back to the first cell. How to do this.

Read only

Former Member
0 Likes
628

Hi Krish,

Use the method CL_GUI_ALV_GRID >set_scroll_info_via_id

in the PBO after receiving the scroll info in PAI through the method get_scroll_info_via_id

Message was edited by:

Rajesh

Read only

Former Member
0 Likes
628

Hi,

Forst you need to find the Cursor pisition based on your Click, you can use the GET CURSOR <FIELD> to get the cursor position, while you coming back to the you can set the Cursor position using the same field, you can use the SET CURSOR <FIELD>

Regards

Sudheer

Read only

0 Likes
628

My output screen is controlled in class , so I am not able to use the SET CURSOR FUNCTIONALITY , is there a method hat allows you tot set the cursor position .