<?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 SORTing problems in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problems/m-p/6235376#M1381297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ladies &amp;amp; Gentlemen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a very peculiar issue with a simple SORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Generate a table of Sales Unit for F4 in the sales order item. The default order of display should be Ascending by SU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i look at std. SAP, the FM F4_ALLOWED_QUANTITY_UNIT gives out a table TQTUNITS, which is sorted as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT TQTUNITS BY FLAGSIQTUNIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the call of FM RV_HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all std. SAP and we have just created entries in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SORT sorts the data correctly 1st time. Howeever, if i change the data at line item, say PLANT the SU's are re determined and then this SORT gives out the data in DESECENDING order. if in debug, i go back to the SORT and F5 it again, it sorts the data correctly. i am really confused why this is happening. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers to notes or some data data i need to reset or look into?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: i have already checked the tables are all refereshed correctly and there are no other SORTS on this very table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2009 17:31:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-06T17:31:11Z</dc:date>
    <item>
      <title>SORTing problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problems/m-p/6235376#M1381297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ladies &amp;amp; Gentlemen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a very peculiar issue with a simple SORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Generate a table of Sales Unit for F4 in the sales order item. The default order of display should be Ascending by SU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i look at std. SAP, the FM F4_ALLOWED_QUANTITY_UNIT gives out a table TQTUNITS, which is sorted as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT TQTUNITS BY FLAGSIQTUNIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the call of FM RV_HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all std. SAP and we have just created entries in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SORT sorts the data correctly 1st time. Howeever, if i change the data at line item, say PLANT the SU's are re determined and then this SORT gives out the data in DESECENDING order. if in debug, i go back to the SORT and F5 it again, it sorts the data correctly. i am really confused why this is happening. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers to notes or some data data i need to reset or look into?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: i have already checked the tables are all refereshed correctly and there are no other SORTS on this very table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 17:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problems/m-p/6235376#M1381297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: SORTing problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problems/m-p/6235377#M1381298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ladies &amp;amp; Gentlemen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a very peculiar issue with a simple SORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Generate a table of Sales Unit for F4 in the sales order item. The default order of display should be Ascending by SU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i look at std. SAP, the FM F4_ALLOWED_QUANTITY_UNIT gives out a table TQTUNITS, which is sorted as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT TQTUNITS BY FLAGSIQTUNIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the call of FM RV_HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all std. SAP and we have just created entries in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SORT sorts the data correctly 1st time. Howeever, if i change the data at line item, say PLANT the SU's are re determined and then this SORT gives out the data in DESECENDING order. if in debug, i go back to the SORT and F5 it again, it sorts the data correctly. i am really confused why this is happening. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers to notes or some data data i need to reset or look into? Any help will be appreciated &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: i have already checked the tables are all refereshed correctly and there are no other SORTS on this very table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 10:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problems/m-p/6235377#M1381298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T10:03:59Z</dc:date>
    </item>
  </channel>
</rss>

