<?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: Search in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961003#M1602802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Try Select all into an internal table and then replace all 'À' with 'A' etc.  then use Read Table to get the result you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2011 07:05:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-03T07:05:29Z</dc:date>
    <item>
      <title>Search</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7960999#M1602798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have to look for employees in the table PA0002  by name and first name.&lt;/P&gt;&lt;P&gt;I need that the searching without taking into account the accents, for example  the results for 'JUAN' and 'JUÁN' must be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rigth now I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data l_nombre type string.&lt;/P&gt;&lt;P&gt;l_nombre  = &lt;STRONG&gt;'JUAN'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and in PA0002 I have an employee whose name is &lt;STRONG&gt;JUÁN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from pa002&lt;/P&gt;&lt;P&gt;where vorna like l_nombre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get 0 matches and I shouid get the the employee 'JUÁN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 16:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7960999#M1602798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T16:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961000#M1602799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know of this will work, but you can try the fileds NCHMC and VNAMC instead of NACHN and VORNA. At least they're already in upper case. So this will at least eliminate that problem. And there is a secondary index on these fields, so that will improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing some testing, this suggestion will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jun 2, 2011 2:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 16:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961000#M1602799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T16:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Search</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961001#M1602800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all: The subject &lt;EM&gt;&lt;STRONG&gt;Search&lt;/STRONG&gt;&lt;/EM&gt; is against any rule. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you search for 'JUAN' you will not find  'JUÁN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to allow similar entries, you can select all names and send them through Function module RS_COMPARE_WORDS_SIMILAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is only about accents, you may create an algorithm that will put a search term like 'JUAN' into a range containing JÚAN, JÙAN,JUAN,JÚÁN, JÙÀN,JÙÀN,..., just all possible combinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The algorithm will be recursive: Take a SEARCH term, find next vowel, create all search terms with a variation of the vowel (A,À and À for A) then apply this for all vaiations starting after first vowel. I think in Spanish you have also N and ñ that should be considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 17:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961001#M1602800</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-06-02T17:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961002#M1602801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do the following: (if table is not very big)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select all the fields of the table INTO it_table&lt;/P&gt;&lt;P&gt;2. REPLACE ALL OCCURRENCES OF 'é' IN it_table WITH 'e'. (repeat for all vowels)&lt;/P&gt;&lt;P&gt;3. SEARCH your name in it_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 06:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961002#M1602801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-03T06:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961003#M1602802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Try Select all into an internal table and then replace all 'À' with 'A' etc.  then use Read Table to get the result you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 07:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search/m-p/7961003#M1602802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-03T07:05:29Z</dc:date>
    </item>
  </channel>
</rss>

