<?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: Implementing INVOICE_UPDATE badi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-invoice-update-badi/m-p/2274242#M494346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if method CHANGE_BEFORE_UPDATE is the right one because it does contain neither an "error flag" parameter nor an exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that method &amp;lt;b&amp;gt;CHANGE_AT_SAVE&amp;lt;/b&amp;gt; will be more useful to you because it has an exception (&amp;lt;b&amp;gt;ERROR_WITH_MESSAGE&amp;lt;/b&amp;gt;) that you can raise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2007 07:42:28 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2007-05-18T07:42:28Z</dc:date>
    <item>
      <title>Implementing INVOICE_UPDATE badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-invoice-update-badi/m-p/2274241#M494345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have to implement INVOICE_UPDATE badi for tranzaction MIRO in order to prevent posting an invoice in certain conditions. So, I will use the method CHANGE_BEFORE_UPDATE, I do my check, but how can I prevent the posting? What statement to use in order that the user to be informed that that specific invoice cannot be posted?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 07:13:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-invoice-update-badi/m-p/2274241#M494345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T07:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing INVOICE_UPDATE badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-invoice-update-badi/m-p/2274242#M494346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if method CHANGE_BEFORE_UPDATE is the right one because it does contain neither an "error flag" parameter nor an exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that method &amp;lt;b&amp;gt;CHANGE_AT_SAVE&amp;lt;/b&amp;gt; will be more useful to you because it has an exception (&amp;lt;b&amp;gt;ERROR_WITH_MESSAGE&amp;lt;/b&amp;gt;) that you can raise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 07:42:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-invoice-update-badi/m-p/2274242#M494346</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-05-18T07:42:28Z</dc:date>
    </item>
  </channel>
</rss>

