<?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: Catching all message errors after submit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001958#M76671</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;If the report you have developed is a customized one then you can handle this problem very simply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your report when ever there is an error condition happens to occur then do populate it an internal table and before you come back export it to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in your FM import the same and check the contents of the internal table and if it is not initial then raise error_message exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now loop at the internal table outside the FM and display the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2005 09:53:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-15T09:53:47Z</dc:date>
    <item>
      <title>Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001957#M76670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'll try to explain my situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have report which generating two message errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE E080(MM).  "error N.1&lt;/P&gt;&lt;P&gt;MESSAGE S305(M3).  "error N.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I have my own function module that submiting this report like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit (REPNAME) with selection-table seltab &lt;/P&gt;&lt;P&gt;                 exporting list to memory &lt;/P&gt;&lt;P&gt;                 and return. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using extended syntax(default exception ERROR_MESSAGE) of call function to catch message errors from submit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function FM &lt;/P&gt;&lt;P&gt;     exceptions ERROR_MESSAGE. &lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;  MESSAGE ID sy-msgid TYPE sy-msgty  " We have a message!&lt;/P&gt;&lt;P&gt;          NUMBER sy-msgno &lt;/P&gt;&lt;P&gt;          INTO msg_text.  &lt;/P&gt;&lt;P&gt;  write: 'Error', msg_txt. &lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all of this, I can't really get what I want.&lt;/P&gt;&lt;P&gt;There are two problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The first error in report show me a report selection screen with error message of the type 'E' in a status bar, but I don't need this. Also, I caught this error with my FM and that is good. &lt;/P&gt;&lt;P&gt;2) The second error show me nothing, but I can't get the error message with my FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me with that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2005 09:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001957#M76670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-15T09:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001958#M76671</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;If the report you have developed is a customized one then you can handle this problem very simply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your report when ever there is an error condition happens to occur then do populate it an internal table and before you come back export it to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in your FM import the same and check the contents of the internal table and if it is not initial then raise error_message exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now loop at the internal table outside the FM and display the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2005 09:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001958#M76671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-15T09:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001959#M76672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your suggestion, but this problem is not problem of one report. There are may be many no customized reports with different message errors and I have to catch all of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2005 10:19:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001959#M76672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-15T10:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001960#M76673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vitaly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when you change your fm to submit report &lt;/P&gt;&lt;P&gt;in batch , so that you get all error in job log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) fm job_open&lt;/P&gt;&lt;P&gt;2) submit Z123...&lt;/P&gt;&lt;P&gt;USER 'XYZ'&lt;/P&gt;&lt;P&gt;with...&lt;/P&gt;&lt;P&gt;3) fm job_close&lt;/P&gt;&lt;P&gt;4) fm BP_JOBLOG_READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2005 10:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001960#M76673</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-15T10:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001961#M76674</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;If there are lot of places where in you might raise an error then it will be advisable to send a mail to SAP shared folder so that at each and every point where ever you raise error you can post a mail with a relevant message from the program being submitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2005 10:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001961#M76674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-15T10:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001962#M76675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to Jagathguru Chandrasekharan  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;You mean that I need to send mail every time I want to send an error in report? If so, I can't modify reports. I don't really know what report I will call next time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2005 13:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001962#M76675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-15T13:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001963#M76676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to Andreas Mann  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you for your advise, but I still have one problem - everytime I get selection screen of the report with message error type 'E' even in the job mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2005 13:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001963#M76676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-15T13:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001964#M76677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a continue for my last message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to suppress report selection screen with error by next call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit (REPNAME) with selection-table seltab&lt;/P&gt;&lt;P&gt;                 to sap-spool&lt;/P&gt;&lt;P&gt;                 user 'USER_ND' via job 'SUBMIT_REPORT' number jc&lt;/P&gt;&lt;P&gt;                 and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USER_ND - is 'system' type of user, i.e. dialog-free user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I still have selection screen while 'E' error! What is it? What I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2005 14:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001964#M76677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-15T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Catching all message errors after submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001965#M76678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Koteswar Rao Arvapally on Nov 13, 2009 2:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 01:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-all-message-errors-after-submit/m-p/1001965#M76678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T01:29:08Z</dc:date>
    </item>
  </channel>
</rss>

