<?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: set cursor on table control not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-table-control-not-working/m-p/2846906#M666967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need specify a field name, not a table control name&lt;/P&gt;&lt;P&gt;such as TABLE1-ZZVBELN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2007 00:40:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-27T00:40:53Z</dc:date>
    <item>
      <title>set cursor on table control not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-table-control-not-working/m-p/2846905#M666966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I have a screen with delivery number field on top with Get Data Button next to it. Once I click on Get Data, I want to get all the handling units and show them in a table control below and show the first line of that table control selected by default.&lt;/P&gt;&lt;P&gt;  I m able to get the data but the cursor always goes back to the delivery number field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following code in PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Status &amp;amp; title for the screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  MODULE status_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the module, the last lines are as follows&lt;/P&gt;&lt;P&gt;  if sy-ucomm = 'GET'.&lt;/P&gt;&lt;P&gt;    s_vepo-sel = c_x.&lt;/P&gt;&lt;P&gt;    set cursor field 'TABLE1' line 1. "TABLE1 is name of the table control in screen &lt;/P&gt;&lt;P&gt;                                                  "painter&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged and saw that the line " set cursor field 'TABLE1' line 1." is indeed the last line which gets executed but still the cursor goes back to delivery number field and table row doesnt get selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 23:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-table-control-not-working/m-p/2846905#M666966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T23:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on table control not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-table-control-not-working/m-p/2846906#M666967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need specify a field name, not a table control name&lt;/P&gt;&lt;P&gt;such as TABLE1-ZZVBELN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 00:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-table-control-not-working/m-p/2846906#M666967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T00:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on table control not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-table-control-not-working/m-p/2846907#M666968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try maintaining the "Cursor position" in the screen layout in Attributes tab with the field name that you want the default cursor position to be present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shri Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 19:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-table-control-not-working/m-p/2846907#M666968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T19:04:39Z</dc:date>
    </item>
  </channel>
</rss>

