<?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: Exception: CX_SY_OPEN_SQL_DB in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660466#M292791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem may be that the SQL statement that you are executing is too large. This can happen if your are filling r_banfn and r_matnr programmatically. You put in too many entries and you get this error. You might check to see if you can use "FOR ALL ENTRIES" instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2006 19:53:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-13T19:53:32Z</dc:date>
    <item>
      <title>Exception: CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660464#M292789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The program cancels with the following mistake in the select of the table EBAN: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mistakes time execution: DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;Exception: CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SELECT is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;  FROM eban&lt;/P&gt;&lt;P&gt;  INTO TABLE t_eban&lt;/P&gt;&lt;P&gt;  WHERE ekgrp IN s_ekgrp AND&lt;/P&gt;&lt;P&gt;             werks IN s_werks AND&lt;/P&gt;&lt;P&gt;             ekorg IN s_ekorg AND&lt;/P&gt;&lt;P&gt;             bsart IN s_bsart AND&lt;/P&gt;&lt;P&gt;             banfn IN r_banfn AND&lt;/P&gt;&lt;P&gt;             matnr IN s_matnr AND&lt;/P&gt;&lt;P&gt;             matnr IN r_matnr AND&lt;/P&gt;&lt;P&gt;             dispo IN s_dispo AND&lt;/P&gt;&lt;P&gt;             ebeln IN s_ebeln AND&lt;/P&gt;&lt;P&gt;             frgzu IN s_frgzu AND&lt;/P&gt;&lt;P&gt;             statu IN s_statu AND&lt;/P&gt;&lt;P&gt;             preis IN s_preis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Aim(Lens) is to modify the select extracting of the conditions the tables r_banfn and r_matnr, after the select to add the necessary thing to eliminate of the table t_eban the records that do not exist in the tables before mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I can do to eliminate these records?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 19:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660464#M292789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T19:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660465#M292790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like the internal table T_EBAN declaration is causing this exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use SELECT *, the you have to declare all tables in the internal table like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF T_EBAN OCCURS 0.&lt;/P&gt;&lt;P&gt;             INCLUDE STRUCTURE EBAN.&lt;/P&gt;&lt;P&gt;DATA:    END OF T_EBAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 19:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660465#M292790</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-11-13T19:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660466#M292791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem may be that the SQL statement that you are executing is too large. This can happen if your are filling r_banfn and r_matnr programmatically. You put in too many entries and you get this error. You might check to see if you can use "FOR ALL ENTRIES" instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 19:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660466#M292791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T19:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660467#M292792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like the issue is not because of data declaration, but because of RANGE field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below forum post, where the sdner had similar issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="86023"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 19:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-cx-sy-open-sql-db/m-p/1660467#M292792</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-11-13T19:58:07Z</dc:date>
    </item>
  </channel>
</rss>

