<?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: Skip errors at SUBMIT statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552435#M1658296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It ll be loged but it will not skip it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so only with call transaction you can do this ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what if a programm is not assigned with a transaction code ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2012 10:24:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-01T10:24:51Z</dc:date>
    <item>
      <title>Skip errors at SUBMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552432#M1658293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a very simple problem, which i cannot solve it! i hope you ll help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All i want is to call a programm (report) or a transaction in a loop statement, and when an error occurs, i want to log it somewhere and go to the next line. How is this possible in ABAP?&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>Wed, 01 Feb 2012 08:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552432#M1658293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-01T08:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Skip errors at SUBMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552433#M1658294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think if you run the program in background, message will be logged in job log...please try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 09:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552433#M1658294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-01T09:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Skip errors at SUBMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552434#M1658295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try BDC calls using CALL TRANSACTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL TRANSACTION (tcode) USING    (bdc_table)
                              MODE 'N'
                              UPDATE 'S'
                              MESSAGES  INTO i_lmesstab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_lmesstab contains the messages (error/status/etc) encountered during the BDC call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_lmesstab  should be of TYPE STANDARD TABLE OF bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 09:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552434#M1658295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-01T09:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Skip errors at SUBMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552435#M1658296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It ll be loged but it will not skip it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so only with call transaction you can do this ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what if a programm is not assigned with a transaction code ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 10:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552435#M1658296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-01T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Skip errors at SUBMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552436#M1658297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it still won't skip the error. I think the only solution is to modify the called program to skip errors and continue when called by your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 16:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552436#M1658297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-01T16:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Skip errors at SUBMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552437#M1658298</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;Errors are in place so that the transaction will not continue. What's the use in continuing if you have errors in data? (",)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With CALL TRANSACTION, you get to log all messages encountered by the call transaction statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also use SUBMIT (program) ... AND RETURN statement but I think this will only give you the last error message that terminated the call through SY-SUBRC check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you are using LOOP statement to process a lot of transaction like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT itab INTO wa.
  ...
  CALL TRANSACTION...
  IF sy-subrc IS INITIAL.
    "Transaction ended most probably successfully.
  ENDIF.
  "Check the iMessageTab for the messages encountered
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next line of the internal table itab gets processed anyway regardless if the previous call was successful or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Michael.Sumaya on Feb 2, 2012 9:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 01:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/skip-errors-at-submit-statement/m-p/8552437#M1658298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-02T01:26:57Z</dc:date>
    </item>
  </channel>
</rss>

