<?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 Compare three values. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595649#M594513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m having some 6 values in My internal table i want to compare the value &amp;amp; get the highest value.&lt;/P&gt;&lt;P&gt;I m using field symbol.&lt;/P&gt;&lt;P&gt;How to implement field symbol in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1    Field2&lt;/P&gt;&lt;P&gt;a            12&lt;/P&gt;&lt;P&gt;b            3&lt;/P&gt;&lt;P&gt;c            11&lt;/P&gt;&lt;P&gt;d            16&lt;/P&gt;&lt;P&gt;e             10&lt;/P&gt;&lt;P&gt;f              4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to compare &amp;amp; get the highest value record. here i have to get d   16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanls in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2007 17:45:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-06T17:45:23Z</dc:date>
    <item>
      <title>Compare three values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595649#M594513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m having some 6 values in My internal table i want to compare the value &amp;amp; get the highest value.&lt;/P&gt;&lt;P&gt;I m using field symbol.&lt;/P&gt;&lt;P&gt;How to implement field symbol in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1    Field2&lt;/P&gt;&lt;P&gt;a            12&lt;/P&gt;&lt;P&gt;b            3&lt;/P&gt;&lt;P&gt;c            11&lt;/P&gt;&lt;P&gt;d            16&lt;/P&gt;&lt;P&gt;e             10&lt;/P&gt;&lt;P&gt;f              4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to compare &amp;amp; get the highest value record. here i have to get d   16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanls in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 17:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595649#M594513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T17:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compare three values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595650#M594514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about sorting the table in decending order and reading the first record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;sort itab by field2 descending.
read table itab index 1.
write:/ itab-field1, itab-field2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 17:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595650#M594514</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-06T17:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compare three values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595651#M594515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for ur quick response.&lt;/P&gt;&lt;P&gt;My table is hashed table i cant use index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 17:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595651#M594515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compare three values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595652#M594516</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;sort itab by field2 descending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at itab.&lt;/P&gt;&lt;P&gt; value = d.&lt;/P&gt;&lt;P&gt; value1 = 16.&lt;/P&gt;&lt;P&gt; exit.&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 18:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-three-values/m-p/2595652#M594516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T18:08:49Z</dc:date>
    </item>
  </channel>
</rss>

