<?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 going back after error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157535#M119342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while developing a module pool program, i am facing a problem.&lt;/P&gt;&lt;P&gt;normally, after an error message, we cant go back to the previous screen but as per the requirement i want to go back to some screen.&lt;/P&gt;&lt;P&gt;how can i do that????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2006 21:57:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-02T21:57:52Z</dc:date>
    <item>
      <title>going back after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157535#M119342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while developing a module pool program, i am facing a problem.&lt;/P&gt;&lt;P&gt;normally, after an error message, we cant go back to the previous screen but as per the requirement i want to go back to some screen.&lt;/P&gt;&lt;P&gt;how can i do that????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 21:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157535#M119342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-02T21:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: going back after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157536#M119343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can issue a success message (type S instead of E). This will show the message on the next screen displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, you will probably need to set a flag so that your program knows that an error has occurred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 22:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157536#M119343</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-02-02T22:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: going back after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157537#M119344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi neil,&lt;/P&gt;&lt;P&gt;thanks for the answer but i want to go back to a perticular screen&lt;/P&gt;&lt;P&gt;for example: i am on screen no. 400 &amp;amp; if i get an error in pai, i want to go back to screen 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can we do that???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 22:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157537#M119344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-02T22:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: going back after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157538#M119345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after issuing the message:&lt;/P&gt;&lt;P&gt;leave to screen 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE NOTE:&lt;/P&gt;&lt;P&gt;leave to screen 200.&lt;/P&gt;&lt;P&gt;is a quicker way of coding,&lt;/P&gt;&lt;P&gt;set screen 200. leave screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Neil Woodruff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 22:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157538#M119345</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-02-02T22:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: going back after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157539#M119346</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;In this case you can't use a message type E, because if you use it the user'll be stopped here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So use a message type I and then go to screen you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD FIELD MODULE CHECK_FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHECK_FIELD.&lt;/P&gt;&lt;P&gt;IF FIELD = .......&lt;/P&gt;&lt;P&gt;  MESSAGE I208(00) WITH 'ERROR!'.&lt;/P&gt;&lt;P&gt;  SET SCREEN 200. LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 22:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157539#M119346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-02T22:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: going back after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157540#M119347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can also show a status message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF ERROR.
 MESSAGE s000 WITH text-000.
 CALL SCREEN 200.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points and close the thread if ur problem got solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 04:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157540#M119347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-03T04:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: going back after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157541#M119348</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 to clear the SY-UCOMM and OKCODE before giving the error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 04:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157541#M119348</guid>
      <dc:creator>mandar_shete</dc:creator>
      <dc:date>2006-02-03T04:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: going back after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157542#M119349</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; U can put .&lt;/P&gt;&lt;P&gt;MODULE exit_command1 AT EXIT-COMMAND. in PAI.&lt;/P&gt;&lt;P&gt;in dat u have to provide sy-ucomm as back.&lt;/P&gt;&lt;P&gt;And in menu selection u have to put Function code- functional type E.&lt;/P&gt;&lt;P&gt;Then it will work.&lt;/P&gt;&lt;P&gt;Try it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyoti..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 22:10:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-after-error-message/m-p/1157542#M119349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T22:10:34Z</dc:date>
    </item>
  </channel>
</rss>

