Ascending & Descending

i wanna add functionality to ascending and descending icon.how do i do that.

Hello,
on a screen if u want to display go through the underlined program.
Status Icons -- demo_dynpro_status_icons
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = icon_name
text = icon_text
info = 'Status'
add_stdinf = 'X'
IMPORTING
result = status_icon
In a Classical Report if u want to display go for the write statement.
Hope this will solve ur problem..
Dont forget to reward all the useful replies
Vasanth

Similar Messages

  • Listview sorting in ascending / descending order

    Hello
    I am new to winforms
    What I want to do is when the user clicks on a listview control column the listview data should get sorted by that column in ascending / descending order
    Please help me 
    Thanks
    regds
    Manoj Gokhale

    There's an example at the following link.
    https://msdn.microsoft.com/en-us/library/system.windows.forms.listview.listviewitemsorter%28v=vs.110%29.aspx

  • Ascending descending table column in swt

    Hello,
    I am create eclipse RCP application and use SWT table and i am trying to ascending descending column value but not working in column shell value is not change so please help me ...

    Hi Brian de Alwis sir Thank you ,
    But sir my column value (cell value) is combobox , how to sort column combo value in my table ....
    please sir help me

  • Sortable Header Ascending/ Descending Arrow is not refreshing

    Hi,
    When I clicked on the sortable Header column its showing up in the ascending/descending order with arrow up and down, results also displaying accordingly, but if I go to other screen and come back to the same screen , its still showing up the ascending/descending arrow , but the results are not showing according to the order, what parameters need to be set to not to appear that arrow if I come back from other screen. I want it to be reset, if I go back to other screen and come to this screen. I dont want that arrow to be appeared when the page loads. The arrow is showing up in ascending/descending order but the results are not showing up in that order when I come back to this page again.
    I have to log out the application for the arrow to disappear.
    Please help me
    Thanks
    Power

    Hi:
    I had the same problem here. Did you get it resolved? If so , would you please share with me?

  • How do I change the ascending/descending in emails on an iPad?

    How can I change the ascending/descending order of emails on an iPad?

    With the built-in Mail app you can't - if it's something that you want then you could see if any of the third-party email apps allow it and/or try leaving feedback for Apple.

  • How to make the listview populated by ascending / descending order wen clicked on listview column

    Hello
    I am new to winforms.
    I have a listview. I want it to toggle the sorting of the records of the listview when the columns are clicked
    Please guide me as to how to do the same.
    The code that I have attached does the sorting but it is extremely slow
    regards
    Manoj Gokhale
    //Determine whether the column is the same as the last column clicked.
    if (e.Column != sortColumn)
    // Set the sort column to the new column.
    sortColumn = e.Column;
    // Set the sort order to ascending by default.
    listView1.Sorting = System.Windows.Forms.SortOrder.Ascending;
    else
    // Determine what the last sort order was and change it.
    if (listView1.Sorting == System.Windows.Forms.SortOrder.Ascending)
    listView1.Sorting = System.Windows.Forms.SortOrder.Descending;
    else
    listView1.Sorting = System.Windows.Forms.SortOrder.Ascending;
    // Call the sort method to manually sort.
    listView1.Sort();
    // Set the ListViewItemSorter property to a new ListViewItemComparer
    // object.
    this.listView1.ListViewItemSorter = new ListViewItemComparer(e.Column, listView1.Sorting);

    Hi Manoj,
    >> The code that I have attached does the sorting but it is extremely slow
    Based on the code, I did not find the reason which caused it extremely slow. Could you share us the row count of the listview. If you have a large rows, I am afraid it is a common situation.
    In addition, you could try the code in the link below:
    # How to: Sort ListView Items
    https://msdn.microsoft.com/en-us/library/ms229643%28v=vs.90%29.aspx?=255&MSPPError=-2147217396
    # Data binding a ListView
    http://www.codeproject.com/Articles/10008/Data-binding-a-ListView
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Change the sort order (ascending/descending) based on parameter field

    I have created a formula on a subreport to change sorting based on variables.
    select {?Pm-@Sorting}
    case "property_type_desc ASC" :
    {owned_property.property_type_desc}
    case "property_type_desc DESC" :
    {owned_property.property_type_desc}
    default:
    ({owned_property.property_type_cd}; )
    how can I change the sort order ascending and descending using the formula??
    Thanks, Jessica

    Try this
    1. Create a parameter with 2 default values in the picklist: Descending and Ascending.
    NOTE:
    In Crystal Reports version 5 or 6, it is not possible to have a pick a parameter value from a list. The user must enter a specific value, guided by the prompting text. For example : To Sort in Ascending order type A, to sort in Descending order type D.
    u2022 On the 'Insert' menu, click 'Parameter', then click 'New'.
    u2022 Type the name and prompting text for the parameter in the corresponding boxes.
    u2022 In the 'Type' box, click 'String'.
    u2022 Click 'Set Default'.
    u2022 In the 'Value to add' box, type 'Descending' then click '>' to move it to the 'Default Values' list.
    u2022 Repeat the above step for 'Ascending'.
    u2022 Click 'OK', then click 'OK' again to return to the report.
    2. Create 2 formulas based on the field you want to change the sort direction on:
    u2022 On the 'Insert' menu, click 'Formula', then click 'New'.
    u2022 Create this formula:
    @Asc
    If {?Parameter} = "Ascending" then
    u2022 Save this formula and close the Formula Editor. This brings you back to the Formula tab of the Insert Fields dialog box.
    u2022 Click 'New' and create this formula:
    @Des
    If {?Parameter} = "Descending" then
    u2022 Save this formula and close the Formula Editor.
    u2022 Click 'Close' to return to the report.
    4. Sort the report based on these two formulas.
    u2022 On the 'Report' menu, click 'Sort Records'.
    u2022 In the 'Report Fields' list, click {@Asc} and move it to the 'Sort Fields' list.
    u2022 Under 'Sort Direction', click 'Ascending'.
    u2022 In the 'Report Fields' list, click {@Des} and move it to the 'Sort Fields' list.
    u2022 Under 'Sort Direction', click 'Descending'.
    u2022 Click 'OK' to return to the report.
    Once you preview the report you will be prompted to select a parameter value, which will determine how the report is sorted.
    Regards,
    Raghavendra

  • Iplanet page display  datas in ascending/descending order

    Hi,
    we are accessing one static path from iplanet web server. the
    url like http://localhost:8084/staticpage/Afolder/.
    The URL will display the whatever files and directories in the Afolder.
    But it display the page ,default with out sorting order.
    we want to display the page in either descendng/ascending order.
    please how can we do this one.
    please help me.
    Thanks and Regards
    Karthik

    Hi,
    The deliveries are created with respect to the Scheduling agreements.  Hence for the Scheduling agreement a span of a year and 3000-5000 Units of the product to be delivered in a phased manner of 20-40 Units would have a big thread in the sales document flow. The scheduling agreements have possibility of getting renewed.
    Hence, need was that why not we have the sales document in the descending order, by which we could see the last processed delivery.
    Best Regards,
    Lakshmana Sudhir R

  • Dynamic sort ascending / descending

    Hi all,
    I am trying to sort an internal table dynamically.
    In this table I have a number of field to use for an ascending sort and other used to sort descending.
    I have writen the code to create two fields (character field) in which I concatenate the sort field names.
    The result is :
    sort_field_up = ' field1 field2 field 3'
    sort_field_dn = ' field4 field5 field 6'
    and then i coded :
    sort itab by (sort_field_up) ascending (sort_field_dn) descending.
    But I get a dump ...
    has anyone ever done this ?
    regards,
    Nicolas

    Hi,
    only single fields can be mentioned in dynamic sort.
    REPORT  Z_DYNAMIC_SORT                          .
    data: sort1 type string,
          sort2 type string.
    data: begin of itab occurs 0,
           vbeln like vbak-vbeln,
           posnr like vbap-posnr,
          end of itab.
    "not possible to group the fileds.
    "sort_field_up = ' field1 field2 field 3'
    sort1 = 'VBELN'.
    sort2 = 'POSNR'.
    sort itab by (sort1) ascending (SORT2) descending.
    "or
    sort itab by (sort1) (SORT2) ascending .
    write sy-subrc.
    regards
    vijay

  • Ascending/Descending Email Order Problem...

    Exasperating... I have set all my inboxes to show incoming mails in descending order. However, my main Inbox has to be re-set to descending every time I click on it... my other laptop running Lion doesn't exhibit this problem. Any ideas? (I've repaired permissions)... I don't want to have to trash my Mail prefs and start again...
    TIA,

    I tried this on a simple DataGrid and it worked most of the
    time (sorted ascending on the first click, descending on the second
    click), but once in a while it seemed to miss a button click, and
    then the sort did not work. When I do event.trace(target) in the
    click handler, the trace does not fire when the click event is
    missed, so I don't know how to get around this.

  • Ascending & Descending images when sorting report columns...

    Hi guys,
    Have you ever tried changing sorting images to custom ones? I've tried with no result..replacing theme images doesn't work..Have no idea what to do..Please help.
    With regards,
    PsmakR

    In this example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    Report on Departments
    is using a different image than standard and it works. It will pull the images from the /i/ directory so I don't think you can specify #WORKSPACE_IMAGES# there. However, you can specify a subdirectory within /i/ like this:
    /menu/rup_plus_dgray_16x16.gif
    /menu/rup_minus_dgray_16x16.gif
    and it will work.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Isdn bchan-number-order ascending round-robin is applied but not working

    isdn bchan-number-order ascending round-robin is applied but not working
    ios c3825-spservicesk9-mz.124-21.bin
    relevant config
    controller E1 0/3/0
     framing NO-CRC4
     pri-group timeslots 1-31
    interface Serial0/3/0:15
     no ip address
     encapsulation hdlc
     no logging event link-status
     no snmp trap link-status
     isdn switch-type primary-net5
     isdn overlap-receiving
     isdn incoming-voice voice
     isdn bchan-number-order ascending round-robin
     trunk-group 1
     no cdp enable
    my problem is this:-
    At the moment calls are leaving on the first available channel of my h323 voice gateway PRI, I can apply this command to the interface fine but it makes no difference the b cannels are always being picked on a first come  first served basis . I have also tried combination "isdn bchan-number-order decending" and "isdn bchan-number-order descending round-robin" but it makes no difference , the first b channel is always selected .
    Any ideas , if you think its a bug can u identify the bug id as I cannot find it .

    Hello
     I can see that you use ascending , that why you hit 1st channel.You have to choose one of these commands ascending or descending
    I have a question here , for your incoming calls which channel hits ?.FYI isdn bchan-number-order descending is enable by default , so if you need to change you have to type ascending. Can you just share incoming calls which channel hits?.This is because before you define your outgoing calls , you have to check your service provider channel used, and this to avoid error channel is not available.
    Command
    Router(config-if)# isdn bchan-number-order {ascending | descending}
    Purpose
    Enables B channel selection for outgoing calls on a PRI interface (optional).
    Thanks
    please rate all useful information

  • Unable to sort profit center as ascending & Decending order in KE80 & KE30

    Hi,
    When viewing KE30/KE80 reports and navigating by a field such as profit centre, appear to be unable to sort in ascending/descending order.
    e.g. run a KE80 Report: i.e. ZPC-9000 & i.e. variant SMKT, and execute the report click on "Profit Center" under the navigation line to navigate it out to the right. Then click on the magnify glass next to the PC number (should bring up the list of all available PCs, 1259 entries found).
    From this pop-up box, unable to sort the PCs by ascending/descending order regardless of what you click.Also unable to sort the Long Text by ascending/descending order regardless of what you click
    Can anyone pls help on the above issue.We have to apply any note for this???.
    Thanks & Regards
    Mani

    Dear Mani,
    you can sort the entries by right-clicking on the column header and chosing the sorting order in the appearing menu.
    Cheers,
    Daniela

  • Sort Alphabetically, Ascending

    I am so sorry to trouble you again. I asked this before and now can't do it again. It involves using the "Sort" on the Button Bar, But I can't seem to activate it. My lists just sit there and I don't get the question box "Ascending? or Descending?"
    I am in Appleworks and have two column documents I keep adjusting. Çan you help me one more time on this? Please and thanks for all the help you give.

    Hello
    As you wrote about "button", I assumes that you are working with a spreadsheet (there is no Sort button for WP).
    There are two Sort buttons, one for ascending sort, one for descending sort. So there is no need to display the "choose ascending/descending" dialog.
    This dialog is available if you call Sort thru the menu item:
    Calculate > Sort…
    For detailed informations, enter the Help and ask for the keyword "Sorting".
    Yvan KOENIG (from FRANCE vendredi 20 octobre 2006 08:24:21)

  • Add new tools as "Descending" button to VB32 transaction

    Hi,
    Is it possible to add new functionalities such as "Ascending & Descending" buttons to Standard SAP Screen 435 - Promotion: Overview Screen (VB32 transaction) ?
    The request is because the users do not have the ability to filter the "Valid on / Valid to" dates for the assigned sales deals, and usually they have more than 10 Sales deals assigned to a promotion. The promotion screen is not user friendly and they are consuming more time to scroll to the bottom or find recent contracts.
    This issue is related Promotion and Sales Deals transactions (VB32 and VB22).
    Thank you
    Eli

    Hello Aashish,
    these information is provided in the sap documentation. And I see that you did not use the search in this forum at all to gather more information on how to create popups and how to add buttons, as your question is very generic. It always helps to get started on a subject if you search for already existing threads.
    Nevertheless, I would like to give you some starting hints.
    To add the button to the view: usually the buttons are stored into a class attribute on the view controller of type CRMT_THTMLB_BUTTON_T. Now at creation time of the view thistable of buttons are maintain, and usually we use the DO_PREPARE_OUTPUT for this. I also advice to look for previous post on this topic, you will find a lot of usefull hints.
    To create a popup use the window_manager(IF_BSP_WD_WINDOW_MANAGER) attribute of the component controller, method CREATE_POPUP or similar ones depending on your requirement.
    After you have created the popup instance of type IF_BSP_WD_POPUP, you can work with this and call the OPEN method. You can find a lot of examples in the system, by making a where used list on the interface IF_BSP_WD_POPUP.
    Good luck,
    Erika

Maybe you are looking for