<?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 in MB_DOCUMENT_BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102089#M438314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lindy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz provide the break point where the badi is executing then we can understand the clearly. If u want stop the transaction we should know where to stop. For that also u should put break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points for helpful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;P.Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 10:04:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-16T10:04:50Z</dc:date>
    <item>
      <title>Error message in MB_DOCUMENT_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102088#M438313</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 am using MB_DOCUMENT_BADI to do some checking of the material document before saving. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I stop the transaction from saving if there is an error? I have tried using an error message, but it short dumps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lindy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 09:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102088#M438313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T09:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in MB_DOCUMENT_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102089#M438314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lindy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz provide the break point where the badi is executing then we can understand the clearly. If u want stop the transaction we should know where to stop. For that also u should put break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points for helpful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;P.Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102089#M438314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in MB_DOCUMENT_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102090#M438315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check it has any parameters for posting the error log. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parametes like CT_LOG like this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102090#M438315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in MB_DOCUMENT_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102091#M438316</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;The badi u r using will not allow any kind of messages ...if u use any message it will go for a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can choose the other badi &lt;/P&gt;&lt;P&gt;MB_CHECK_LINE_BADI&lt;/P&gt;&lt;P&gt;MB_CHECK_LINE_BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better go for MB_CHECK_LINE_BADI ....even i faced the same problem then i went with the implementatio of the above then there are nomore dumps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will help u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regads&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102091#M438316</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2007-04-16T10:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in MB_DOCUMENT_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102092#M438317</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;The MB_DOCUMENT_BADI does not pass any data back to the material document, but only helps save additional data (maybe in Z tables) when the Mat. Document is saved. It sounds like you may have the wrong BADI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guess this is not particularly useful, but looks like you may have to look for another BADI for this task. I will update the thread if I come across something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102092#M438317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in MB_DOCUMENT_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102093#M438318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the problem in more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During goods issue and goods receipt, we are capturing data into z tables. A previous abaper has done this using MB_DOCUMENT_BADI method MB_DOCUMENT_BEFORE_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The business has now realised that movement type 301 (stock transfer from plant to plant) is not being captured, which is where I come in. I need to add code to the badi to check this. Transaction is MB1B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a certain criteria is not satisfied, I need to stop this 301 movement type from saving and give an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible from within MB_DOCUMENT_BADI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lindy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102093#M438318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T10:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in MB_DOCUMENT_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102094#M438319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm in ECC6, I created a BADI implementation using MB_DOCUMENT_BADI and used transaction MB1B movement type 301. I put breakpoint on the method MB_DOCUMENT_BEFORE_UPDATE, activated it and also put session break-points at BADI call points in the main SAP program SAPMM07M. When I save the transfer posting, the program doesn't break for me! Has something changed in ECC6? What version are you in Lindy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 04:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-mb-document-badi/m-p/2102094#M438319</guid>
      <dc:creator>Sougata</dc:creator>
      <dc:date>2007-04-17T04:37:06Z</dc:date>
    </item>
  </channel>
</rss>

