<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: avl scrolling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614591#M275392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Darren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you refresh your ALV grid (method REFRESH_TABLE_DISPLAY) set parameter IS_STABLE:&lt;/P&gt;&lt;P&gt;IS_STABLE-ROW = 'X'&lt;/P&gt;&lt;P&gt;IS_STABLE-COL = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2006 11:43:55 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2006-09-27T11:43:55Z</dc:date>
    <item>
      <title>avl scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614588#M275389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the abap class implementation of an alv.  I have a problem that occurs when I enter a cell value and hit return the focus goes back to the first row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. i enter a value on row 50 and the focus jumps back to row 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 11:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614588#M275389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T11:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: avl scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614589#M275390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dareen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the below code in the program (In the handle_data_changed event). It will keep the scroll bar in the same place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concept behind this code is, after the data is changed we will call refresh_table_display. If u call like that the ALV will get refreshed so the cursor goes to the first cell. But before refreshing the ALV get the current cell using &amp;lt;b&amp;gt;get_current_cell&amp;lt;/b&amp;gt; and get the scroll information using &amp;lt;b&amp;gt;get_scroll_info_via_id&amp;lt;/b&amp;gt;. Then refresh the ALV and again set the current cell using &amp;lt;b&amp;gt;set_current_cell_via_id&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: li_rows    TYPE lvc_s_roid,&lt;/P&gt;&lt;P&gt;        li_col     TYPE lvc_s_col,&lt;/P&gt;&lt;P&gt;        lws_row_id TYPE lvc_s_roid,&lt;/P&gt;&lt;P&gt;        lws_col_id TYPE lvc_s_col,&lt;/P&gt;&lt;P&gt;        ls_col     TYPE lvc_s_col,&lt;/P&gt;&lt;P&gt;        ls_num     TYPE lvc_s_roid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD o_alvgrid-&amp;gt;get_current_cell&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      es_col_id = li_col&lt;/P&gt;&lt;P&gt;      es_row_no = li_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD o_alvgrid-&amp;gt;get_scroll_info_via_id&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      es_col_info = ls_col&lt;/P&gt;&lt;P&gt;      es_row_no   = ls_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD o_alvgrid-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD o_alvgrid-&amp;gt;set_scroll_info_via_id&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_col_info = ls_col&lt;/P&gt;&lt;P&gt;      is_row_no   = ls_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lws_row_id-row_id    = li_rows-row_id.&lt;/P&gt;&lt;P&gt;  lws_col_id-fieldname = li_col-fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD o_alvgrid-&amp;gt;set_current_cell_via_id&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_column_id = lws_col_id&lt;/P&gt;&lt;P&gt;      is_row_no    = lws_row_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 11:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614589#M275390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T11:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: avl scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614590#M275391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check out if u r refreshing the ALV in the PAI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 11:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614590#M275391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T11:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: avl scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614591#M275392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Darren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you refresh your ALV grid (method REFRESH_TABLE_DISPLAY) set parameter IS_STABLE:&lt;/P&gt;&lt;P&gt;IS_STABLE-ROW = 'X'&lt;/P&gt;&lt;P&gt;IS_STABLE-COL = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 11:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-scrolling/m-p/1614591#M275392</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-27T11:43:55Z</dc:date>
    </item>
  </channel>
</rss>

