<?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: Problem with SET CURSOR command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798172#M1311209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, still cursor is not going back to the first text field......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it remains last text field edited.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; clear : course , Strt_dat , End_dat , EMP_ID, Emp_name, Location, usage. --- this line is working..&lt;/P&gt;&lt;P&gt;   set CURSOR FIELD 'course'. -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; it's not working.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jul 2009 10:17:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-03T10:17:29Z</dc:date>
    <item>
      <title>Problem with SET CURSOR command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798170#M1311207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to clear all the text fields &amp;amp; set the cursor to first filed in a selection .. Al these will be excuted when a pushbutton is clicked...But i am able to clear the field but &lt;STRONG&gt;CURSOR is not going back to the first field&lt;/STRONG&gt;...it remains in the last field which is being edited before clear operation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code i have written :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : gd_comm like SY-UCOMM DEFAULT 'submit' NO-DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  if Sscrfields-ucomm eq 'submit'.&lt;/P&gt;&lt;P&gt;   gd_comm = 'submit'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;if gd_comm EQ 'submit'.&lt;/P&gt;&lt;P&gt;    clear : course , Strt_dat , End_dat , EMP_ID, Emp_name, Location, usage.&lt;/P&gt;&lt;P&gt;   set CURSOR FIELD 'course'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 10:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798170#M1311207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T10:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798171#M1311208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you written the SUBMIT in uppercase or not.&lt;/P&gt;&lt;P&gt;It may be the case as written in quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 10:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798171#M1311208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798172#M1311209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, still cursor is not going back to the first text field......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it remains last text field edited.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; clear : course , Strt_dat , End_dat , EMP_ID, Emp_name, Location, usage. --- this line is working..&lt;/P&gt;&lt;P&gt;   set CURSOR FIELD 'course'. -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; it's not working.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 10:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798172#M1311209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T10:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798173#M1311210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : BTN_PRES TYPE C.
SELECTION-SCREEN PUSHBUTTON /01(20) LCLEAR   USER-COMMAND CLS. "BUTTON
PARAMETERS : COURSE,
             STRT_DAT ,
             END_DAT ,
             EMP_ID,
             EMP_NAME,
             LOCATION,
             USAGE.

INITIALIZATION.
  LCLEAR = 'CLEAR'.

AT SELECTION-SCREEN.
  IF SY-UCOMM EQ 'CLS'.   "BUTTON PRESSED
****CLEAR PARAMETERS
    CLEAR : COURSE , STRT_DAT , END_DAT , EMP_ID, EMP_NAME, LOCATION, USAGE.
    BTN_PRES = 'X'.  "SET BUTTON PRESSED
  ENDIF.

AT SELECTION-SCREEN OUTPUT.
  IF  BTN_PRES = 'X'.  "IF BUTTON PRESSED
    SET CURSOR FIELD 'COURSE'. "SET CURSOR
    BTN_PRES = ''.    "CLEAR BUTTON PRESSED
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 11:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798173#M1311210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T11:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798174#M1311211</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;set cursor field 'COURSE' .  " Check the field name and make sure you entered in CAPITAL letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this may solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smart Varghese&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 11:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-command/m-p/5798174#M1311211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T11:08:38Z</dc:date>
    </item>
  </channel>
</rss>

