<?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 Error message with Cancel option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715602#M1579533</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;When i create a sales order, While saving, i need to do a price check and display error accordingly. I did this coding in the user exit MV45AFZZ. But this error msg terminates the transaction. User wants a cancel option in the error  msg so he can go back to the screen and edit the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I created a pop up displaying the error msg having cancel button. When cancel button is clicked it goes back to the screen.&lt;/P&gt;&lt;P&gt;But the issue is when i again click the save buttion, the user exit doesnt trigger. It continues from the code where it left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to overcome this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ezhil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 13:38:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-08T13:38:27Z</dc:date>
    <item>
      <title>Error message with Cancel option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715602#M1579533</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;When i create a sales order, While saving, i need to do a price check and display error accordingly. I did this coding in the user exit MV45AFZZ. But this error msg terminates the transaction. User wants a cancel option in the error  msg so he can go back to the screen and edit the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I created a pop up displaying the error msg having cancel button. When cancel button is clicked it goes back to the screen.&lt;/P&gt;&lt;P&gt;But the issue is when i again click the save buttion, the user exit doesnt trigger. It continues from the code where it left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to overcome this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ezhil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 13:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715602#M1579533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-08T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error message with Cancel option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715603#M1579534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MV45AFZZ is not a user exit; it's an include program with subroutines that are called as user exits.  Which user exit subroutine did you use?  Most of the exits do not terminate the transaction on an error message, including USEREXIT_SAVE_DCOUMENT_PREPARE.  You don't need a pop up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 14:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715603#M1579534</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-02-08T14:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error message with Cancel option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715604#M1579535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used the userexit_save_document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 14:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715604#M1579535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-08T14:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error message with Cancel option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715605#M1579536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the wrong exit - did you read the documentation in the program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 15:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715605#M1579536</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-02-08T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error message with Cancel option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715606#M1579537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved the issue by writing the coding in userexit_save_document_prepare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for u help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 11:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-cancel-option/m-p/7715606#M1579537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-09T11:08:39Z</dc:date>
    </item>
  </channel>
</rss>

