<?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: Please help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/1850456#M360332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;batch date u have to sort by descending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY MATNR STORAGEBIN BATCH &amp;lt;b&amp;gt; descending.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Feb 2007 05:39:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-04T05:39:49Z</dc:date>
    <item>
      <title>Please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/1850454#M360330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using LINV table in my select stat. I'd like to satisfy this condition that ( if matnr, batch and storage bin are same then it should pick only one latest record).  Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;storage bin     matnr                       batch                 date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10009            10000121                                           31.03.2003          10009            10000121                                           01.04.2003&lt;/P&gt;&lt;P&gt;10010            10000121                                           01.04.2003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the result should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;storage bin     matnr                      batch                 date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10009         10000121                                           01.04.2003&lt;/P&gt;&lt;P&gt;10010         10000121                                           01.04.2003&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 04:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/1850454#M360330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-04T04:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/1850455#M360331</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;For doing this first u need to sort ur internal table records by first 3 fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY MATNR STORAGEBIN BATCH .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will bring all your fields in descending order with batchdate also sorted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM ITAB COMPARING MATNR STORAGEBIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will delete all ur records which are having same MATNR STORAGEBIN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will have your highest date record at the top&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please award points if this solves your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 05:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/1850455#M360331</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2007-02-04T05:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/1850456#M360332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;batch date u have to sort by descending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY MATNR STORAGEBIN BATCH &amp;lt;b&amp;gt; descending.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 05:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/1850456#M360332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-04T05:39:49Z</dc:date>
    </item>
  </channel>
</rss>

