<?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 query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798063#M342804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am having an text in the input fiedl based on that i &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am searching the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I ant to use the % &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i retirieive it based ont that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE '%' reason_text '%' INTO reason_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM table  INTO CORRESPONDING FIELDS OF TABLE close_reason&lt;/P&gt;&lt;P&gt;    WHERE reason_text CP reason_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it throws an error meesage &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Dec 2006 13:16:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-11T13:16:54Z</dc:date>
    <item>
      <title>query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798063#M342804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am having an text in the input fiedl based on that i &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am searching the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I ant to use the % &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i retirieive it based ont that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE '%' reason_text '%' INTO reason_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM table  INTO CORRESPONDING FIELDS OF TABLE close_reason&lt;/P&gt;&lt;P&gt;    WHERE reason_text CP reason_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it throws an error meesage &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 13:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798063#M342804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T13:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798064#M342805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Senthil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Patterns: Use LIKE for comparision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select fld1 fld2.... into table itab
     from &amp;lt;itab&amp;gt;
     where fld1 LIKE 'PAT%'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case it should be:&lt;/P&gt;&lt;P&gt;CONCATENATE '%' reason_text '%' INTO reason_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM table INTO CORRESPONDING FIELDS OF TABLE close_reason&lt;/P&gt;&lt;P&gt;WHERE reason_text &amp;lt;b&amp;gt;LIKE&amp;lt;/b&amp;gt; reason_text.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 13:20:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798064#M342805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T13:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798065#M342806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;You could make use of the LIKE addition in the SELECT statement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM table INTO CORRESPONDING FIELDS OF TABLE close_reason&lt;/P&gt;&lt;P&gt;WHERE reason_text LIKE reason_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make your queries more informative&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Wenceslaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 13:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798065#M342806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T13:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798066#M342807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx for u r replies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 13:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798066#M342807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T13:24:07Z</dc:date>
    </item>
  </channel>
</rss>

