<?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 Selective sorting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selective-sorting/m-p/1970217#M398173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello experts,&lt;/P&gt;&lt;P&gt;i have an internal table with a field &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LV_CMP_FLAG(2) type C&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this can have one of 5 values viz: L, ML, MR, R or a blank value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to sort this table in such a way that displays the ML values first followed by MR, L and then R and the blank ones&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use normal sort command i get L first, then ML, MR and R&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also keep in mind the fact that i will be doing this for many tables so it should not be too processor intensive&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2007 08:46:29 GMT</pubDate>
    <dc:creator>former_member189059</dc:creator>
    <dc:date>2007-02-23T08:46:29Z</dc:date>
    <item>
      <title>Selective sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selective-sorting/m-p/1970217#M398173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello experts,&lt;/P&gt;&lt;P&gt;i have an internal table with a field &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LV_CMP_FLAG(2) type C&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this can have one of 5 values viz: L, ML, MR, R or a blank value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to sort this table in such a way that displays the ML values first followed by MR, L and then R and the blank ones&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use normal sort command i get L first, then ML, MR and R&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also keep in mind the fact that i will be doing this for many tables so it should not be too processor intensive&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selective-sorting/m-p/1970217#M398173</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-02-23T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Selective sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selective-sorting/m-p/1970218#M398174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have another dummy internal table field with single character length which maps to each of this values and have the values of that field as &lt;/P&gt;&lt;P&gt;A- ML&lt;/P&gt;&lt;P&gt;B-MR&lt;/P&gt;&lt;P&gt;C-L&lt;/P&gt;&lt;P&gt;D-R&lt;/P&gt;&lt;P&gt;E- Space.&lt;/P&gt;&lt;P&gt;Sort this table according to that field.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selective-sorting/m-p/1970218#M398174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T08:52:55Z</dc:date>
    </item>
  </channel>
</rss>

