<?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: Problem in GET CURSOR LINE when we scroll down on Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-get-cursor-line-when-we-scroll-down-on-table-control/m-p/6611035#M1438953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the TOP_LINE field of your control field of your table control. And the simple maths to know the record in your internal table would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current_Line = &amp;lt;tbctrl&amp;gt;-TOP_LINE + &amp;lt;Get Cursor line&amp;gt; - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then read your internal table with the internal Current_Line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2010 10:51:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-03T10:51:45Z</dc:date>
    <item>
      <title>Problem in GET CURSOR LINE when we scroll down on Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-get-cursor-line-when-we-scroll-down-on-table-control/m-p/6611034#M1438952</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 taken some fields on Table Control for double click action...it is similar functionality as hotspot operation on ALV&lt;/P&gt;&lt;P&gt;To achieve this i am using GET CURSOR LINE statement....due to it i am able to read correct line from my internal table and further using itab values i can call subsequent transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when we scroll down on table control then 'Get cursor' is returning me line no corresponds to visible lines of table control....as i see this line no is not related with Itab row index...m getting wrong results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also i have tried using 'GET CURSOR VALUE' in PAI module but its not returning any value in my char variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything i missed out regarding syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 10:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-get-cursor-line-when-we-scroll-down-on-table-control/m-p/6611034#M1438952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T10:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in GET CURSOR LINE when we scroll down on Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-get-cursor-line-when-we-scroll-down-on-table-control/m-p/6611035#M1438953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the TOP_LINE field of your control field of your table control. And the simple maths to know the record in your internal table would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current_Line = &amp;lt;tbctrl&amp;gt;-TOP_LINE + &amp;lt;Get Cursor line&amp;gt; - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then read your internal table with the internal Current_Line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 10:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-get-cursor-line-when-we-scroll-down-on-table-control/m-p/6611035#M1438953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T10:51:45Z</dc:date>
    </item>
  </channel>
</rss>

