<?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 internal table using table control, ALV and SAPscript. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-internal-table-using-table-control-alv-and-sapscript/m-p/1036588#M85245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you guys give me examples on my questions. I'm just a beginner on SAP.Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2005 04:54:31 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2005-12-14T04:54:31Z</dc:date>
    <item>
      <title>how to sort internal table using table control, ALV and SAPscript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-internal-table-using-table-control-alv-and-sapscript/m-p/1036586#M85243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few important questions. My first question is how can I sort my internal table that is inside a table control? I would like it that if I press a button, it would sort either ascending or descending order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Is there a way to diplay usign ALV? so for example when I press a button all the data from my table would be shown via ALV and/or sapscript?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;examples preferred...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 02:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-internal-table-using-table-control-alv-and-sapscript/m-p/1036586#M85243</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2005-12-14T02:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort internal table using table control, ALV and SAPscript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-internal-table-using-table-control-alv-and-sapscript/m-p/1036587#M85244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi viraylab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. y first question is how can I sort my internal table that is inside a table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  For this u will have to capture the function&lt;/P&gt;&lt;P&gt;  code and use the syntax&lt;/P&gt;&lt;P&gt;  SORT Itab.&lt;/P&gt;&lt;P&gt;  Then accordingly u will have to refresh/populate&lt;/P&gt;&lt;P&gt;  your table control (if u require)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also, Is there a way to diplay usign ALV?&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   Well, For this again, u have to write&lt;/P&gt;&lt;P&gt;   your own code &lt;/P&gt;&lt;P&gt;   using the routine FMs&lt;/P&gt;&lt;P&gt;   REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;   REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;   and passing the requisite internal table.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. and/or sapscript?&lt;/P&gt;&lt;P&gt;   Directly Not Possible !&lt;/P&gt;&lt;P&gt;   There is no way like ALV FMs&lt;/P&gt;&lt;P&gt;   which can show data in internal table&lt;/P&gt;&lt;P&gt;  in the form of a sapscript !&lt;/P&gt;&lt;P&gt;   Yes, one must SPECIFICALLY design a sapscript&lt;/P&gt;&lt;P&gt;   and its driver program, to show the data. Only&lt;/P&gt;&lt;P&gt;   then can it be called to show sapscript,&lt;/P&gt;&lt;P&gt;  OTHERWISE NOT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 04:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-internal-table-using-table-control-alv-and-sapscript/m-p/1036587#M85244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T04:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort internal table using table control, ALV and SAPscript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-internal-table-using-table-control-alv-and-sapscript/m-p/1036588#M85245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you guys give me examples on my questions. I'm just a beginner on SAP.Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 04:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-internal-table-using-table-control-alv-and-sapscript/m-p/1036588#M85245</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2005-12-14T04:54:31Z</dc:date>
    </item>
  </channel>
</rss>

