<?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: How/Where to Interrogate Database Return Codes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136243#M1818739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tomas and Rurda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is exactly what I was looking for!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 15:58:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-11T15:58:37Z</dc:date>
    <item>
      <title>How/Where to Interrogate Database Return Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136240#M1818736</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 using a SQL INSERT statement to add records to a "Z" table in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than SY_SUBRC, what can I look at to determine the status of the INSERT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I write a record that fails due to a duplicate key, other than SY_SUBRC, what can I look at to tell me the exact cause of the failure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 13:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136240#M1818736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-11T13:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: How/Where to Interrogate Database Return Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136241#M1818737</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;You can check SY-DBCNT which should give you how many records are updated/inserted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 14:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136241#M1818737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-11T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How/Where to Interrogate Database Return Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136242#M1818738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean "Native SQL" with EXEC SQL. ... ENDEXEC. ,then you can (should) catch catchable exceptions from CX_SY_NATIVE_SQL_ERROR &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; From there you will get exact error texts of what happened.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136242#M1818738</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2014-02-11T15:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: How/Where to Interrogate Database Return Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136243#M1818739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tomas and Rurda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is exactly what I was looking for!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-where-to-interrogate-database-return-codes/m-p/10136243#M1818739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-11T15:58:37Z</dc:date>
    </item>
  </channel>
</rss>

