<?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: Trigger error message in SRM Backend PO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330114#M1729188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flavia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try implementing BADI &lt;STRONG&gt;BBP_DOC_CHECK_BADI. &lt;/STRONG&gt;The interface method has the options to set error messages as one of the return parameters. Do the required validations and pass the error messages if any. Hope that will interrupt the data flow to XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;~Athreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2013 07:01:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-03-22T07:01:26Z</dc:date>
    <item>
      <title>Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330111#M1729185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are in SRM702 version.&amp;nbsp; When user clicks on "Create a PO" button in RFx response, I should validate data and trigger an error message to SRM screen if it's necessary. So here is my question: is there a BADI to achieve this requirement? I have already tried BBP_DOC_CHECK_BADI and /SAPSRM/IF_BADI_SOA_MAPPING but it doesn't seems to work as I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 17:50:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330111#M1729185</guid>
      <dc:creator>flvia_s</dc:creator>
      <dc:date>2013-03-21T17:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330112#M1729186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try using BADI BBP_CREATE_BE_PO_NEW. Hope this is the one you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Athreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 18:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330112#M1729186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-21T18:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330113#M1729187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Athreya.&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;BADI &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;BBP_CREATE_BE_PO_NEW&lt;/SPAN&gt; would be usefull if it wasn't the fact that it doesn't have a message error table as a parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I could manage to display the message error that I've wanted, but the PO is still been sent to XI. Do you know how to interrup this process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 19:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330113#M1729187</guid>
      <dc:creator>flvia_s</dc:creator>
      <dc:date>2013-03-21T19:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330114#M1729188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flavia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try implementing BADI &lt;STRONG&gt;BBP_DOC_CHECK_BADI. &lt;/STRONG&gt;The interface method has the options to set error messages as one of the return parameters. Do the required validations and pass the error messages if any. Hope that will interrupt the data flow to XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;~Athreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 07:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330114#M1729188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-22T07:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330115#M1729189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Athreya. &lt;/P&gt;&lt;P&gt;Thanks again for your reply. &lt;/P&gt;&lt;P&gt;As I mentioned in the first message, I did try to use &lt;STRONG style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;BBP_DOC_CHECK_BADI&lt;/STRONG&gt;, but at that very moment, the RFx Response is closed to edition and so this BADI is not checked anymore (except if I click on refresh).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 12:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330115#M1729189</guid>
      <dc:creator>flvia_s</dc:creator>
      <dc:date>2013-03-22T12:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330116#M1729190</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;Please check the FLT_VAL of BBP_DOC_CHECK_BADI.&lt;/P&gt;&lt;P&gt;In this case,i think it should be BUS2201.&lt;/P&gt;&lt;P&gt;Filter value enable you to assign the implementation to a specific document type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 14:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330116#M1729190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-22T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330117#M1729191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Keerthi.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;When creating PO in &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;RFx response&lt;/SPAN&gt;, Badi BBP_DOC_CHECK_BADI is not checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Thanks! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 14:52:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330117#M1729191</guid>
      <dc:creator>flvia_s</dc:creator>
      <dc:date>2013-03-22T14:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330118#M1729192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flavia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have you tried to exit the process by using exit statement or similar ones. I am not sure how effectively that would work &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1305/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the worst case scenario, you may try finding all the BADIs that get called in the process and see if any of them can be used. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Below is a document that would help you in finding out the BADIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-33611"&gt;http://scn.sap.com/docs/DOC-33611&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;~Athreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 06:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330118#M1729192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-24T06:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger error message in SRM Backend PO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330119#M1729193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Athreya. Thanks again for your tips.&lt;/P&gt;&lt;P&gt;I'll try to find more Badis as your link is suggesting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It's weird, cause in badi /SAPSRM/IF_BADI_SOA_MAPPING I'm using a method that has a parameter ct_messages, wich should exit the logic flow once I have inserted an error message, but is seems like the process is simply ignoring it. =/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 13:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-error-message-in-srm-backend-po/m-p/9330119#M1729193</guid>
      <dc:creator>flvia_s</dc:creator>
      <dc:date>2013-03-25T13:48:06Z</dc:date>
    </item>
  </channel>
</rss>

