<?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 logic required in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/3299958#M789934</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;&lt;/P&gt;&lt;P&gt;  I have a list of OBJNR in the Internal table ItabA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to fetch maximum of Counter from the table IHPA&lt;/P&gt;&lt;P&gt;for all the entries in the table ItabA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one pls give the logic for this without writing select statement in a loop of itabA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2008 10:16:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-25T10:16:28Z</dc:date>
    <item>
      <title>logic required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/3299958#M789934</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;&lt;/P&gt;&lt;P&gt;  I have a list of OBJNR in the Internal table ItabA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to fetch maximum of Counter from the table IHPA&lt;/P&gt;&lt;P&gt;for all the entries in the table ItabA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one pls give the logic for this without writing select statement in a loop of itabA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/3299958#M789934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: logic required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/3299959#M789935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FOR ALL ENTRIES IN option in select statement.&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;sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/3299959#M789935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: logic required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/3299960#M789936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from IHPA into table itab2 for all entries in itaba&lt;/P&gt;&lt;P&gt;where objnr eq itaba-objnr.&lt;/P&gt;&lt;P&gt;sort itab2 by objnr counter descending.&lt;/P&gt;&lt;P&gt;delete adjacent  duplicates from itab2 comparing objnr counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve ur problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/3299960#M789936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:20:07Z</dc:date>
    </item>
  </channel>
</rss>

