<?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 ALV numerically column sorting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009760#M78618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an ALV list is a colum of type char(5), when the list is sortend by this column, it is sorted alfabethically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to specify in the ALV when that column is sorted to be sorted numerically?(not alfabeticaly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2005 06:51:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-29T06:51:19Z</dc:date>
    <item>
      <title>ALV numerically column sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009760#M78618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an ALV list is a colum of type char(5), when the list is sortend by this column, it is sorted alfabethically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to specify in the ALV when that column is sorted to be sorted numerically?(not alfabeticaly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 06:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009760#M78618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T06:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV numerically column sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009761#M78619</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;Specify on what column basis u have to sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u specify based on char column it will sort alphabetically, if u give by numeric column then it will do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So specify some numeric column name for sorting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 06:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009761#M78619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T06:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: ALV numerically column sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009762#M78620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Judith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Column which must be numerically sorted is of type char, and the problem is that i can not modify its type to a numerically one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 06:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009762#M78620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T06:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALV numerically column sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009763#M78621</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;If it is of type CHAR then how come u can sort numerically?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 06:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009763#M78621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T06:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV numerically column sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009764#M78622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it is char field and you want to sort numerically&lt;/P&gt;&lt;P&gt;keep numerical values in that field like&lt;/P&gt;&lt;P&gt;00001&lt;/P&gt;&lt;P&gt;00002&lt;/P&gt;&lt;P&gt;00003...&lt;/P&gt;&lt;P&gt;00099...&lt;/P&gt;&lt;P&gt;then if your sort this alphabetically u can the numeric sort...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while diaplaying u need to only value without zeros in front of values, then use CONVERSION_EXIT_ALPHA_OUTPUT to achive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 07:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009764#M78622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T07:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV numerically column sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009765#M78623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A sort example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Values for cost center:&lt;/P&gt;&lt;P&gt;100, 200, 203, 1001, 1004, Not assigned,.. etc.&lt;/P&gt;&lt;P&gt;value "not assigned" can not be stored in a numeric field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if sorted those values:&lt;/P&gt;&lt;P&gt;100,1001,1004,200,203,Not assigned..&lt;/P&gt;&lt;P&gt;and i need&lt;/P&gt;&lt;P&gt;100,200,203,1001,1004,Not assigned..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 07:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009765#M78623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T07:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV numerically column sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009766#M78624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bogdan,&lt;/P&gt;&lt;P&gt;There is nothing much you can do about that, I guess.&lt;/P&gt;&lt;P&gt;A character field will be sorted as a character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you didnt have alphabets, then may be we could have changed some properties in fieldcatalog and achieved ur goal. In this case, I dont think there is a way out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember 2 reward points to answers that were very helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg,&lt;/P&gt;&lt;P&gt;Prash,.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 10:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-numerically-column-sorting/m-p/1009766#M78624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T10:49:26Z</dc:date>
    </item>
  </channel>
</rss>

