<?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: POsitioning Cursor in Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028567#M1169779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should work.  If you've got one existing line on screen, you click on the + button to create a new line (which will be line 2), and you then use SET CURSOR FIELD...LINE... to set FIELD to the field name and LINE to 2, the cursor should go there.  In fact, I've just tried it on one of my screens and that's what it did.  I'm not sure what you mean when you mention scrolling since this should only happen if you've filled up your table control and so clicking on + means that it has to display a new scren.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2009 13:51:14 GMT</pubDate>
    <dc:creator>christine_evans</dc:creator>
    <dc:date>2009-01-07T13:51:14Z</dc:date>
    <item>
      <title>POsitioning Cursor in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028566#M1169778</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 a screen with a text field in the first line, then followed by a table control..I can add new values into the table control when i click the '+' button at the bottom( it is created using wizard).  my requirement is that, whenever i add a new line,the cursor shud be automatically positioned in the first field of that row. I tried with set cursor field line.... but it is not working , probably because the difference in tablecontrol-current_line and actual index when scrolling happens..So the cursor is set to the text field at the top... How can i make this happen??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suzie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 13:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028566#M1169778</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2009-01-07T13:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: POsitioning Cursor in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028567#M1169779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should work.  If you've got one existing line on screen, you click on the + button to create a new line (which will be line 2), and you then use SET CURSOR FIELD...LINE... to set FIELD to the field name and LINE to 2, the cursor should go there.  In fact, I've just tried it on one of my screens and that's what it did.  I'm not sure what you mean when you mention scrolling since this should only happen if you've filled up your table control and so clicking on + means that it has to display a new scren.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 13:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028567#M1169779</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2009-01-07T13:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: POsitioning Cursor in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028568#M1169780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for confusing.. ACtually i got the cursor position correctly as long as no scrollong takes place in the table, but wen the entries in the current screen are full, it will have to scroll down and then this will not work.. Please help me correct it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suzie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 02:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028568#M1169780</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2009-01-08T02:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: POsitioning Cursor in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028569#M1169781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;READ TABLE ITAB INDEX TAB_SCHEDULE-CURRENT_LINE.  " ITAB is internal table in table control &lt;/P&gt;&lt;P&gt;DESCRIBE TABLE ITAB LINES LIN1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'ADD' AND LIN1 =  20       "no of lines.&lt;/P&gt;&lt;P&gt;APPEND INITIAL LINE TO ITAB.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 03:23:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028569#M1169781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T03:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: POsitioning Cursor in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028570#M1169782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suzie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At your SY-UCOMM value of that button ,after whose click you want you cursor to be placed on the next rows 1st field you can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Place the cursor at the beginning of a field when selecting a line in list processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'MODUS' TO F.&lt;/P&gt;&lt;P&gt;MOVE '1234567890' TO MODUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO 10 TIMES.&lt;/P&gt;&lt;P&gt;  NEW-LINE.   POSITION SY-INDEX   WRITE MODUS.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  SET CURSOR FIELD F LINE SY-LILLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET CURSOR FIELD 'MODUS' LINE SY-LILLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both statements place the cursor at the beginning of the field MODUS on this line when the user double-clicks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this you can do for your user command actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tnaks Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 04:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-cursor-in-table-control/m-p/5028570#M1169782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T04:13:24Z</dc:date>
    </item>
  </channel>
</rss>

