<?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: Submit: Error messages within called program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520609#M846763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satyabrata,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would not like to copy the program, maintenance will be nightmare then..... &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 11:32:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-13T11:32:53Z</dc:date>
    <item>
      <title>Submit: Error messages within called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520605#M846759</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;I am calling a report with 'SUBMIT' statement... (Submit and Return), the called program has some error message ( MESSAGE e001  ....) and some write statement (WRITE 'Error'    Exit. ) so the control is getting stopped there itself without coming back to calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get back the control to calling program even the called program has error in it???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct answers will be greatly appreciated!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2008 16:41:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520605#M846759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-02T16:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Submit: Error messages within called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520606#M846760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mouna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no way to catch the error messages except from submit scheduling a job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can get the List created using the addition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ... EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does not display the output list of the called report, but saves it in ABAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. You can read the saved list from SAP memory with the function module 'LIST_FROM_MEMORY' and then (for example) store it in the database with EXPORT. You can process this list further with the function modules 'WRITE_LIST', 'DISPLAY_LIST' ... of the function group "SLST". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, of course, still need AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want error messages, u have to use CALL TRANSACTION  ... MESSAGES INTO itab.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2008 17:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520606#M846760</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2008-03-02T17:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Submit: Error messages within called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520607#M846761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any body having any great idea..??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got stucked here itself &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 11:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520607#M846761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-11T11:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Submit: Error messages within called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520608#M846762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Copy the Called program to another custom program and make changes in the error message and remove write statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread can help also:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/2047299#2047299"&gt;http://scn.sap.com/message/2047299#2047299&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 12:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520608#M846762</guid>
      <dc:creator>satyabrata_sahoo3</dc:creator>
      <dc:date>2013-05-11T12:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Submit: Error messages within called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520609#M846763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satyabrata,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would not like to copy the program, maintenance will be nightmare then..... &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 11:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-error-messages-within-called-program/m-p/3520609#M846763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-13T11:32:53Z</dc:date>
    </item>
  </channel>
</rss>

