<?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:LIKE operator in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008893#M957716</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;u can use like operator in select statement where condition.&lt;/P&gt;&lt;P&gt;may be it is failing because of some other selections. please make sure whether the record with the corresponding selections is available in database or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2008 09:36:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-13T09:36:03Z</dc:date>
    <item>
      <title>Reg:LIKE operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008892#M957715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i use the LIKE operator in Select query to compare the Same field that starts with different values i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE  c_5051 c_%  INTO l_val1.&lt;/P&gt;&lt;P&gt;CONCATENATE  c_5101 c_%  INTO l_val2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT prctr&lt;/P&gt;&lt;P&gt;                    INTO l_prctr&lt;/P&gt;&lt;P&gt;                    FROM bseg UP TO 1 ROWS&lt;/P&gt;&lt;P&gt;                    WHERE matnr = l_matnr&lt;/P&gt;&lt;P&gt;                    AND  belnr  =  l_belnr&lt;/P&gt;&lt;P&gt;                    AND ( hkont LIKE  l_val1&lt;/P&gt;&lt;P&gt;                    OR    hkont LIKE l_val2 ).&lt;/P&gt;&lt;P&gt;    ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is failing even though ther is an entry in BSEG table satisfying hte given condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmasri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 09:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008892#M957715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T09:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:LIKE operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008893#M957716</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;u can use like operator in select statement where condition.&lt;/P&gt;&lt;P&gt;may be it is failing because of some other selections. please make sure whether the record with the corresponding selections is available in database or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 09:36:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008893#M957716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T09:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:LIKE operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008894#M957717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insted of concatenating &lt;/P&gt;&lt;P&gt;CONCATENATE c_5051 c_% INTO l_val1.&lt;/P&gt;&lt;P&gt;CONCATENATE c_5101 c_% INTO l_val2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: c_vla1 type char5 value '5051%',&lt;/P&gt;&lt;P&gt;         c_val2 type char5 value '5101%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avoid the select  endselect .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 09:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008894#M957717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T09:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:LIKE operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008895#M957718</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;&lt;/P&gt;&lt;P&gt;You can use Like operator with select queries.&lt;/P&gt;&lt;P&gt;You should first check if there are any matching records.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;rishika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 09:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-like-operator/m-p/4008895#M957718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T09:57:22Z</dc:date>
    </item>
  </channel>
</rss>

