<?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>Question Re: SQL Error -302 while inserting into database table in Additional Q&amp;A</title>
    <link>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052139#M116325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Kindly check this SAP Notes&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1630161" title="1630161  - DB2 Error SQL0302N loading data - Data Services"&gt;&lt;SPAN class="title"&gt;1630161 - DB2 Error SQL0302N loading data - Data Services&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1102641" title="1102641  - Consult: Dump during insert in PSA table due to incorr vals"&gt;&lt;SPAN class="title"&gt;1102641 - Consult: Dump during insert in PSA table due to incorr vals&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Feb 2014 18:29:41 GMT</pubDate>
    <dc:creator>S_Sriram</dc:creator>
    <dc:date>2014-02-01T18:29:41Z</dc:date>
    <item>
      <title>SQL Error -302 while inserting into database table</title>
      <link>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaq-p/10052137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure if my concern is located correctly here, however I would like to have your comments on the following issue I am encountering on a SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system is running on a DB6 database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database table and I want to insert a new tuple there. The work area used in the open SQL insert statement is typed as the database table. Hence from a data type perspective, the runtime environment should take care that all values in the work area correspond accordingly to the schema of the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am receiving a short dump stating the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sql error -302&amp;nbsp;&amp;nbsp; performing INS on table DATABASE_TABLE_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [dbtrtab#3770]&lt;/P&gt;&lt;P&gt;SQL0302N&amp;nbsp; The value of a host variable in the EXECUTE or OPEN statement is out of range for its corresponding use.&amp;nbsp; SQLSTATE=22003 row=1 [dbtrtab#3770]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have investigated in the debugger whether this is a corrupt value or something similar, but was not able to find any suspicious field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no clue how to proceed. Is there any possibility to examine which component of the work area causes the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance and looking forward to a discussion with you all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaq-p/10052137</guid>
      <dc:creator>former_member186608</dc:creator>
      <dc:date>2014-01-29T15:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error -302 while inserting into database table</title>
      <link>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052138#M116324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you check the solution in link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://publib.boulder.ibm.com/infocenter/cmx/v8r3m0/index.jsp?topic=%2Fcom.ibm.sysadmin.hlp%2Ftrs20002.htm" title="http://publib.boulder.ibm.com/infocenter/cmx/v8r3m0/index.jsp?topic=%2Fcom.ibm.sysadmin.hlp%2Ftrs20002.htm"&gt;http://publib.boulder.ibm.com/infocenter/cmx/v8r3m0/index.jsp?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://publib.boulder.ibm.com/infocenter/cmx/v8r3m0/index.jsp?topic=%2Fcom.ibm.sysadmin.hlp%2Ftrs20002.htm" style="font-size: 10pt;" title="http://publib.boulder.ibm.com/infocenter/cmx/v8r3m0/index.jsp?topic=%2Fcom.ibm.sysadmin.hlp%2Ftrs20002.htm"&gt;topic=%2Fcom.ibm.sysadmin.hlp%2Ftrs20002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak Kori&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 07:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052138#M116324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-30T07:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error -302 while inserting into database table</title>
      <link>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052139#M116325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Kindly check this SAP Notes&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1630161" title="1630161  - DB2 Error SQL0302N loading data - Data Services"&gt;&lt;SPAN class="title"&gt;1630161 - DB2 Error SQL0302N loading data - Data Services&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1102641" title="1102641  - Consult: Dump during insert in PSA table due to incorr vals"&gt;&lt;SPAN class="title"&gt;1102641 - Consult: Dump during insert in PSA table due to incorr vals&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2014 18:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052139#M116325</guid>
      <dc:creator>S_Sriram</dc:creator>
      <dc:date>2014-02-01T18:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error -302 while inserting into database table</title>
      <link>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052140#M116326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ram and Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your hints.&lt;BR /&gt;I had a look at the documentation and notes you provided and found the following strange issue in the ABAP debugger:&lt;/P&gt;&lt;P&gt;I have a component of a structure typed as the data element PEMKURS. The underlying domain is DEC3_7 which consists of at maximum three digits left of the comma.&lt;/P&gt;&lt;P&gt;However, at runtime my logic stores the value 1000.0000000 into this field. Afterwards while the INSERT statement the database error comes up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my perspective, this is a strange behaviour of the runtime environment and should lead to an exception while the value is given to that component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 15:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052140#M116326</guid>
      <dc:creator>former_member186608</dc:creator>
      <dc:date>2014-02-03T15:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error -302 while inserting into database table</title>
      <link>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052141#M116327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem with DEC3_7 I have a function which returns the value of TB_YIELD but the value could be greater than 999.9999999 and if I store to datebase I got the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you found a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MArcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 09:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sql-error-302-while-inserting-into-database-table/qaa-p/10052141#M116327</guid>
      <dc:creator>marcus_schug1</dc:creator>
      <dc:date>2016-03-17T09:06:15Z</dc:date>
    </item>
  </channel>
</rss>

