<?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: Exceptions in FM in update task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceptions-in-fm-in-update-task/m-p/4546398#M1073751</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;  You cannot catch exceptions for the function modules that are called in update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Generally you will be raising an abort message inside the Update function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Ex..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE a208(00) with 'Update failed' RAISING update_failed.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In case if the function module is not called in update task...Then the above raise an exception which can be caught in the calling place..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2008 16:09:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-03T16:09:03Z</dc:date>
    <item>
      <title>Exceptions in FM in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceptions-in-fm-in-update-task/m-p/4546397#M1073750</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;Do you know if it's possible to raise excptions in a Function Module called in Update Task mode ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 15:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceptions-in-fm-in-update-task/m-p/4546397#M1073750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T15:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions in FM in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceptions-in-fm-in-update-task/m-p/4546398#M1073751</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;  You cannot catch exceptions for the function modules that are called in update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Generally you will be raising an abort message inside the Update function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Ex..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE a208(00) with 'Update failed' RAISING update_failed.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In case if the function module is not called in update task...Then the above raise an exception which can be caught in the calling place..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 16:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceptions-in-fm-in-update-task/m-p/4546398#M1073751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions in FM in update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceptions-in-fm-in-update-task/m-p/4546399#M1073752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not entirely sure, but I think the user will get express mail informing him or her of the failure and there will either be a dump (ST22) or an error message in the system log (SM21).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SM13 and SM14 will also give information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Oct 3, 2008 2:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 18:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceptions-in-fm-in-update-task/m-p/4546399#M1073752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T18:10:37Z</dc:date>
    </item>
  </channel>
</rss>

