<?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 handling in Update Task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-in-update-task/m-p/11237770#M1912764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. two catch error in your FM you can check for the exceptions defined in the FM and try to catch it within a try endtry. and store it in log using FM bal_log_msg_add.&lt;/P&gt;&lt;P&gt;2. to debug an update task just put a /h and start normal debugging and then go to the menu option-&lt;/P&gt;&lt;P&gt;Settings-&amp;gt;Change Debugger Profile / Settings and check update debugging.&lt;/P&gt;&lt;P&gt;Once this done, do a F8 and make sure you have free sessions, as update starts in a new window.&lt;/P&gt;&lt;P&gt;Update debugging is about calling FMs in a sequence, you need to find a VBMOD_TABLE, in which all the FMs to be called are stored in sequence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 16:06:44 GMT</pubDate>
    <dc:creator>former_member210541</dc:creator>
    <dc:date>2015-09-14T16:06:44Z</dc:date>
    <item>
      <title>Error handling in Update Task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-in-update-task/m-p/11237769#M1912763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a specific requirement. I need to execute some BAPI for dismantling equipments only when the Order status is TECO.&lt;/P&gt;&lt;P&gt;The only thing which looks feasible is to call this BAPI in a custom function module in Update Task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is that , whenever there is error in BAPI it should be captured for future reference.&lt;/P&gt;&lt;P&gt;Can we use Application Log or any other Concept to store Error as i cannot issue any Error Message in Updates Task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also can anyone give me pointers to debug Update Task function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please provide inputs if someone has implemented the same and how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Navin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 14:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-in-update-task/m-p/11237769#M1912763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-14T14:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling in Update Task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-in-update-task/m-p/11237770#M1912764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. two catch error in your FM you can check for the exceptions defined in the FM and try to catch it within a try endtry. and store it in log using FM bal_log_msg_add.&lt;/P&gt;&lt;P&gt;2. to debug an update task just put a /h and start normal debugging and then go to the menu option-&lt;/P&gt;&lt;P&gt;Settings-&amp;gt;Change Debugger Profile / Settings and check update debugging.&lt;/P&gt;&lt;P&gt;Once this done, do a F8 and make sure you have free sessions, as update starts in a new window.&lt;/P&gt;&lt;P&gt;Update debugging is about calling FMs in a sequence, you need to find a VBMOD_TABLE, in which all the FMs to be called are stored in sequence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 16:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-in-update-task/m-p/11237770#M1912764</guid>
      <dc:creator>former_member210541</dc:creator>
      <dc:date>2015-09-14T16:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling in Update Task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-in-update-task/m-p/11237771#M1912765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tee Gee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for guidance.&lt;/P&gt;&lt;P&gt;Is application log the only way to record messages in update task or Is there any other mechanism ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Navin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 10:29:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-in-update-task/m-p/11237771#M1912765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-16T10:29:23Z</dc:date>
    </item>
  </channel>
</rss>

