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 report Cursor problem

Former Member
0 Likes
1,578

Hi All,

I am working on ALV report. In that I am displying 20 columns. I am taking the first column for selecting row.

Suppose I have field1, 2 ,3 etc.

when i click on any field it will display the field description popup. It is working fine.After that in that popup, when i cancel it, the cursor is still on the selected field. I need the cursor to goto first column. Can anybody please help me out in this?

Thanks,

Ravi

2 REPLIES 2
Read only

Former Member
0 Likes
1,546

Hi,

Use the following syntax,

SET CURSOR FIELD <fname>.

Thanks,

Bhanu

Edited by: Bhanu P on Feb 3, 2008 6:17 AM

Read only

Former Member
0 Likes
1,546

use set_focus method...

CALL METHOD cl_gui_control=>set_focus EXPORTING control = l_grid.

Regards,

Anil.