<?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>Question Re: avoid PO from saving in Spend Management Q&amp;A</title>
    <link>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255844#M88655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I had already checked this BADI. In there you can modify the way the PO is going to be saved, but I dont see how I can stop the saving....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Nov 2009 10:07:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-13T10:07:46Z</dc:date>
    <item>
      <title>avoid PO from saving</title>
      <link>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaq-p/6255842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;I want to avoid that PO's in certain status can be saved. To do that I check the case in badi BBP_DOC_CHECK_BADI and I show a error message when the user press the SAVE button.&lt;/P&gt;&lt;P&gt;The point is that even with my error message, when the SAVE button is clicked the PO gets saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How or where can i stop the process once the user has pressed the SAVE button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 09:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaq-p/6255842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T09:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: avoid PO from saving</title>
      <link>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255843#M88654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please chec this BADI: BBP_DOC_SAVE_BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suneel Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 10:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255843#M88654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T10:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: avoid PO from saving</title>
      <link>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255844#M88655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I had already checked this BADI. In there you can modify the way the PO is going to be saved, but I dont see how I can stop the saving....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 10:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255844#M88655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T10:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: avoid PO from saving</title>
      <link>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255845#M88656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this BADI: &lt;STRONG&gt;BBP_DOC_CHANGE_BADI&lt;/STRONG&gt; (for BUS2201), I think this the one you need to use. The reason why it doesn't stop is that the PO is created by the WF-BATCH user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do external debugging with this user (if it is set to dialog), then it will stop in the BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suneel Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 12:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255845#M88656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T12:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: avoid PO from saving</title>
      <link>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255846#M88657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I dont think I can do it in the CHANGE BADI eiother. I can control what data is changed, van I can not stop the process...&lt;/P&gt;&lt;P&gt;Do you see something I dont see? which parameters in the BADI would you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but I dont think It can be done in there. I think in the CHECK BADI it should be possible to send a popup or something to stop the process. The message I show is treated as an information message, even when it is a ERROR message!. I think the place to filter it is in the CHECK BADI, but how...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 12:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255846#M88657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T12:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: avoid PO from saving</title>
      <link>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255847#M88658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check Badi is called multiple times with different. May be you will have to set the error message for the correct combination of IV_MODE and IV_SAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i also believe you have put the correct filter in the badi. filter BUS2201.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;IftekharAlam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 20:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/avoid-po-from-saving/qaa-p/6255847#M88658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T20:15:18Z</dc:date>
    </item>
  </channel>
</rss>

