<?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: Changing the Error message in the background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822131#M1315144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2011 11:35:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-08T11:35:36Z</dc:date>
    <item>
      <title>Changing the Error message in the background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822128#M1315141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to catch the Error message in the background apart from changing the message type.&lt;/P&gt;&lt;P&gt;Because the error message is coming from a standard function and I want my program should handle the error message. Whether this can be possible if possible can anyone please let me know the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Srinivas Hari on Jun 23, 2009 10:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 08:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822128#M1315141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-23T08:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Error message in the background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822129#M1315142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is not very clear still I am trying to answer this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my understanding is correct you are trying to run a standard function module in background task in your custom program and that FM is giving some error messages but not raising any exceptions and you are trying to catch those exceptions in your program. If that is be the case then yes you can definitely catch that error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1 : Call function 'XXXX' IN BACKGROUND TASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2: Call function 'ID_OF_BACKGROUNDTASK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3: COMMIT WORK and WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 4: Call function 'STATUS_OF_BACKGROUNDTASK' ---&amp;gt; passing the id number which you will receive in Stpe 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the step 4 would return you the error messages which would be visible in Transaction SM58.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somnath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 13:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822129#M1315142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T13:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Error message in the background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822130#M1315143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   You can capture all the error messages in ur program and either download it as a file or capture them on the screen using WRITE statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This screen you can see in the SPOOL after the background jiob is executed.SPOOL transaction: SP01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 13:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822130#M1315143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T13:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Error message in the background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822131#M1315144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 11:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-error-message-in-the-background/m-p/5822131#M1315144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T11:35:36Z</dc:date>
    </item>
  </channel>
</rss>

