<?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 ALV Row position in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532234#M1071126</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 have an ALV Grid display. I am using hot-spot to uncheck all lines pertaining to a particular id even if we click it on one check-box. Once this is done the grid is refreshed and the control goes back to the first line. And I have to scroll down all the way to find where the cursor was last there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        READ TABLE i_output INTO wa_output INDEX p_selfield-tabindex.&lt;/P&gt;&lt;P&gt;        CHECK sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        l_zuonr = wa_output-zuonr.&lt;/P&gt;&lt;P&gt;        IF wa_output-check_box EQ 'X'.&lt;/P&gt;&lt;P&gt;          CLEAR wa_output-check_box.&lt;/P&gt;&lt;P&gt;          MODIFY i_output FROM wa_output TRANSPORTING check_box&lt;/P&gt;&lt;P&gt;          WHERE zuonr = l_zuonr.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          wa_output-check_box = 'X'.&lt;/P&gt;&lt;P&gt;          MODIFY i_output FROM wa_output TRANSPORTING check_box&lt;/P&gt;&lt;P&gt;          WHERE zuonr = l_zuonr.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        p_selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to display the Grid with the cursor back to the next line or the same line where it was last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to capture the last cursor position and bring the control there, so the user can start scrolling from there downwards?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Payel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2008 09:55:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-24T09:55:23Z</dc:date>
    <item>
      <title>ALV Row position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532234#M1071126</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 have an ALV Grid display. I am using hot-spot to uncheck all lines pertaining to a particular id even if we click it on one check-box. Once this is done the grid is refreshed and the control goes back to the first line. And I have to scroll down all the way to find where the cursor was last there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        READ TABLE i_output INTO wa_output INDEX p_selfield-tabindex.&lt;/P&gt;&lt;P&gt;        CHECK sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        l_zuonr = wa_output-zuonr.&lt;/P&gt;&lt;P&gt;        IF wa_output-check_box EQ 'X'.&lt;/P&gt;&lt;P&gt;          CLEAR wa_output-check_box.&lt;/P&gt;&lt;P&gt;          MODIFY i_output FROM wa_output TRANSPORTING check_box&lt;/P&gt;&lt;P&gt;          WHERE zuonr = l_zuonr.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          wa_output-check_box = 'X'.&lt;/P&gt;&lt;P&gt;          MODIFY i_output FROM wa_output TRANSPORTING check_box&lt;/P&gt;&lt;P&gt;          WHERE zuonr = l_zuonr.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        p_selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to display the Grid with the cursor back to the next line or the same line where it was last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to capture the last cursor position and bring the control there, so the user can start scrolling from there downwards?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Payel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 09:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532234#M1071126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T09:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Row position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532235#M1071127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in List programming &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get Cursor field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 10:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532235#M1071127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T10:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Row position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532236#M1071128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is simple. use row stable and column stable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;p_selfield-refresh = 'X'.
p_selfield-row_stable= 'X'.  "For Row 
p_selfield-col_stable = 'X'.  " For Coloumn&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 10:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532236#M1071128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T10:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Row position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532237#M1071129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Try with the method:&lt;/P&gt;&lt;P&gt;cl_gui_alv_grid=&amp;gt;GET_SELECTED_ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 10:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532237#M1071129</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2008-09-24T10:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Row position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532238#M1071130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using system field,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;sy-curow-&lt;/U&gt;Vertical cursor position on the screen display of a screen. Counting begins at line 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 10:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-row-position/m-p/4532238#M1071130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T10:02:25Z</dc:date>
    </item>
  </channel>
</rss>

