<?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: catching the error from the function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-the-error-from-the-function-module/m-p/2523265#M571374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudarshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the type of return. Is it a BAPIRET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just check for the MSGTYP and if it is E then show the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2007 06:35:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-11T06:35:00Z</dc:date>
    <item>
      <title>catching the error from the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-the-error-from-the-function-module/m-p/2523263#M571372</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;call function 'ZV_SALES_ORDER_CANCEL_TSPPRA'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      salesdocument = l_order&lt;/P&gt;&lt;P&gt;      customer      = l_kunnr&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      return        = return&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the return contains the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to display this error message in our program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 06:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-the-error-from-the-function-module/m-p/2523263#M571372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T06:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: catching the error from the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-the-error-from-the-function-module/m-p/2523264#M571373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After FM&lt;/P&gt;&lt;P&gt; if return-MSGTYP &amp;lt;&amp;gt; 'S'.&lt;/P&gt;&lt;P&gt;   write return-MSGNO......&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 06:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-the-error-from-the-function-module/m-p/2523264#M571373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T06:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: catching the error from the function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-the-error-from-the-function-module/m-p/2523265#M571374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudarshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the type of return. Is it a BAPIRET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just check for the MSGTYP and if it is E then show the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 06:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-the-error-from-the-function-module/m-p/2523265#M571374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T06:35:00Z</dc:date>
    </item>
  </channel>
</rss>

