<?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: raise exception in function module call from SAP owned program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-in-function-module-call-from-sap-owned-program/m-p/2528002#M572855</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;After calling the function module, you can do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF SY-SUBRC &amp;lt;&amp;gt; 0.
  RAISE EXCEPTION.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2007 19:48:23 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-07-16T19:48:23Z</dc:date>
    <item>
      <title>raise exception in function module call from SAP owned program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-in-function-module-call-from-sap-owned-program/m-p/2528001#M572854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to raise an exception in a function module to terminate a transaction, display a error message and return to to previous selection screen so the user can fix the error before moving forward.......   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you do this when the program using the function module is SAP owned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 19:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-in-function-module-call-from-sap-owned-program/m-p/2528001#M572854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T19:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: raise exception in function module call from SAP owned program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-in-function-module-call-from-sap-owned-program/m-p/2528002#M572855</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;After calling the function module, you can do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF SY-SUBRC &amp;lt;&amp;gt; 0.
  RAISE EXCEPTION.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 19:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-in-function-module-call-from-sap-owned-program/m-p/2528002#M572855</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-07-16T19:48:23Z</dc:date>
    </item>
  </channel>
</rss>

