<?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: Can We Sort A Database Table... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737616#M320735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)If you want to sort the data, you would most probably be needing to do it for the purpose of a report or some other application. In that case, you would have to fetch the data from the database table into an internal table in your program and then sort the data using the SORT statement on internal table&lt;/P&gt;&lt;P&gt;2)If you are seeing the contents using SE16, its a ALV grid, so you can sort by whatever field you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2006 10:27:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-26T10:27:00Z</dc:date>
    <item>
      <title>Can We Sort A Database Table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737612#M320731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to display a sap script....where the data will come directly from the data base tables and structures that are there in SAP...now the requirement is that particular field of a databse table has to be sorted before getting printed on to the SAP script...can anyone provide any leads...on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 10:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737612#M320731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T10:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can We Sort A Database Table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737613#M320732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read data in internal table and then do sorting in ur program on internal table and then pass the data to ur SAP script  it wil be more effieicent..&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 10:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737613#M320732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T10:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can We Sort A Database Table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737614#M320733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can sort the data of a DB table at Internal table level. like....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table itab.&lt;/P&gt;&lt;P&gt;sort itab by natnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write: itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 10:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737614#M320733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T10:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can We Sort A Database Table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737615#M320734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the program is a customized one, we can get the data into an internal table, SORT and then issue for printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 10:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737615#M320734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T10:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can We Sort A Database Table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737616#M320735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)If you want to sort the data, you would most probably be needing to do it for the purpose of a report or some other application. In that case, you would have to fetch the data from the database table into an internal table in your program and then sort the data using the SORT statement on internal table&lt;/P&gt;&lt;P&gt;2)If you are seeing the contents using SE16, its a ALV grid, so you can sort by whatever field you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 10:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737616#M320735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T10:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can We Sort A Database Table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737617#M320736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ur getting data from database and printing on sap script...but before printing, ur getting data from database to internal table or fields....U can just sort this one and print according to ur requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 10:59:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737617#M320736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T10:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can We Sort A Database Table...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737618#M320737</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;we can sort only I.T.  it is not possible to sort dbt&lt;/P&gt;&lt;P&gt;If the program is a customized one, we can get the data into an internal table, SORT and then issue for printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 14:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-sort-a-database-table/m-p/1737618#M320737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T14:21:43Z</dc:date>
    </item>
  </channel>
</rss>

