<?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: filter in internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712690#M1106932</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;First sort your internal table descending based on changed date and time and&lt;/P&gt;&lt;P&gt;then use this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from itab comparing ebeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2008 05:38:08 GMT</pubDate>
    <dc:creator>GauthamV</dc:creator>
    <dc:date>2008-11-17T05:38:08Z</dc:date>
    <item>
      <title>filter in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712689#M1106931</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 below table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EBELN		UDATE	UTIME	USERNAME	EBELP	ERNAM	GRNAM	CHANGEDBY&lt;/P&gt;&lt;P&gt;4500016284		20081113	132504	SIVAK	10	INDIRAS	SIVAK	&lt;/P&gt;&lt;P&gt;4500016284		20081113	145020	SIVAK	10	INDIRAS	SIVAK	&lt;/P&gt;&lt;P&gt;4500016284		20081111	104220	POTEST	10	INDIRAS	SIVAK	&lt;/P&gt;&lt;P&gt;4500016284		20081111	104756	INDIRAS	10	INDIRAS	SIVAK	&lt;/P&gt;&lt;P&gt;4500016284		20081113	132504	SIVAK	20	INDIRAS	INDIRAS	&lt;/P&gt;&lt;P&gt;4500016284		20081113	145020	SIVAK	20	INDIRAS	INDIRAS	SIVAK&lt;/P&gt;&lt;P&gt;4500016284		20081111	104220	POTEST	20	INDIRAS	INDIRAS	SIVAK&lt;/P&gt;&lt;P&gt;4500016284		20081111	104756	INDIRAS	20	INDIRAS	INDIRAS	&lt;/P&gt;&lt;P&gt;4500016284		20081113	132504	SIVAK	10	INDIRAS	SIVAK	&lt;/P&gt;&lt;P&gt;4500016284		20081113	145020	SIVAK	10	INDIRAS	SIVAK	POTEST&lt;/P&gt;&lt;P&gt;4500016284		20081111	104220	POTEST	10	INDIRAS	SIVAK	POTEST&lt;/P&gt;&lt;P&gt;4500016284		20081111	104756	INDIRAS	10	INDIRAS	SIVAK	POTEST&lt;/P&gt;&lt;P&gt;4500016285		20081113	144549	SIVAK	10	POTEST	INDIRAS	&lt;/P&gt;&lt;P&gt;4500016285		20081111	104608	INDIRAS	10	POTEST	INDIRAS	&lt;/P&gt;&lt;P&gt;4500016286		20081113	143824	SIVAK	10	POTEST	SIVAK	SIVAK&lt;/P&gt;&lt;P&gt;4500016286		20081111	111303	INDIRAS	10	POTEST	SIVAK	SIVAK&lt;/P&gt;&lt;P&gt;4500016286		20081113	143824	SIVAK	10	POTEST	SIVAK	SIVAK&lt;/P&gt;&lt;P&gt;4500016286		20081111	111303	INDIRAS	10	POTEST	SIVAK	&lt;/P&gt;&lt;P&gt;4500016287		20081115	214509	POTEST	10	POTEST	INDIRAS	SIVAK&lt;/P&gt;&lt;P&gt;4500016287		20081115	214146	INDIRAS	10	POTEST	INDIRAS	SIVAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this table i want unique lineitems for the corresponding order&lt;/P&gt;&lt;P&gt;but the latest  changed by name should be displayed for this unique record and&lt;/P&gt;&lt;P&gt;if the changed by field is no present then it should show the latest unique line item &lt;/P&gt;&lt;P&gt;please suggest the needful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 05:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712689#M1106931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T05:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: filter in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712690#M1106932</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;First sort your internal table descending based on changed date and time and&lt;/P&gt;&lt;P&gt;then use this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from itab comparing ebeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 05:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712690#M1106932</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-11-17T05:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: filter in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712691#M1106933</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; Initially I can suggest you one thing make utility of SORT ITAB BY &amp;lt;field name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 05:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712691#M1106933</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-11-17T05:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: filter in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712692#M1106934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
sort itab DESCENDING.

delete ADJACENT DUPLICATES FROM itab 
            COMPARING  ebeln utime.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debarshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 05:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712692#M1106934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T05:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: filter in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712693#M1106935</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;You can do as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

sort itab by EBELN UDATE descending.

delete adjacent duplicates from itab comparing ebeln.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram POnna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 06:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712693#M1106935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T06:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: filter in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712694#M1106936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this table i want unique lineitems for the corresponding order&lt;/P&gt;&lt;P&gt;but the latest changed by name should be displayed for this unique record and&lt;/P&gt;&lt;P&gt;if the changed by field is no present then it should show the latest unique line item &lt;/P&gt;&lt;P&gt;please suggest the needful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what ever may be the value for changed by name you need unique lineitems (right)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. sort itab by  &lt;/P&gt;&lt;P&gt;EBELN &lt;/P&gt;&lt;P&gt;UDATE descending&lt;/P&gt;&lt;P&gt;UTIME  descending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. delete adjacent duplicates from itab comparing ebeln&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 06:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712694#M1106936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T06:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: filter in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712695#M1106937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prakash, &lt;/P&gt;&lt;P&gt;        First you sort the table on ( EBELN UDATE UTIME ) these combination and finally used this statement &lt;/P&gt;&lt;P&gt;                   DELETE ADJACENT DUPLICATES FROM itab  COMPARING  ebeln utime and mould the itab as per requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 07:31:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-in-internal-table/m-p/4712695#M1106937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T07:31:19Z</dc:date>
    </item>
  </channel>
</rss>

