<?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: get cursor on a control table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-on-a-control-table/m-p/2686608#M621317</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;GET CURSOR FIELD &amp;lt;f&amp;gt; [OFFSET &amp;lt;off&amp;gt;]&lt;/P&gt;&lt;P&gt;                     [LINE &amp;lt;lin&amp;gt;] &lt;/P&gt;&lt;P&gt;                     [VALUE &amp;lt;val&amp;gt;] &lt;/P&gt;&lt;P&gt;                     [LENGTH &amp;lt;len&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the Demo Program DEMO_DYNPRO_GET_CURSOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 14:46:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T14:46:51Z</dc:date>
    <item>
      <title>get cursor on a control table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-on-a-control-table/m-p/2686607#M621316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created a control table with the ti_master inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im trying to get the postion when double click, i already got the event, F2, with PICK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is that i dont know how to get the row and the column that was clicked, im using get cursor but im a little bit lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the name of my control table is USERS&lt;/P&gt;&lt;P&gt;the internal table name is TI_users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use GET CURSOR USERS, but is an error&lt;/P&gt;&lt;P&gt;so i think is GET CURSOR TI_USERS., but i search on SY and i cant see the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-on-a-control-table/m-p/2686607#M621316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: get cursor on a control table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-on-a-control-table/m-p/2686608#M621317</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;GET CURSOR FIELD &amp;lt;f&amp;gt; [OFFSET &amp;lt;off&amp;gt;]&lt;/P&gt;&lt;P&gt;                     [LINE &amp;lt;lin&amp;gt;] &lt;/P&gt;&lt;P&gt;                     [VALUE &amp;lt;val&amp;gt;] &lt;/P&gt;&lt;P&gt;                     [LENGTH &amp;lt;len&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the Demo Program DEMO_DYNPRO_GET_CURSOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-on-a-control-table/m-p/2686608#M621317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: get cursor on a control table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-on-a-control-table/m-p/2686609#M621318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at &amp;lt;a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabf135c111d1829f0000e829fbfe/frameset.htm"&amp;gt;Finding Out the Cursor Position&amp;lt;/a&amp;gt; there SAP provide a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GET CURSOR FIELD &amp;lt;f&amp;gt; [OFFSET &amp;lt;off&amp;gt;]
                     [LINE &amp;lt;lin&amp;gt;]
                     [VALUE &amp;lt;val&amp;gt;]
                     [LENGTH &amp;lt;len&amp;gt;].&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;i&amp;gt;This statement transfers the name of the screen element on which the cursor is positioned during a user action into the variable &amp;lt;f&amp;gt;. If the cursor is on a field, the system sets SY-SUBRC to 0, otherwise to 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The additions to the GET CURSOR statement have the following functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OFFSET writes the cursor position within the screen element to the variable &amp;lt;off&amp;gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LINE writes the line number of the table to the variable &amp;lt;lin&amp;gt; if the cursor is positioned in a&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;table control. If the cursor is not in a table control, &amp;lt;lin&amp;gt; is set to zero. VALUE writes the contents of the screen field in display format, that is, with all of its formatting characters, as a string to the variable &amp;lt;val&amp;gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LENGTH writes the display length of the screen field to the variable &amp;lt;len&amp;gt;.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-on-a-control-table/m-p/2686609#M621318</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-08-09T14:52:00Z</dc:date>
    </item>
  </channel>
</rss>

