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

Scrolling Issue - ALV- ABAP OOPS!

Former Member
0 Likes
1,828

Hello All,

I have a strange issue with regards to ALV developed using ABAP OOPS. I have more than 25 fields on the output screen.

For each field on output screen, F4 help is possible. So when I scroll to the right most fields on the screen, do a f4 help and fill the value, the alv output screen automatically moves to the left side.

I tried to resolve using SET_SCROLL_INFO_VIA_ID method of the class CL_GUI_ALV_GRID.

CALL METHOD g_alvgrid->set_scroll_info_via_id
    EXPORTING
      is_row_info = v_scrl_row_info
      is_col_info = v_scrl_col_info.

* Set Scroll Position
  CALL METHOD g_alvgrid->set_current_cell_via_id
    EXPORTING
      is_row_id    = v_scrl_row_set
      is_column_id = v_scrl_col_set.

But still moves to the left side.

If you have some ideas on this, pls share the same. Thanks in advance.

Best Regards

Himayat.

Edited by: Himayatullah Md on Nov 25, 2011 4:42 PM

Please use code tags

Edited by: Rob Burbank on Nov 25, 2011 10:49 AM

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
991

If you use [refresh_table_display|http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5531ed30911d2b467006094192fe3/frameset.htm] set paramter is_stable to keep scrollbar on desired position.

Regards

Marcin

2 REPLIES 2
Read only

MarcinPciak
Active Contributor
0 Likes
992

If you use [refresh_table_display|http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5531ed30911d2b467006094192fe3/frameset.htm] set paramter is_stable to keep scrollbar on desired position.

Regards

Marcin

Read only

0 Likes
991

Thanks Marcin, It worked for me

Best Regards

Himayat.