<?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 Sort itab by another itab? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-itab-by-another-itab/m-p/2760971#M642731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have 2 itabs: itab0 with matnr and lgpbe. itab1 with matnr matkl brgew.&lt;/P&gt;&lt;P&gt;it sort itab0 by lgpbe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possiple to sort itab1 like itab0 without having lgpbe and without changing&lt;/P&gt;&lt;P&gt;the entries of itab1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i look for any like "sort itab1 by itab0-matnr"???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2007 18:02:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-29T18:02:33Z</dc:date>
    <item>
      <title>Sort itab by another itab?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-itab-by-another-itab/m-p/2760971#M642731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have 2 itabs: itab0 with matnr and lgpbe. itab1 with matnr matkl brgew.&lt;/P&gt;&lt;P&gt;it sort itab0 by lgpbe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possiple to sort itab1 like itab0 without having lgpbe and without changing&lt;/P&gt;&lt;P&gt;the entries of itab1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i look for any like "sort itab1 by itab0-matnr"???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 18:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-itab-by-another-itab/m-p/2760971#M642731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T18:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sort itab by another itab?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-itab-by-another-itab/m-p/2760972#M642732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of any way like you suggest, but you could loop through itab0 and read itab1 using matnr and put the results into a new itab. You will have to add extra coding if there are duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 18:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-itab-by-another-itab/m-p/2760972#M642732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T18:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sort itab by another itab?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-itab-by-another-itab/m-p/2760973#M642733</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 cannot use sort statement like this.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  how ever.. just do this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   loop at itab0.&lt;/P&gt;&lt;P&gt;   loop at itab1 where matnr  = itab0=matnr.&lt;/P&gt;&lt;P&gt;   itab2 = itab1.&lt;/P&gt;&lt;P&gt;   append itab2.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at end of this itab2 will have ur sorted data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 18:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-itab-by-another-itab/m-p/2760973#M642733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T18:19:27Z</dc:date>
    </item>
  </channel>
</rss>

