<?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 FIELD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769238#M1306252</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 to set cursor before error message is fired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2009 14:06:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-06T14:06:32Z</dc:date>
    <item>
      <title>Problem with SET CURSOR FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769234#M1306248</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;i use this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...

SELECTION-SCREEN: SKIP 2.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 01(31) T_AUFNR.
PARAMETERS:       P_AUFNR  LIKE CAUFV-AUFNR
                  MATCHCODE OBJECT ORDEB.
SELECTION-SCREEN: END   OF LINE.
*
SELECTION-SCREEN: SKIP.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 01(31) T_VORNR.
PARAMETERS:       P_VORNR  LIKE RESB-VORNR.
SELECTION-SCREEN: END   OF LINE.
*
...
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VORNR.
*
...
  IF NOT WA_RETURN IS INITIAL.
    MESSAGE I010 WITH WA_RETURN-MESSAGE.
    SET CURSOR FIELD 'P_AUFNR'.
    EXIT.
  ENDIF.
*
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, that the command SET CURSOR FIELD 'P_AUFNR' doesn't set the cursor on 'P_AUFNR'.&lt;/P&gt;&lt;P&gt;I searched in this forum, and find that's not possible to set the cursor in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone another idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 12:52:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769234#M1306248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T12:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769235#M1306249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Diaeter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try to use the above event  that might be works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Parekh Nirav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 12:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769235#M1306249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T12:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769236#M1306250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Dieter Gröhn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to use LINE option here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure you are passing P_AUFNR in CAPS between quotes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer Syntax as well as ABAP help documentation also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET CURSOR { { FIELD field [LINE line] [[DISPLAY] OFFSET off] } 
           | { col lin } }.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 13:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769236#M1306250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T13:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769237#M1306251</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;thanks for your answer. I tried as you said, but no effect. The cursor is on P_VORNR&lt;/P&gt;&lt;P&gt;not in P_AUFNR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 13:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769237#M1306251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769238#M1306252</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 to set cursor before error message is fired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769238#M1306252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SET CURSOR FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769239#M1306253</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;i tried it, but no effects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-cursor-field/m-p/5769239#M1306253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T14:17:40Z</dc:date>
    </item>
  </channel>
</rss>

