<?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 In Where clause String comparison in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766479#M644338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Request for help in regard to the select statement where clause Ex:(Select single name into v_name from XYZ where text = string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String and text data types are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String will have only 3 char and text will have 40 char of length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of 40 char I would like the where clause to search any of the 3 char and fetch the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my question is clear and can expect help on this regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Azhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2007 03:09:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-18T03:09:35Z</dc:date>
    <item>
      <title>In Where clause String comparison</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766479#M644338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Request for help in regard to the select statement where clause Ex:(Select single name into v_name from XYZ where text = string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String and text data types are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String will have only 3 char and text will have 40 char of length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of 40 char I would like the where clause to search any of the 3 char and fetch the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my question is clear and can expect help on this regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Azhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 03:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766479#M644338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T03:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: In Where clause String comparison</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766480#M644339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select single name into v_name from XYZ where text LIKE string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 03:28:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766480#M644339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T03:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: In Where clause String comparison</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766481#M644340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried with like in where clause, it does not work my scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will not be comparing the complete string, only single char...in the table field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 12:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766481#M644340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T12:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: In Where clause String comparison</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766482#M644341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Azhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use % with the like in the where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: string = 'chandra' vendor name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from lfa1 into table it_lfa1 where name1 like cha% .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 13:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766482#M644341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T13:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: In Where clause String comparison</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766483#M644342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The string which will be in where clause will be dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried %string%, &lt;STRONG&gt;String&lt;/STRONG&gt;, &lt;STRONG&gt;+String&lt;/STRONG&gt;, &lt;STRONG&gt;+String_&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For ABAP we should use *, +, _ only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through the SAP Help to get the above info...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my requirement will not fit with this options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 17:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-where-clause-string-comparison/m-p/2766483#M644342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T17:16:47Z</dc:date>
    </item>
  </channel>
</rss>

