<?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: Interactive report - Problem in coming back to the same cursor position in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-problem-in-coming-back-to-the-same-cursor-position/m-p/3234927#M771845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the ABAP command "scroll list"... you will need to hold onto the values of sy-lsind, sy-cpage, and sy-staro prior to the call to your popup, and then after you come "BACK" from this, you will need to re-write your report followed by something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
scroll list index gs_rpt-lsind   "gs_rpt used to hold the previous SY- values
  to page gs_rpt-cpage
     line gs_rpt-staro.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2008 06:27:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-09T06:27:47Z</dc:date>
    <item>
      <title>Interactive report - Problem in coming back to the same cursor position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-problem-in-coming-back-to-the-same-cursor-position/m-p/3234926#M771844</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;I have an interactive report. In the first list of the output, a set of data will be displayed. In that first list, if I double click on a field, it goes to a Custom Screen. There, I have to enter some data and save and come back to the first list of the output. This is what my report does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no issues when the output in the first list is one page. But, when I have the output for more than one page I have a problem. I am going to the 2nd or 3rd page of the output. From there I double click on the field and it goes to the Custom screen. After saving the data in the screen, when I click &lt;STRONG&gt;BACK&lt;/STRONG&gt; button, it displays the report from the first page again instead of displaying the output in the 3rd page where I double clicked.&lt;/P&gt;&lt;P&gt;My requirement is, when I come &lt;STRONG&gt;BACK&lt;/STRONG&gt; from the screen to the list, the cursor should stay in the same page where I double clicked earlier. It shouldn't go to the first page of the list again.&lt;/P&gt;&lt;P&gt;To my knowledge, we have to use a statement in the code after displaying the output.&lt;/P&gt;&lt;P&gt;Could someone tell me how to do this..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Paddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 06:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-problem-in-coming-back-to-the-same-cursor-position/m-p/3234926#M771844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T06:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive report - Problem in coming back to the same cursor position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-problem-in-coming-back-to-the-same-cursor-position/m-p/3234927#M771845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the ABAP command "scroll list"... you will need to hold onto the values of sy-lsind, sy-cpage, and sy-staro prior to the call to your popup, and then after you come "BACK" from this, you will need to re-write your report followed by something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
scroll list index gs_rpt-lsind   "gs_rpt used to hold the previous SY- values
  to page gs_rpt-cpage
     line gs_rpt-staro.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 06:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-problem-in-coming-back-to-the-same-cursor-position/m-p/3234927#M771845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T06:27:47Z</dc:date>
    </item>
  </channel>
</rss>

