<?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: ALV Sort by time in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302140#M1025849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalyanam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the sorting will be done by the sorting functionality of ALV.&lt;/P&gt;&lt;P&gt;Not in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How will I do that in such a way that ALV sort functionality, will sort my data as numbers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2008 08:31:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-11T08:31:54Z</dc:date>
    <item>
      <title>ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302133#M1025842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem in sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field called Remaining time having data type char20.&lt;/P&gt;&lt;P&gt;Format is HH:MM:SS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, i want it to be sorted in a way that a number is sorted.&lt;/P&gt;&lt;P&gt;Example (descending):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want it to be sorted this way:&lt;/P&gt;&lt;P&gt;121:89&lt;/P&gt;&lt;P&gt;111:00&lt;/P&gt;&lt;P&gt;12:34&lt;/P&gt;&lt;P&gt;10:78&lt;/P&gt;&lt;P&gt;00:00&lt;/P&gt;&lt;P&gt;-01:44&lt;/P&gt;&lt;P&gt;-10:22&lt;/P&gt;&lt;P&gt;-11:45&lt;/P&gt;&lt;P&gt;-109:11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in my program, it is sorted as text:&lt;/P&gt;&lt;P&gt;121:89&lt;/P&gt;&lt;P&gt;12:34&lt;/P&gt;&lt;P&gt;111:00&lt;/P&gt;&lt;P&gt;10:78&lt;/P&gt;&lt;P&gt;-109:11&lt;/P&gt;&lt;P&gt;-11:45&lt;/P&gt;&lt;P&gt;-10:22&lt;/P&gt;&lt;P&gt;-01:44&lt;/P&gt;&lt;P&gt;00:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: navi on Aug 11, 2008 4:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302133#M1025842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302134#M1025843</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;Step 1. Sort your internal table by time field before passing it to &lt;/P&gt;&lt;P&gt;           ALV.&lt;/P&gt;&lt;P&gt;Step 2. Pass the sorted table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;use function module &lt;STRONG&gt;reuse_alv_grid_display.&lt;/STRONG&gt;                            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;     REFERENCE(I_INTERFACE_CHECK) DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     VALUE(I_BYPASSING_BUFFER) TYPE  CHAR01 DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     VALUE(I_BUFFER_ACTIVE) DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(I_CALLBACK_PROGRAM) LIKE  SY-REPID DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(I_CALLBACK_PF_STATUS_SET) TYPE  SLIS_FORMNAME DEFAULT&lt;/P&gt;&lt;P&gt;       SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(I_CALLBACK_USER_COMMAND) TYPE  SLIS_FORMNAME DEFAULT&lt;/P&gt;&lt;P&gt;       SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(I_CALLBACK_TOP_OF_PAGE) TYPE  SLIS_FORMNAME DEFAULT&lt;/P&gt;&lt;P&gt;       SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(I_CALLBACK_HTML_TOP_OF_PAGE) TYPE  SLIS_FORMNAME&lt;/P&gt;&lt;P&gt;       DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(I_CALLBACK_HTML_END_OF_LIST) TYPE  SLIS_FORMNAME&lt;/P&gt;&lt;P&gt;       DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(I_STRUCTURE_NAME) LIKE  DD02L-TABNAME OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(I_BACKGROUND_ID) TYPE  SDYDO_KEY DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(I_GRID_TITLE) TYPE  LVC_TITLE OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(I_GRID_SETTINGS) TYPE  LVC_S_GLAY OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IS_LAYOUT) TYPE  SLIS_LAYOUT_ALV OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_FIELDCAT) TYPE  SLIS_T_FIELDCAT_ALV OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_EXCLUDING) TYPE  SLIS_T_EXTAB OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_SPECIAL_GROUPS) TYPE  SLIS_T_SP_GROUP_ALV OPTIONAL&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;REFERENCE(IT_SORT) TYPE  SLIS_T_SORTINFO_ALV OPTIONAL   ---&amp;gt; uncomment this (see details bellow)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    REFERENCE(IT_FILTER) TYPE  SLIS_T_FILTER_ALV OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IS_SEL_HIDE) TYPE  SLIS_SEL_HIDE_ALV OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(I_DEFAULT) DEFAULT 'X'&lt;/P&gt;&lt;P&gt;     REFERENCE(I_SAVE) DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     REFERENCE(IS_VARIANT) LIKE  DISVARIANT STRUCTURE  DISVARIANT&lt;/P&gt;&lt;P&gt;       OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_EVENTS) TYPE  SLIS_T_EVENT OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_EVENT_EXIT) TYPE  SLIS_T_EVENT_EXIT OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IS_PRINT) TYPE  SLIS_PRINT_ALV OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IS_REPREP_ID) TYPE  SLIS_REPREP_ID OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(I_SCREEN_START_COLUMN) DEFAULT 0&lt;/P&gt;&lt;P&gt;     REFERENCE(I_SCREEN_START_LINE) DEFAULT 0&lt;/P&gt;&lt;P&gt;     REFERENCE(I_SCREEN_END_COLUMN) DEFAULT 0&lt;/P&gt;&lt;P&gt;     REFERENCE(I_SCREEN_END_LINE) DEFAULT 0&lt;/P&gt;&lt;P&gt;     REFERENCE(I_HTML_HEIGHT_TOP) TYPE  I DEFAULT 0&lt;/P&gt;&lt;P&gt;     REFERENCE(I_HTML_HEIGHT_END) TYPE  I DEFAULT 0&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_ALV_GRAPHICS) TYPE  DTC_T_TC OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_HYPERLINK) TYPE  LVC_T_HYPE OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_ADD_FIELDCAT) TYPE  SLIS_T_ADD_FIELDCAT OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IT_EXCEPT_QINFO) TYPE  SLIS_T_QINFO_ALV OPTIONAL&lt;/P&gt;&lt;P&gt;     REFERENCE(IR_SALV_FULLSCREEN_ADAPTER) TYPE REF TO&lt;/P&gt;&lt;P&gt;        CL_SALV_FULLSCREEN_ADAPTER OPTIONAL&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     REFERENCE(E_EXIT_CAUSED_BY_CALLER)&lt;/P&gt;&lt;P&gt;    REFERENCE(ES_EXIT_CAUSED_BY_USER) TYPE  SLIS_EXIT_BY_USER&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Using internal table IT_SORT, the caller determines the sort order and/or the subtotalling of the basic list.)&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;anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302134#M1025843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302135#M1025844</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;   what is the field for your time , just use this statement to sort it (sort internal table name by field name)&lt;/P&gt;&lt;P&gt;(like sort itab by time.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnaks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302135#M1025844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302136#M1025845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I already tried sorting it in the program itself and in the ALV display.&lt;/P&gt;&lt;P&gt;But the display is wrong since it sorted the time as a text. &lt;/P&gt;&lt;P&gt;I want it it to be displayed/sorted in a way a number is sorted.&lt;/P&gt;&lt;P&gt;How can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an event that can solve it? or a data type perhaps that sorts a character type fields as number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302136#M1025845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302137#M1025846</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;&lt;STRONG&gt;Solution 1:&lt;/STRONG&gt; Change the data type of the field from char to type T (time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution 2:&lt;/STRONG&gt; Add 2 new fields in the internal table (Say X(4) and Y(4) of data type N) and write the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITB.&lt;/P&gt;&lt;P&gt;    SPLIT ITAB-REMTIME BY ':' INTO ITAB-X ITAB-Y. " Remaining time Field into X and Y   &lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY X Y.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Murthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302137#M1025846</guid>
      <dc:creator>former_member787646</dc:creator>
      <dc:date>2008-08-11T08:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302138#M1025847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anirban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would your answer could possibly solve my problems?&lt;/P&gt;&lt;P&gt;I didn't get the gest of your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks2x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302138#M1025847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302139#M1025848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;I have a field called Remaining time having data type char20.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Format is HH:MM:SS.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that field is of type sy-uzeit or type t then it your sort will work. But in your case it is a character field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what ever the same data you are showing is not at all like HH:MM:SS format. then how you can say that it is Time format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to sort the List by default then you have to use SORT(IT_SORT prameter if ALV function).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT-FIELDNAME = 'TIME'.&lt;/P&gt;&lt;P&gt;SORT-UP = 'X'.&lt;/P&gt;&lt;P&gt;APPEND SORT TO IT_SORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass this to IT_SORT of the ALV Function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302139#M1025848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302140#M1025849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalyanam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the sorting will be done by the sorting functionality of ALV.&lt;/P&gt;&lt;P&gt;Not in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How will I do that in such a way that ALV sort functionality, will sort my data as numbers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302140#M1025849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302141#M1025850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Navi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you have stated the problem is caused by the data type for the field being sorted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem as I see it is you want to display the time as HHH:MM:SS which is different from the internal represtation of time in ABAP as HHMMSS for a 24 hour clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Advice to you is to split the duration into 3 separate fields HHH MM SS and to sort by these either in the ALV or before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also trap when the sort function is called so that you can test if it is your displayed field being sorted and act accordingly.  The fields used for sorting do not have to be displayed, but they do need to be part of the fieldcat definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;David Cooper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302141#M1025850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302142#M1025851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay, sorry for the confusion.&lt;/P&gt;&lt;P&gt;I am addressing these 2 defects one having format HH:MM:SS and the other one HH:MM, but nevertheless the problem is the same.&lt;/P&gt;&lt;P&gt;The user want it to be sorted like a numbers but the display would still be separated by colons and negative sign if ever my calculation for the time will be negative.&lt;/P&gt;&lt;P&gt;And the sorting will be done in the ALV display and not in program itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:41:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302142#M1025851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302143#M1025852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;I am addressing these 2 defects one having format &amp;gt;HH:MM:SS and the other one HH:MM, but nevertheless the &amp;gt;problem is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then my suggestion would be some thing like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have one more extra filed with referring to Time (Type SY-UZEIT not character field). Populate the time value to this field.&lt;/P&gt;&lt;P&gt;along with character field. Now populate SORT on this field. so that sort will be done on this field. and you will get the Required sorting and displays the required output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you hide this field in display using NO_OUT = 'X'.  in the fieldcatalog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 08:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302143#M1025852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T08:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302144#M1025853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this still works if the sorting will be done on the display?&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I'll try implementing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 09:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302144#M1025853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T09:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302145#M1025854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Will this still works if the sorting will be done on the display?&lt;/P&gt;&lt;P&gt;&amp;gt; Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;gt; I'll try implementing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you sort that , you may loose this functionality. Then you have to think for alternative..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 09:06:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302145#M1025854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T09:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sort by time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302146#M1025855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the very helpful reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navi &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 07:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sort-by-time/m-p/4302146#M1025855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T07:21:48Z</dc:date>
    </item>
  </channel>
</rss>

