<?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 BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-badi/m-p/3836895#M922652</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;Check the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Login to SAP and execute SE18&lt;/P&gt;&lt;P&gt;2. Input the BAdi ME_PROCESS_PO_CUST and click on Display&lt;/P&gt;&lt;P&gt;3. Click on Interface tab&lt;/P&gt;&lt;P&gt;4. Double click on the Interface name IF_EX_ME_PROCESS_PO_CUST&lt;/P&gt;&lt;P&gt;5. Place the cursor on Check method and follow the menu path GoTo-&amp;gt;Documentation-&amp;gt;To Component or after placing the cursor simply you can press F9 also.&lt;/P&gt;&lt;P&gt;6. In the displayed documentation you can see about error handling&lt;/P&gt;&lt;P&gt;7. Further to this there is a Link which says Meta field and Error Handling. Click on that&lt;/P&gt;&lt;P&gt;8. Now the displayed documentation is completely about error handling.&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;Raj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you out. Reward accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2008 11:57:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-13T11:57:03Z</dc:date>
    <item>
      <title>Error message in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-badi/m-p/3836894#M922651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I want to restrict the user from saving the PO in ME22n. I am using the badi ME_PROCESS_PO_CUST for this enhancement and the method is IF_EX_ME_PROCESS_PO_CUST~CHECK. But my issue is my error message is throwing a dump when i double click it saying  conversion from type 'u' to type 'V' not possible . What might be the cause of the dump  ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Saravanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-badi/m-p/3836894#M922651</guid>
      <dc:creator>former_member254848</dc:creator>
      <dc:date>2008-05-13T11:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-badi/m-p/3836895#M922652</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;Check the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Login to SAP and execute SE18&lt;/P&gt;&lt;P&gt;2. Input the BAdi ME_PROCESS_PO_CUST and click on Display&lt;/P&gt;&lt;P&gt;3. Click on Interface tab&lt;/P&gt;&lt;P&gt;4. Double click on the Interface name IF_EX_ME_PROCESS_PO_CUST&lt;/P&gt;&lt;P&gt;5. Place the cursor on Check method and follow the menu path GoTo-&amp;gt;Documentation-&amp;gt;To Component or after placing the cursor simply you can press F9 also.&lt;/P&gt;&lt;P&gt;6. In the displayed documentation you can see about error handling&lt;/P&gt;&lt;P&gt;7. Further to this there is a Link which says Meta field and Error Handling. Click on that&lt;/P&gt;&lt;P&gt;8. Now the displayed documentation is completely about error handling.&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;Raj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you out. Reward accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-badi/m-p/3836895#M922652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T11:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-badi/m-p/3836896#M922653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Raising messages from within BAdis is not a good choice and from the look of it , it appears to be causing a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look if the BAdi interface has any exceptions defined for the method, if so, raise the exception with your message like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e002(sy) WITH 'Error' RAISING &amp;lt;badi_exception&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or Simply call fm POPUP_TO_CONFIRM to show error messages to user&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;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 12:02:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-badi/m-p/3836896#M922653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T12:02:00Z</dc:date>
    </item>
  </channel>
</rss>

