<?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: ABAP debugging, catch exception in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967692#M1894000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Abdul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, but I cannot modify the code, it was generated "on the fly", as I can see, and provided by SAP's functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Feb 2015 20:27:47 GMT</pubDate>
    <dc:creator>former_member216578</dc:creator>
    <dc:date>2015-02-15T20:27:47Z</dc:date>
    <item>
      <title>ABAP debugging, catch exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967689#M1893997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way for catching exception from "insert &amp;lt;tabname&amp;gt; from table itab" during debugging, if there's no any exception handling in code? I want to know what is the error text to analyze it in more detail. I can't modify a program, because it has been generated automatically (it is a data loading program for BW extractor), so I need any case to insert error handling or get the error message while debug before program exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andrew.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 17:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967689#M1893997</guid>
      <dc:creator>former_member216578</dc:creator>
      <dc:date>2015-02-15T17:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP debugging, catch exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967690#M1893998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a catchable exception which you can try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert &amp;lt;tabname&amp;gt; from table itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;CATCH CX_SY_ITAB_DUPLICATE_KEY.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also non-catchable exceptions which you can refer at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_702/en/abapinsert_itab.htm" title="http://help.sap.com/abapdocu_702/en/abapinsert_itab.htm"&gt;ABAP Keyword Documentation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 18:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967690#M1893998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-15T18:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP debugging, catch exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967691#M1893999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't mention that insert updates a database table, not internal table, and also it has addition: &lt;CODE&gt;&lt;STRONG&gt;INSERT &amp;lt;&lt;/STRONG&gt;DB table&lt;STRONG&gt;&amp;gt; FROM TABLE itab ACCEPTING DUPLICATE KEYS&lt;/STRONG&gt;.&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 20:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967691#M1893999</guid>
      <dc:creator>former_member216578</dc:creator>
      <dc:date>2015-02-15T20:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP debugging, catch exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967692#M1894000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Abdul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, but I cannot modify the code, it was generated "on the fly", as I can see, and provided by SAP's functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 20:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967692#M1894000</guid>
      <dc:creator>former_member216578</dc:creator>
      <dc:date>2015-02-15T20:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP debugging, catch exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967693#M1894001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case if any rows are not inserted then sy-subrc has value 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also if sy-dbcnt has less number of records than total then you can come to know that some records are missed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I think with this command it is not possible to rollback in case of any error &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 21:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-catch-exception/m-p/10967693#M1894001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-15T21:10:36Z</dc:date>
    </item>
  </channel>
</rss>

