<?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 Message after submit and return. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-message-after-submit-and-return/m-p/583017#M23198</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Can someone tell me how do i catch the messages/errors thrown while using submit and return. Please note that there is no way by which i can modify the report which i am calling in submit and return. I can just use the report.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Here is my call to the report:- &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;if iv_piecelist is not initial.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;SUBMIT zcheck_quarantine_piecelist&lt;BR /&gt; WITH o_trkorr = iv_piecelist&lt;BR /&gt;AND RETURN.&lt;BR /&gt; &lt;BR /&gt; ELSEIF iv_object is not INITIAL.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; SUBMIT zcheck_quarantine_piecelist&lt;BR /&gt; WITH p_usage = 'X'&lt;BR /&gt;WITH p_hdb = 'X'&lt;BR /&gt; WITH o_objnam = iv_object&lt;BR /&gt; WITH p_object = iv_objecttype&lt;BR /&gt; AND RETURN.&lt;BR /&gt; &lt;BR /&gt; ENDIF.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;This is how i load the output of submit and return :-&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;cl_salv_bs_runtime_info=&amp;gt;get_data_ref( IMPORTING r_data = lr_pay_data ).&lt;BR /&gt; ASSIGN lr_pay_data-&amp;gt;* TO &amp;lt;lt_pay_data&amp;gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 14:33:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-02-05T14:33:03Z</dc:date>
    <item>
      <title>Catch Error Message after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-message-after-submit-and-return/m-p/583017#M23198</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Can someone tell me how do i catch the messages/errors thrown while using submit and return. Please note that there is no way by which i can modify the report which i am calling in submit and return. I can just use the report.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Here is my call to the report:- &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;if iv_piecelist is not initial.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;SUBMIT zcheck_quarantine_piecelist&lt;BR /&gt; WITH o_trkorr = iv_piecelist&lt;BR /&gt;AND RETURN.&lt;BR /&gt; &lt;BR /&gt; ELSEIF iv_object is not INITIAL.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; SUBMIT zcheck_quarantine_piecelist&lt;BR /&gt; WITH p_usage = 'X'&lt;BR /&gt;WITH p_hdb = 'X'&lt;BR /&gt; WITH o_objnam = iv_object&lt;BR /&gt; WITH p_object = iv_objecttype&lt;BR /&gt; AND RETURN.&lt;BR /&gt; &lt;BR /&gt; ENDIF.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;This is how i load the output of submit and return :-&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;cl_salv_bs_runtime_info=&amp;gt;get_data_ref( IMPORTING r_data = lr_pay_data ).&lt;BR /&gt; ASSIGN lr_pay_data-&amp;gt;* TO &amp;lt;lt_pay_data&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 14:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-message-after-submit-and-return/m-p/583017#M23198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-05T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Catch Error Message after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-message-after-submit-and-return/m-p/583018#M23199</link>
      <description>&lt;P&gt;You can't ...&lt;/P&gt;
  &lt;P&gt;Even putting the SUBMIT into a function module and catching error_message doesn't work (as documented).&lt;/P&gt;
  &lt;P&gt;The only way would be calling in background mode and analyze the log afterwards.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 16:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-message-after-submit-and-return/m-p/583018#M23199</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-02-05T16:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Catch Error Message after submit and return.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-message-after-submit-and-return/m-p/583019#M23200</link>
      <description>&lt;P&gt;Yes.. you are right. We used the same method of running a background job of catching and displaying the message.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Many thanks.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Jitesh &lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 10:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-message-after-submit-and-return/m-p/583019#M23200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-22T10:04:44Z</dc:date>
    </item>
  </channel>
</rss>

