<?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: Reg: RSQL error 13 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169279#M1197075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would imagine it has something to do with those duplicate keys - try looping &amp;amp; modifying ZPAY_TABLE  from GT_PAY_TABLE .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2009 18:04:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-17T18:04:18Z</dc:date>
    <item>
      <title>Reg: RSQL error 13</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169278#M1197074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: do not offer points&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting RSQL error 13 runtime error when I am inserting records into the database table from the internal table of the same structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Insert ZPAY_TABLE form table GT_PAY_TABLE accepting duplicate keys"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried even Modify and Update statements Modify is giving 'Invalid Request' error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me the reason  for the error and how to rectify it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;text removed&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suganya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Feb 18, 2009 8:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 17:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169278#M1197074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T17:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: RSQL error 13</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169279#M1197075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would imagine it has something to do with those duplicate keys - try looping &amp;amp; modifying ZPAY_TABLE  from GT_PAY_TABLE .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 18:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169279#M1197075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T18:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: RSQL error 13</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169280#M1197076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Welcome to SDN, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can hit a F1 on Insert statement, there is a link called  prerequisites check that or ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prior to Release 6.10, this raises an exception that cannot be handled; as of Release 6.10, this raises the exception that can be handled CX_SY_OPEN_SQL_DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 18:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169280#M1197076</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-02-17T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: RSQL error 13</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169281#M1197077</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 usually means that you hit the limit for a size of the SQL query. SAP system rewrites your OpenSQL command into SQL query and sends it to DB. The problem is that there is a limit for the size of the SQL query. Hence in some cases SAP system generates larger query than this limit. If you check ABAP documentation for your SQL query then you can find the following sentence there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mass insert: Inserts all lines of table itab in a single operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO I assume that SAP rewrites it into one big INSERT command. So haw many lines does your table have? If there are too many lines you can try to split it into smaller chunks. You can read more about SQL size restriction in this OSS note 635318.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 22:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-rsql-error-13/m-p/5169281#M1197077</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2009-02-17T22:37:23Z</dc:date>
    </item>
  </channel>
</rss>

