<?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: How to get errors from a function called IN BACKGROUND TASK AS SEPARATE UNIT ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499738#M17214</link>
    <description>&lt;P&gt;Hi AAH... &lt;/P&gt;
  &lt;P&gt;I have not the solution, but instead creating custom table, why don't you use the BAL_LOG ? &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://wiki.scn.sap.com/wiki/display/Snippets/Application+Logging+in+SAP+Using+ABAP" target="test_blank"&gt;https://wiki.scn.sap.com/wiki/display/Snippets/Application+Logging+in+SAP+Using+ABAP&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;regards&lt;/P&gt;
  &lt;P&gt;Fred&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2017 08:32:16 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2017-11-16T08:32:16Z</dc:date>
    <item>
      <title>How to get errors from a function called IN BACKGROUND TASK AS SEPARATE UNIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499736#M17212</link>
      <description>&lt;P&gt;Hi gurus,&lt;/P&gt;
  &lt;P&gt;We have placed a call to a function IN BACKGROUND TASK AS SEPARATE UNIT in a user exit (SD Invoices). This function updates another document (SD Shipment).&lt;/P&gt;
  &lt;P&gt;The thing is that, sometimes, this update can not be done due to some reasons (Document is blocked for another user, authorizations...) and we would like to know how to get the error messages in this cases. The update is done via BAPI and we have the RETURN tab, but as it runs in background task, how to know that the BAPI returned error messages?&lt;/P&gt;
  &lt;P&gt;Is there a log (System log, RFC log...) where the errors are posted by the system?&lt;/P&gt;
  &lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 13:17:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499736#M17212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-07T13:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get errors from a function called IN BACKGROUND TASK AS SEPARATE UNIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499737#M17213</link>
      <description>&lt;P&gt;Nothing found for this. So I've added a bit of code to get the error messages returned from the BAPI called in Background and save them into a new custom table for later check.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 08:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499737#M17213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-16T08:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get errors from a function called IN BACKGROUND TASK AS SEPARATE UNIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499738#M17214</link>
      <description>&lt;P&gt;Hi AAH... &lt;/P&gt;
  &lt;P&gt;I have not the solution, but instead creating custom table, why don't you use the BAL_LOG ? &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://wiki.scn.sap.com/wiki/display/Snippets/Application+Logging+in+SAP+Using+ABAP" target="test_blank"&gt;https://wiki.scn.sap.com/wiki/display/Snippets/Application+Logging+in+SAP+Using+ABAP&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;regards&lt;/P&gt;
  &lt;P&gt;Fred&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 08:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499738#M17214</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2017-11-16T08:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get errors from a function called IN BACKGROUND TASK AS SEPARATE UNIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499739#M17215</link>
      <description>&lt;P&gt;You're are totally right. This was another option for us, but we decided to use the table cause it is easier to troubleshoot and hopefully in the future we we'll remove it.&lt;/P&gt;
  &lt;P&gt;Thanks for the suggestion!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 08:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499739#M17215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-16T08:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get errors from a function called IN BACKGROUND TASK AS SEPARATE UNIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499740#M17216</link>
      <description>&lt;P&gt;Fred's idea is good but is there a mechanism that intimates the user about the error logs in SLG0/1.Usually,end users will not be having access to SLG0/1.&lt;/P&gt;
  &lt;P&gt;K.Kiran.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 08:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499740#M17216</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2017-11-16T08:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get errors from a function called IN BACKGROUND TASK AS SEPARATE UNIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499741#M17217</link>
      <description>&lt;P&gt;maybe a specific job that scan the BAL_LOG and send a mail in the Business Workplace of the corresponding user ...&lt;/P&gt;
  &lt;P&gt;sometimes people used IDOC to manage Background task / log / re-run .. &lt;/P&gt;
  &lt;P&gt;fred&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 08:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-errors-from-a-function-called-in-background-task-as-separate/m-p/499741#M17217</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2017-11-16T08:46:16Z</dc:date>
    </item>
  </channel>
</rss>

