<?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: Issue with Error Message in BAdi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-error-message-in-badi/m-p/3797270#M913311</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;could you paste how exactly you produce message? Probably you just fill some parameter incorrect. You can check Code Sample for your BADI in transaction SE18 (Goto -&amp;gt; Code Sample -&amp;gt; Display). Unfortunately they do not care about messages in sample for method CHECK but from another method I found that all macros are defined in include MM_MESSAGES_MAC. So you can check what parameters should you pass to macro there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 May 2008 00:08:57 GMT</pubDate>
    <dc:creator>mvoros</dc:creator>
    <dc:date>2008-05-10T00:08:57Z</dc:date>
    <item>
      <title>Issue with Error Message in BAdi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-error-message-in-badi/m-p/3797269#M913310</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 am using  BAdi ME_PROCESS_PO_CUST  to trigger an error message whenever the user is trying the save the PO through ME21, ME22, ME21N, ME22N based on some validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is i am able to generate the error message in log view&lt;/P&gt;&lt;P&gt;By using include mm_messages_mac(macro) or by method cl_message_mm=&amp;gt;create but once the log is displayed and if i double click the message it is throwing a dump as "Conversion of type "u" to type "v" not supported." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the code in IF_EX_ME_PROCESS_PO_CUST~CHECK and have also set parameter ch_failed = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ECC 5.0&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;Saravanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 22:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-error-message-in-badi/m-p/3797269#M913310</guid>
      <dc:creator>former_member254848</dc:creator>
      <dc:date>2008-05-09T22:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Error Message in BAdi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-error-message-in-badi/m-p/3797270#M913311</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;could you paste how exactly you produce message? Probably you just fill some parameter incorrect. You can check Code Sample for your BADI in transaction SE18 (Goto -&amp;gt; Code Sample -&amp;gt; Display). Unfortunately they do not care about messages in sample for method CHECK but from another method I found that all macros are defined in include MM_MESSAGES_MAC. So you can check what parameters should you pass to macro there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2008 00:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-error-message-in-badi/m-p/3797270#M913311</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2008-05-10T00:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Error Message in BAdi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-error-message-in-badi/m-p/3797271#M913312</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 have used this cl_message_mm and it works for me but i am on version ECC6.0. Otherwise you can directly use the message statement if the message length is small.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Raghavendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 12:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-error-message-in-badi/m-p/3797271#M913312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T12:38:00Z</dc:date>
    </item>
  </channel>
</rss>

