<?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 OPEN SQL WHERE CLAUSE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-where-clause/m-p/5181925#M1199552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do a select to the EDIDC table as follows:&lt;/P&gt;&lt;P&gt;    CONCATENATE '%' wa_idocs-idocfuente '%' INTO idockey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT SINGLE docnum status&lt;/P&gt;&lt;P&gt;    INTO (wa_idocs-idocdestino,wa_idocs-statusdest)&lt;/P&gt;&lt;P&gt;    FROM edidc&lt;/P&gt;&lt;P&gt;    WHERE arckey LIKE idockey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now this is very poor performance query, now the problem is that the arckey field is a string field, now does anyone nows a more efficient way to do this, we are evaluating an Index but that would mean more space, thanks for any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2009 01:46:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-24T01:46:34Z</dc:date>
    <item>
      <title>OPEN SQL WHERE CLAUSE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-where-clause/m-p/5181925#M1199552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do a select to the EDIDC table as follows:&lt;/P&gt;&lt;P&gt;    CONCATENATE '%' wa_idocs-idocfuente '%' INTO idockey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT SINGLE docnum status&lt;/P&gt;&lt;P&gt;    INTO (wa_idocs-idocdestino,wa_idocs-statusdest)&lt;/P&gt;&lt;P&gt;    FROM edidc&lt;/P&gt;&lt;P&gt;    WHERE arckey LIKE idockey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now this is very poor performance query, now the problem is that the arckey field is a string field, now does anyone nows a more efficient way to do this, we are evaluating an Index but that would mean more space, thanks for any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 01:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-where-clause/m-p/5181925#M1199552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T01:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN SQL WHERE CLAUSE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-where-clause/m-p/5181926#M1199553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;STRONG&gt;selopt&lt;/STRONG&gt; std. structure and build a range table and use that....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selopt-sign = 'E'.
selopt-option = 'CP'.
concatenate '*' wa_itab-value '*' into selopt-low.

append selopt.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select......where value in selopt.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 02:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-where-clause/m-p/5181926#M1199553</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-02-24T02:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN SQL WHERE CLAUSE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-where-clause/m-p/5181927#M1199554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for you answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 16:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-where-clause/m-p/5181927#M1199554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-30T16:17:21Z</dc:date>
    </item>
  </channel>
</rss>

