<?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 Catch error messages after submit and return. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318408#M1394015</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;I am using the following statement in my report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit **** eporting list to memory    "   **** is the standard report RSFTP002&lt;/P&gt;&lt;P&gt;                      with ....&lt;/P&gt;&lt;P&gt;                      with ....&lt;/P&gt;&lt;P&gt;                   AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      listobject       = LOBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;       LISTASCI                 =   LASCI&lt;/P&gt;&lt;P&gt;       LISTOBJECT            =   LOBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to catch the output into LASCI.But when there is some message information or error messages then I am not able to catch them. Could you please suggest how to capture the error messages from the standard report which i am submittin in my report. Is there any way to handle this without making changes to standard report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2009 07:37:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-02T07:37:45Z</dc:date>
    <item>
      <title>Catch error messages after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318408#M1394015</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;I am using the following statement in my report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit **** eporting list to memory    "   **** is the standard report RSFTP002&lt;/P&gt;&lt;P&gt;                      with ....&lt;/P&gt;&lt;P&gt;                      with ....&lt;/P&gt;&lt;P&gt;                   AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      listobject       = LOBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;       LISTASCI                 =   LASCI&lt;/P&gt;&lt;P&gt;       LISTOBJECT            =   LOBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to catch the output into LASCI.But when there is some message information or error messages then I am not able to catch them. Could you please suggest how to capture the error messages from the standard report which i am submittin in my report. Is there any way to handle this without making changes to standard report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 07:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318408#M1394015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T07:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Catch error messages after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318409#M1394016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why cant you try to use the standard exceptions from FM which it is having. are you talking about the error message from the function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 07:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318409#M1394016</guid>
      <dc:creator>praveen_hannu</dc:creator>
      <dc:date>2009-11-02T07:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Catch error messages after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318410#M1394017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not the error messages from FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error messages&lt;/STRONG&gt; that are thrown by report RSFTP002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit  RSFTP002 exporting list to memory &lt;/P&gt;&lt;P&gt;with ....&lt;/P&gt;&lt;P&gt;with ....&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;LISTASCI = LASCI&lt;/P&gt;&lt;P&gt;LISTOBJECT = LOBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to catch the output.But when there is some message information or error messages then I am not able to catch them. Could you please suggest how to capture the error messages from the standard report which i am submittin in my report. Is there any way to handle this without making changes to standard report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 08:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318410#M1394017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T08:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Catch error messages after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318411#M1394018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all see if there is any data coming from the ABAP memory.&lt;/P&gt;&lt;P&gt;Try catching the exception in FM "LIST_FROM_MEMORY".&lt;/P&gt;&lt;P&gt;Next there are 2 exceptions in FM "LIST_TO_ASCI"&lt;/P&gt;&lt;P&gt;Try catching them. Then you can come to a conclusion if there is any output messages of the report submitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know the status thereafter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 08:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318411#M1394018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T08:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Catch error messages after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318412#M1394019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes As I mentioned in my first mail , I AM ABLE TO CATCH THE OUTPUT INTO LASCI but not error messages which thrown from the report RSFTP002. How should one catch the error messages from the Submit and return statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 08:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318412#M1394019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T08:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Catch error messages after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318413#M1394020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi, 
&amp;lt;li&amp;gt;You get the error message from &lt;STRONG&gt;RSFTP002&lt;/STRONG&gt;,  we can not find as it is standard program. If errors are gathered and displayed on &lt;STRONG&gt;RSFTP002&lt;/STRONG&gt; output, we can at least try using &lt;STRONG&gt;LIST_FROM_MEMORY&lt;/STRONG&gt;.
&amp;lt;li&amp;gt;There are few possibilities where you can get run time errors. press F1 help on SUBMIT statement you will see the below errors. That too those are non-catchable.  You need to take not happen those runtime errors. 
Check the runtime error list.
&lt;PRE&gt;&lt;CODE&gt;Non-Catchable Exceptions 
Cause: The specified program was not found. 
"Runtime Error: LOAD_PROGRAM_NOT_FOUND 

Cause: You tried to transfer an invalid value to a selection using the addition SIGN. 
"Runtime Error: SUBMIT_WRONG_SIGN 

Cause: The specified program is not a report. 
"Runtime Error: SUBMIT_WRONG_TYPE 

Cause: You tried to transfer more than one value to a report parameter. 
"Runtime Error: SUBMIT_IMPORT_ONLY_PARAMETER 

Cause: You tried to use WITH sel IN itab to transfer a table that does not have the appropriate structure to a selection. 
"Runtime Error: SUBMIT_IN_ITAB_ILL_STRUCTURE 

Cause: You tried to transfer a parameter that cannot be converted to the target field to the selection screen. 
"Runtime Error: SUBMIT_PARAM_NOT_CONVERTIBLE&lt;/CODE&gt;&lt;/PRE&gt; 

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318413#M1394020</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-11-02T09:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Catch error messages after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318414#M1394021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try running the program in background. Any messages by the submitted report also, will be written to spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-messages-after-submit-and-return/m-p/6318414#M1394021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T09:34:52Z</dc:date>
    </item>
  </channel>
</rss>

