<?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: Long String in Select-Where condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207585#M1522178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checked condition using primary key external id&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Sep 2010 11:37:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-07T11:37:06Z</dc:date>
    <item>
      <title>Long String in Select-Where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207583#M1522176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ABAP. I want fetch some data from table DPR_OBJLINK. but when I write a following query, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; select external_id into lv_external_id from dpr_objlink
where object_key = lv_object_key&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The Field Object_key is long string, so it can not be used in where, on and having conditions.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks &amp;amp; regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prashant&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 05:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207583#M1522176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T05:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Long String in Select-Where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207584#M1522177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use table fields of type STRING in the WHERE clause. Read SAP documentation, it is documented there: [http://help.sap.com/abapdocu_70/en/ABAPWHERE.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 05:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207584#M1522177</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-08-06T05:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Long String in Select-Where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207585#M1522178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checked condition using primary key external id&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 11:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207585#M1522178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T11:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Long String in Select-Where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207586#M1522179</link>
      <description>&lt;P&gt;This kind of is what the author of the question said. It is the problem.&lt;/P&gt;&lt;P&gt;ABAP Help:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Except for columns of type STRING, RAWSTRING, or GEOM_EWKB, or LCHR and LRAW, all columns of the data sources specified after FROM can usually be evaluated in the WHERE condition of a query.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But what is/are the way(s) to solve that?&lt;/P&gt;&lt;P&gt;Do we have to retrieve the field completely and process it in ABAP?&lt;/P&gt;&lt;P&gt;Do we have to use native SQL?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 08:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-string-in-select-where-condition/m-p/7207586#M1522179</guid>
      <dc:creator>su01</dc:creator>
      <dc:date>2022-06-09T08:31:52Z</dc:date>
    </item>
  </channel>
</rss>

