Skip to Content
0
Former Member
Nov 25, 2011 at 03:42 PM

Scrolling Issue - ALV- ABAP OOPS!

837 Views

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