<?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: Getting Cursor for Table control while scrolling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-cursor-for-table-control-while-scrolling/m-p/7037386#M1500213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare two variables to get line count and line index&lt;/P&gt;&lt;P&gt;data: wrk_linecnt(10),&lt;/P&gt;&lt;P&gt;wrk_lineindx(10). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get cursor line wrk_linecnt.&lt;/P&gt;&lt;P&gt;wrk_lineindx = &amp;lt;table control name&amp;gt;-top_line + wrk_linecnt - 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jun 2010 10:37:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-07T10:37:13Z</dc:date>
    <item>
      <title>Getting Cursor for Table control while scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-cursor-for-table-control-while-scrolling/m-p/7037385#M1500212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am displaying 3 pages of records using table controls,&lt;/P&gt;&lt;P&gt;and when i double click on the record, i have to display some pop up based on the values present in the particular record, &lt;/P&gt;&lt;P&gt;this is done by getting the line number of the record using GET CURSOR LINE and reading the internal table with the index obtained from GET CURSOR LINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine for one page. I am getting problem for more than one pages&lt;/P&gt;&lt;P&gt; i.e. if i have to validate for the 23rd record, it will be the second record in the second page, so i will get line number as 2nd instead of 23rd (using GET CURSOR LINE) and i will read the 2nd record in the internal table instead of reading the 23rd record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will lead to improper pop up messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please let me know how can i catch/get the line number of particular record irrespective of number of pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kavya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 10:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-cursor-for-table-control-while-scrolling/m-p/7037385#M1500212</guid>
      <dc:creator>kavya_2017</dc:creator>
      <dc:date>2010-06-07T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Cursor for Table control while scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-cursor-for-table-control-while-scrolling/m-p/7037386#M1500213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare two variables to get line count and line index&lt;/P&gt;&lt;P&gt;data: wrk_linecnt(10),&lt;/P&gt;&lt;P&gt;wrk_lineindx(10). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get cursor line wrk_linecnt.&lt;/P&gt;&lt;P&gt;wrk_lineindx = &amp;lt;table control name&amp;gt;-top_line + wrk_linecnt - 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 10:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-cursor-for-table-control-while-scrolling/m-p/7037386#M1500213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T10:37:13Z</dc:date>
    </item>
  </channel>
</rss>

