<?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: Layout in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174060#M997836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this method GET_SORT_CRITERIA of CL_GUI_ALV_GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT_TABLE method of same class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT_TABLE_UP_OR_DOWN method of CL_GUI_ALV_GRID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narin Nandivada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2008 05:25:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-28T05:25:18Z</dc:date>
    <item>
      <title>Layout in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174058#M997834</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;I set a layout in ALV with asscending order on any field. On runtime is there any way (i mean any variable) by which i know the sort order of layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using class cl_salv_layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any answer with different class are also welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 05:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174058#M997834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T05:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Layout in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174059#M997835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look in IT_SORT table on which field sorting is performed.&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 05:22:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174059#M997835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T05:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Layout in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174060#M997836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this method GET_SORT_CRITERIA of CL_GUI_ALV_GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT_TABLE method of same class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT_TABLE_UP_OR_DOWN method of CL_GUI_ALV_GRID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narin Nandivada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 05:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174060#M997836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T05:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Layout in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174061#M997837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have the field cat and the sort table,  you can find out what are the sort fields.You can dynamically change the sort field if you want.&lt;/P&gt;&lt;P&gt;What do you want to do after you know what is your sort field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the hint is usefulu2026 Say thanks by rewardu2026.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhu Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 05:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174061#M997837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T05:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Layout in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174062#M997838</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;[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/eac1fa0b-0e01-0010-0990-8530de4908a6]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 05:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174062#M997838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T05:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Layout in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174063#M997839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use &lt;STRONG&gt;get_sort_criteria&lt;/STRONG&gt; in &lt;STRONG&gt;CL_GUI_ALV_GRID&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD &amp;lt;ref.var. to CL_GUI_ALV_GRID &amp;gt; -&amp;gt;get_sort_criteria&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IMPORTING &lt;/P&gt;&lt;P&gt;      ET_SORT  =   &amp;lt;internal table of type LVC_T_SORT &amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check This Link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/ba/e92737739ce038e10000009b38f889/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/ba/e92737739ce038e10000009b38f889/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 05:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-in-alv/m-p/4174063#M997839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T05:30:20Z</dc:date>
    </item>
  </channel>
</rss>

