<?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: How to sort a custom database table ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514263#M1260726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you cansort...&lt;/P&gt;&lt;P&gt;just make it display in alv format..&lt;/P&gt;&lt;P&gt;go to SETTING -&amp;gt; USER PARAMETERS ...now select alv grid...now you can sort your tables output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regrads&lt;/P&gt;&lt;P&gt;janani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2009 08:04:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-27T08:04:28Z</dc:date>
    <item>
      <title>How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514261#M1260724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how do I sort/order a custom (Z) database table (not internal table) ? Couldn't find a suiting option with F1 for the SORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Avraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 07:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514261#M1260724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T07:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514262#M1260725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SORT --&amp;gt; Do you mean sort the o/p display?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 08:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514262#M1260725</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-04-27T08:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514263#M1260726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you cansort...&lt;/P&gt;&lt;P&gt;just make it display in alv format..&lt;/P&gt;&lt;P&gt;go to SETTING -&amp;gt; USER PARAMETERS ...now select alv grid...now you can sort your tables output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regrads&lt;/P&gt;&lt;P&gt;janani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 08:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514263#M1260726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T08:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514264#M1260727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a database table, just like, say MARA or VBAK, but it's not SAP, it's mine.&lt;/P&gt;&lt;P&gt;Was it an internal table, I would work this out with SORT. But I didn't do this yet to a database table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 08:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514264#M1260727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T08:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514265#M1260728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is wat i am telling...&lt;/P&gt;&lt;P&gt;now go to se16 ..&lt;/P&gt;&lt;P&gt;give youer table name ...&lt;/P&gt;&lt;P&gt;give F8&lt;/P&gt;&lt;P&gt;THEN you follow the steps of ,my before post you can get it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 08:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514265#M1260728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T08:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514266#M1260729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to do this within my program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 08:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514266#M1260729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T08:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514267#M1260730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  If you just wanted to VIEW the data in a standard SAP table in a sorted order,&lt;/P&gt;&lt;P&gt;then go to the transaction SE16.&lt;/P&gt;&lt;P&gt;GIve the table name.&lt;/P&gt;&lt;P&gt;Press Enter Button.&lt;/P&gt;&lt;P&gt;Then press F8 (Execute button).&lt;/P&gt;&lt;P&gt;In the screen to folow, yo will get the records of the table.&lt;/P&gt;&lt;P&gt;Put the cursor on the column by which you want to sort, then click on the SORT Button(Acending : CTRL&lt;EM&gt;SHIFT&lt;/EM&gt;F5) or Descendin(CTRL&lt;EM&gt;SHIFT&lt;/EM&gt;F6)&lt;/P&gt;&lt;P&gt;&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>Mon, 27 Apr 2009 08:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514267#M1260730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T08:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514268#M1260731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii,&lt;/P&gt;&lt;P&gt; hey no ...&lt;/P&gt;&lt;P&gt;in se16 ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 08:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514268#M1260731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T08:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514269#M1260732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I have to do this within my program.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Use ORDER BY in your select.  Or just select your data into an itab and use SORT.  I don't see the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean that you want to sort your table in the database itself, then you can't.  Database table rows are not held in any specific order; the order is applied when you select the data out of the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 09:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514269#M1260732</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2009-04-27T09:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a custom database table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514270#M1260733</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;By default system database table will be sorted based on the primary key fields. So you can change that sequence now. If you want to sort some other field also, which is not primary key, then make that field to primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program, it is normal way of sorting by mentioning the required fields. If you don't mention any thing means, it is again based on the primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santhosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 09:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-custom-database-table/m-p/5514270#M1260733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T09:35:37Z</dc:date>
    </item>
  </channel>
</rss>

