<?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: Table control  -- Current line in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340037#M800644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get cursor&lt;/P&gt;&lt;P&gt;  field cursorfield&lt;/P&gt;&lt;P&gt;  line cursorline&lt;/P&gt;&lt;P&gt;  value cursorvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use cursorvalue instead of cursorline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 17:09:36 GMT</pubDate>
    <dc:creator>former_member191735</dc:creator>
    <dc:date>2008-02-05T17:09:36Z</dc:date>
    <item>
      <title>Table control  -- Current line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340036#M800643</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 trying to read the current line number that is being edited in the Table control using the statement GET CURSOR LINE. However, when I scroll down to the first line of  the next page of the TC, I am getting the line number as '1' instead of '15'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to overcome this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 16:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340036#M800643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T16:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table control  -- Current line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340037#M800644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get cursor&lt;/P&gt;&lt;P&gt;  field cursorfield&lt;/P&gt;&lt;P&gt;  line cursorline&lt;/P&gt;&lt;P&gt;  value cursorvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use cursorvalue instead of cursorline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 17:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340037#M800644</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2008-02-05T17:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table control  -- Current line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340038#M800645</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 this code to the get the current line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: v_sel_line LIKE sy-loopc,&lt;/P&gt;&lt;P&gt;        v_tabix      LIKE sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GET CURSOR LINE v_sel_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  v_tabix = tc-top_line + ( v_sel_line - 1 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;tc will be your table control name.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; v_tabix will have the current line.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Then use READ TABLE with V_TABIX to get the current&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;row value.  &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 17:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340038#M800645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table control  -- Current line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340039#M800646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if the user edits a number of lines? Or edits one line and goes down a few lines? It's best to look at the entire table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 18:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-current-line/m-p/3340039#M800646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T18:03:55Z</dc:date>
    </item>
  </channel>
</rss>

