<?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: Error message-Stop processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816030#M1127171</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;Is there any Typing error in your code or is it right?&lt;/P&gt;&lt;P&gt;because the code which you have mentoned here i find the IF.....ENDIF's order to be incorrect,because if you have given Message of type E it should not allow you to process further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;IF RIWO00-AUART ZCL_CONSTANTS=&amp;gt;C_AUART_PM03.&lt;/P&gt;&lt;P&gt;MESSAGE e208(ZPM).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ELSEIF RIWO00-AUART = ZCL_CONSTANTS=&amp;gt;C_AUART_PM03.&lt;/P&gt;&lt;P&gt;MESSAGE e208(ZPM).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the same condition is tested twice and same message is raised,even the IF's and ENDIF's are not clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Neha Shukla on Dec 2, 2008 4:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2008 10:51:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-02T10:51:11Z</dc:date>
    <item>
      <title>Error message-Stop processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816027#M1127168</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 did some code like when invalid combinations....then need to raise a request,at that time it showing the error message, but after that error message...when press enter....that work order starts genrating(means start processing).So i need to stop the processing after error message displays even click on enter or save...need to show the same error message.Could u plz help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz check the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF VIQMEL-QMART = ZCL_CONSTANTS=&amp;gt;C_QMART_M1.&lt;/P&gt;&lt;P&gt;         IF VIQMEL-PRIOK = ZCL_CONSTANTS=&amp;gt;C_PRIOK_1 OR&lt;/P&gt;&lt;P&gt;            VIQMEL-PRIOK = ZCL_CONSTANTS=&amp;gt;C_PRIOK_2.&lt;/P&gt;&lt;P&gt;               IF RIWO00-AUART &amp;lt;&amp;gt; ZCL_CONSTANTS=&amp;gt;C_AUART_PM03.&lt;/P&gt;&lt;P&gt;                  MESSAGE e208(ZPM).&lt;/P&gt;&lt;P&gt;               ENDIF.&lt;/P&gt;&lt;P&gt;         ELSEIF RIWO00-AUART = ZCL_CONSTANTS=&amp;gt;C_AUART_PM03.&lt;/P&gt;&lt;P&gt;                MESSAGE e208(ZPM).&lt;/P&gt;&lt;P&gt;         ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 10:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816027#M1127168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T10:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error message-Stop processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816028#M1127169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put STOP after the error message .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e208(ZPM).&lt;/P&gt;&lt;P&gt;STOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 10:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816028#M1127169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T10:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error message-Stop processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816029#M1127170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;to the best of my knowledge once you issue ERROR message system becomes standstill, how can you proceed further????&lt;/P&gt;&lt;P&gt;anyhow------&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use EXIT key word  after the error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ramchander krishnamraju on Dec 2, 2008 11:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 10:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816029#M1127170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error message-Stop processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816030#M1127171</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;Is there any Typing error in your code or is it right?&lt;/P&gt;&lt;P&gt;because the code which you have mentoned here i find the IF.....ENDIF's order to be incorrect,because if you have given Message of type E it should not allow you to process further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;IF RIWO00-AUART ZCL_CONSTANTS=&amp;gt;C_AUART_PM03.&lt;/P&gt;&lt;P&gt;MESSAGE e208(ZPM).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ELSEIF RIWO00-AUART = ZCL_CONSTANTS=&amp;gt;C_AUART_PM03.&lt;/P&gt;&lt;P&gt;MESSAGE e208(ZPM).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the same condition is tested twice and same message is raised,even the IF's and ENDIF's are not clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Neha Shukla on Dec 2, 2008 4:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 10:51:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816030#M1127171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T10:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error message-Stop processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816031#M1127172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after the error msg immediately use this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN SY-DYNNR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 10:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816031#M1127172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T10:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error message-Stop processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816032#M1127173</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 think you are using  module screen then you will have to use stop after the error message and clear the sy-ucomm or ok_code before stop statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e208(ZPM).&lt;/P&gt;&lt;P&gt;clear ok_code.&lt;/P&gt;&lt;P&gt;stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if it were a report then also it depends on ur code.&lt;/P&gt;&lt;P&gt;in report if your code contains an end-of-selection and u are throwing an error message in start-of-selection , then below error message statement if you write stop then end-of-selection still will get executed ..&lt;/P&gt;&lt;P&gt;but if you write an EXIt then end-of-selection wont get executed. it will show directly output screen if there is an write statement to display on screen in start-of-selction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you are throwing an error message at selection screen then no need to use any of the above.&lt;/P&gt;&lt;P&gt;but if you are using an information message then u need to use stop after the i message..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 11:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-stop-processing/m-p/4816032#M1127173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T11:03:34Z</dc:date>
    </item>
  </channel>
</rss>

