<?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: different behavior inside / outside TableControl in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385014#M1042933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GET CURSOR is intended to work with input fields (i.e. fields in which you can enter data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am surprised that it works with a button inside a TC !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2008 14:56:00 GMT</pubDate>
    <dc:creator>franois_henrotte</dc:creator>
    <dc:date>2008-08-28T14:56:00Z</dc:date>
    <item>
      <title>get cursor: different behavior inside / outside TableControl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385011#M1042930</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've got a dynpro with normal input-fields and pushbuttons on it as well as a table-control, equally with input-fields and pushbuttons in it. Whenever a button is pressed I want to find out which button it was.&lt;/P&gt;&lt;P&gt;I need the name of the dynprofield, I cannot use only SY-FCODE to determine the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm using GET CURSOR FIELD ... LINE ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem:&lt;/P&gt;&lt;P&gt;Let's say the user sets the cursor in an input-field (no matter, whether inside or outside the table-control) and then pushes a button &lt;STRONG&gt;inside&lt;/STRONG&gt; the table-control. The dynpro-cursor moves to the button - and GET CURSOR gets me the name of the button. Exactly what I want.&lt;/P&gt;&lt;P&gt;But when the user pushes a button &lt;STRONG&gt;outside&lt;/STRONG&gt; the table-control, the dynpro-cursor does not move to the button but remains on the input-field and thats the name I get!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why doesn't the dypro-cursor move to the button outside the TC? Is there any other way to get the name of the pressed button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Uwe Kaiser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 09:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385011#M1042930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T09:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: get cursor: different behavior inside / outside TableControl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385012#M1042931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;About pushbutton in TC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function code, which is no more than four characters long, can end&lt;/P&gt;&lt;P&gt;with up to three '%' characters. These percentage characters act as&lt;/P&gt;&lt;P&gt;placeholders for pushbuttons used in step loops and table controls. When&lt;/P&gt;&lt;P&gt;the user presses a pushbutton in the course of a transaction, the&lt;/P&gt;&lt;P&gt;placeholders are replaced by the number of the loop repetition (or the&lt;/P&gt;&lt;P&gt;table control line) before the function code is made available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Suppose the function code of a pushbutton in a step loop&lt;/P&gt;&lt;P&gt;         is 'F%%'. If the user presses the pushbutton during the&lt;/P&gt;&lt;P&gt;         eighth loop repetition, the system retrieves the function&lt;/P&gt;&lt;P&gt;         code 'F08'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For pushbutton outside of TC, you should use the sy-tcode. I really don't see why you would not be able to do so...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 12:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385012#M1042931</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2008-08-28T12:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: get cursor: different behavior inside / outside TableControl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385013#M1042932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer, Francois. I didn't know about the automatic replacement of '%'-characters in the function code of pushbuttons in TC. Its going to be useful.&lt;/P&gt;&lt;P&gt;And I think eventually I will have to use the SY-TCODE for buttons outside the TC. Although I wouldn't have to, if GET CURSOR was working the same way outside like inside the TC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385013#M1042932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: get cursor: different behavior inside / outside TableControl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385014#M1042933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GET CURSOR is intended to work with input fields (i.e. fields in which you can enter data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am surprised that it works with a button inside a TC !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-different-behavior-inside-outside-tablecontrol/m-p/4385014#M1042933</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2008-08-28T14:56:00Z</dc:date>
    </item>
  </channel>
</rss>

