<?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 a parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912531#M57399</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;If you want specifically,try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD 'P_ERROR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:It should be in capital letter[p_error-won't work.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2005 08:33:54 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2005-06-10T08:33:54Z</dc:date>
    <item>
      <title>set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912529#M57397</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 want my ABAP program to diplay an error message whenever a particular paramater is left blank. This will happen if a checkbox will be checked. If the error message will be displayed I also want the cursor to be put on that blank parameter. However if a checkbox will not be check there is no need to display an error message message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_error(200) TYPE c,                 &lt;/P&gt;&lt;P&gt;            cb_check AS CHECKBOX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  IF cb_check = 'X'.&lt;/P&gt;&lt;P&gt;    IF p_error = space.&lt;/P&gt;&lt;P&gt;      ???????????????????????.&lt;/P&gt;&lt;P&gt;      MESSAGE e055(00).  "Error message&lt;/P&gt;&lt;P&gt;    ENDIF. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: what statement should be placed in ????????????????????????? part...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance....!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912529#M57397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912530#M57398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN on p_error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if cb_cehck eq 'X' and&lt;/P&gt;&lt;P&gt;   p_error is initial .&lt;/P&gt;&lt;P&gt;MESSAGE e055(00). "Error message&lt;/P&gt;&lt;P&gt;endif .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this out, this will meet your requirment.&lt;/P&gt;&lt;P&gt;If your question is answered, mark the thread as answered and close it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912530#M57398</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-06-10T08:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912531#M57399</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;If you want specifically,try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD 'P_ERROR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:It should be in capital letter[p_error-won't work.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912531#M57399</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-06-10T08:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912532#M57400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim&lt;/P&gt;&lt;P&gt;   I think it is possible with Set Cursor Field P_error&lt;/P&gt;&lt;P&gt;u can try this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912532#M57400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T08:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912533#M57401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The suggestion of Raja is good, but there were times when this validation doesnt work, sometimes error message were not displayed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for Jayanthi, I tried that statements it seems not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway thanks for both of you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are more suggestion I will greatly apprecitiate them...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912533#M57401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T08:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912534#M57402</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;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD 'P_ERROR'.&lt;/P&gt;&lt;P&gt;P_ERROR should be in captial letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked.I tried.Try once more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Have a look at this link to reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/mark.finnern/blog/2004/08/10/spread-the-love&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912534#M57402</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-06-10T08:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912535#M57403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The very purpose of AT SELECTION-SCREEN &amp;lt;b&amp;gt;on p_error&amp;lt;/b&amp;gt; . is exactly to handle this kind of issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;but there were times when this validation doesnt work, sometimes error message were not displayed....&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what where those times? if you could explain the scenario we can find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow i guess with my answer your issue is resolved, if yes can you mark the thread as answered and close it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;P&gt;&amp;lt;a href="/people/mark.finnern/blog/2004/08/10/spread-the-love to say THANKS the SDN way&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912535#M57403</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-06-10T08:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912536#M57404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayanthi,&lt;/P&gt;&lt;P&gt;Yes, It works, I've just forgot to put single quotes on P_ERROR.... it should be 'P_ERROR'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And to all of you who tried to help me thanks so much!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912536#M57404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T08:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912537#M57405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection-screen on &amp;lt;param&amp;gt; should work - if it doesn't then just post your code here we can fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 08:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912537#M57405</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-06-10T08:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912538#M57406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS: p_file(200)  TYPE c,                  &lt;/P&gt;&lt;P&gt;            p_error(200) TYPE c,                 &lt;/P&gt;&lt;P&gt;            cb_check AS CHECKBOX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on p_error.&lt;/P&gt;&lt;P&gt;  IF cb_check = 'X'.&lt;/P&gt;&lt;P&gt;     if p_error is initial. &lt;/P&gt;&lt;P&gt;      MESSAGE e055(00).&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;  endif.           &lt;/P&gt;&lt;P&gt;Above is my initial code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I type value on the parameter p_file, and check cb_check right away (without putting my cursor on p_error), an error message was not displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja, Thanks so much for your effort....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 09:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-a-parameter/m-p/912538#M57406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T09:00:57Z</dc:date>
    </item>
  </channel>
</rss>

