<?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: SQL error &amp;quot;-2&amp;quot; occured when executing EXEC SQL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537847#M245293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also.. post the native SQL code so we can help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2006 12:59:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-29T12:59:09Z</dc:date>
    <item>
      <title>SQL error "-2" occured when executing EXEC SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537844#M245290</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;An error occured when executing a shipment transaction.&lt;/P&gt;&lt;P&gt;There is a native SQL code written in a Z function module,where the dump occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime errors:DBIF_DSQL2_SQL_ERROR&lt;/P&gt;&lt;P&gt;Exception:CX_SY_NATIVE_SQL_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error points to a selection from a different database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide ur suggestion regarding this dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 12:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537844#M245290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T12:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error "-2" occured when executing EXEC SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537845#M245291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi priya,&lt;/P&gt;&lt;P&gt;check out this link...&lt;/P&gt;&lt;P&gt;&lt;A href="http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1115445_tax299330,00.html?bucket=ETA&amp;amp;topic=299330" target="test_blank"&gt;http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1115445_tax299330,00.html?bucket=ETA&amp;amp;topic=299330&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the note 594508 may be helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if it is helpful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 12:53:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537845#M245291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T12:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error "-2" occured when executing EXEC SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537846#M245292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are mostly some clother information the in developer trace (transaction ST11) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- call the program and let it dump &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- take a look in the short dump to get the number of the workprocess&lt;/P&gt;&lt;P&gt;- go to the ST11 and double click to the file dev_wxx, where xx is the number from step 2&lt;/P&gt;&lt;P&gt;- go to the end of the list &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 12:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537846#M245292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error "-2" occured when executing EXEC SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537847#M245293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also.. post the native SQL code so we can help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 12:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537847#M245293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T12:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error "-2" occured when executing EXEC SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537848#M245294</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; This is because the maximum number of secondary database connections was exceeded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 13:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537848#M245294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T13:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error "-2" occured when executing EXEC SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537849#M245295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The native SQL code where it dumped was,&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;              SELECT SHIPMENT_STATUS INTO :SHIP_STATUS&lt;/P&gt;&lt;P&gt;              FROM SHIPMENT_DN@PROD_ITP DN,  SHIPMENT_ID@PROD_ITP ID&lt;/P&gt;&lt;P&gt;              WHERE ID.SHIP_ID_TYPE = 5&lt;/P&gt;&lt;P&gt;              AND ID.EXTERNAL_SHIP_ID = :ITSHIPID&lt;/P&gt;&lt;P&gt;              AND ID.SHIPMENT_HANDLE = DN.SHIPMENT_HANDLE&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 13:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-quot-2-quot-occured-when-executing-exec-sql/m-p/1537849#M245295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T13:46:34Z</dc:date>
    </item>
  </channel>
</rss>

