<?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: data matching function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921206#M687929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so to you're internal table you add a length field.&lt;/P&gt;&lt;P&gt;put the length of the string for each field&lt;/P&gt;&lt;P&gt;sort you're table on the lenght of the string in reverse order &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if the first match comes it is for the longest fieldvalue that can occur and not for the smallest or undefined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 13:33:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T13:33:30Z</dc:date>
    <item>
      <title>data matching function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921203#M687926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;may i know what function to use if having the below scenario.&lt;/P&gt;&lt;P&gt;i loop an internal table to move code to a variable. when the code in variable match with the code in the string then it is considered match.&lt;/P&gt;&lt;P&gt;my problem now is if the code in variable is ABC and in my string is ABCDDS then it is considered match as ABC is part of the string but in fact i have another code in the internal table which is ABCDDS.&lt;/P&gt;&lt;P&gt;i tried to use CP but cannot work. the code size is 10.&lt;/P&gt;&lt;P&gt;example &lt;/P&gt;&lt;P&gt;in internal table, there are code AAS, ABD, ABC, ABCDDS, ABCW&lt;/P&gt;&lt;P&gt;in the string, 56:091007JENNYUSD200,00&amp;lt;b&amp;gt;ABCDDS&amp;lt;/b&amp;gt;PG607&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 13:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921203#M687926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T13:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: data matching function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921204#M687927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so is it a problem to have 2 matches ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you return a table with records that have matched and/or not I guess ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 13:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921204#M687927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T13:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: data matching function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921205#M687928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;in the string the code is ABCDDS. while loop the code internal table, i use CP to do matching which is not accurrate.&lt;/P&gt;&lt;P&gt;as i said, in the code internal table there are various code: ABC and also ABCDDS. when loop on code ABC, if i use CP, it will consider match as ABC in the string but what i need is the code ABCDDS.&lt;/P&gt;&lt;P&gt;hope you can understand.&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 13:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921205#M687928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T13:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: data matching function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921206#M687929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so to you're internal table you add a length field.&lt;/P&gt;&lt;P&gt;put the length of the string for each field&lt;/P&gt;&lt;P&gt;sort you're table on the lenght of the string in reverse order &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if the first match comes it is for the longest fieldvalue that can occur and not for the smallest or undefined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 13:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-matching-function/m-p/2921206#M687929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T13:33:30Z</dc:date>
    </item>
  </channel>
</rss>

