<?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: Open SQL Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453086#M1055841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply Raymond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the system log displays the following error&lt;/P&gt;&lt;P&gt;"Database error 12899 at INS access to table ZBAICAL_ORD_HEAD"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it point out the field also "PRINT_FLAG".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the above field is 100% identical in both the servers.&lt;/P&gt;&lt;P&gt;I have thoroughly investigated this part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fieldname,Datatype and length matches perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But system log comments on the length as "(actual : 6 maximum : 3 )" which is not true in both the servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still lost in the problem:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2008 06:44:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-05T06:44:55Z</dc:date>
    <item>
      <title>Open SQL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453083#M1055838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Please help me out for the below issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      Cause: A database error occurred. &lt;/P&gt;&lt;P&gt;      Runtime error: DBIF_RSQL_SQL_ERROR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  Two servers NSA and NDA.&lt;/P&gt;&lt;P&gt;The same piece of code is executing fine in NSA but in NDA&lt;/P&gt;&lt;P&gt;it throws up the above problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Investigation result:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  No database table or field mismatch found.&lt;/P&gt;&lt;P&gt;  No datatype mismatch found&lt;/P&gt;&lt;P&gt;  So cause is so far unknown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;  Not found, please help me out &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 06:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453083#M1055838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T06:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453084#M1055839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at your Dumps (ST22) or Syslog (SM21), you should read an error like "SQL error -913 occurred when accessing table TSP02 ." which give the SQL error code (here 913 in the sample)   and the database table/view impacted (here TSP02).&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Which SQL error code (numeric 3) did you get?&lt;/P&gt;&lt;P&gt;Which table is accessed&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 06:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453084#M1055839</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-09-05T06:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453085#M1055840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check table, address to which causes mistake.&lt;/P&gt;&lt;P&gt;Possible, in NSA it was modified and changes was not transported into NDA.&lt;/P&gt;&lt;P&gt;In any event this table must be absolutely alike for both servers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 06:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453085#M1055840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T06:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453086#M1055841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply Raymond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the system log displays the following error&lt;/P&gt;&lt;P&gt;"Database error 12899 at INS access to table ZBAICAL_ORD_HEAD"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it point out the field also "PRINT_FLAG".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the above field is 100% identical in both the servers.&lt;/P&gt;&lt;P&gt;I have thoroughly investigated this part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fieldname,Datatype and length matches perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But system log comments on the length as "(actual : 6 maximum : 3 )" which is not true in both the servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still lost in the problem:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 06:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453086#M1055841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T06:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453087#M1055842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dzed,&lt;/P&gt;&lt;P&gt; I have invertigated thoroughly all that, everything is fine but still getting the dump in NDA server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 06:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453087#M1055842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T06:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453088#M1055843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is else several thoughts on this cause:&lt;/P&gt;&lt;P&gt;1. table must be activated&lt;/P&gt;&lt;P&gt;2. all data elements (fields) must be similar also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 07:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453088#M1055843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T07:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453089#M1055844</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 error we will get when there is no connection between the two servers. so check properly if the connections are working fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 07:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453089#M1055844</guid>
      <dc:creator>former_member282823</dc:creator>
      <dc:date>2008-09-05T07:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453090#M1055845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ORA-12899 error occurs when the database field is shorter that the data used in the SQL statement. (look at [ Note 591600 - Error due to inappropriate column values|https://service.sap.com/sap/support/notes/591600])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say the field has the correct length, i suppose you refer to the length in the Abap Dictionnary ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe there is a gap between dictionnary and physical database. try to adjust the table via transaction [SE14|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&amp;amp;query=se14&amp;amp;adv=false&amp;amp;sortby=cm_rnd_rankvalue] or call transaction [DB02|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&amp;amp;query=db02&amp;amp;adv=false&amp;amp;sortby=cm_rnd_rankvalue] to check dictionnary vs database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 07:25:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-error/m-p/4453090#M1055845</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-09-05T07:25:00Z</dc:date>
    </item>
  </channel>
</rss>

