To Sort

Good Morning Everyone,
We are wondering how to sort in Report.
If you have expereice, please share with us.
Thanks in advance,
NY

Why you are playing with report fields in property. Why you are using the query to sort data for you. You can also set the dynamic sorting in query. What is the problem if you are using sorting for your desired column in query. Like
1.
SELECT COLUMN1, COLUMN2...
FROM TABLE
WHERE ...
ORDER BY DATE_COLUMN   -- Here you can set any order you want for any column.This way fix sorting you query will sort the records upon the column which you set in ORDER BY.
2.
Or if you want to make the dynamic order...then
SELECT COLUMN1, COLUMN2...
FROM TABLE
WHERE ...
&P_ORDER_BY  -- It will create parameter in report called "P_ORDER_BY"So at the time of running report you will have to pass value in this parameter like this...
ORDER BY FIELD_NAME   -- Here field name is any field you want to order from your query.-Ammad

Similar Messages

  • In Photoshop Express, cannot sort images in album by filename in thumbnail view (for slideshow)l.

    In Photoshop Express, I want images to appear sorted by filename.  In the "view as a table" it sorts fine.  When I revert to the thumbnail view, the arrangement is random.  The dropdown "show" list does not offer an option for showing by filename.  If I select the"custom" option, it means I would need to sort 300 images by filename MANUALLY (!!!), a job that a computer does in milliseconds.  Anyone with a solution?  Thanks.

    fwiw, with my images in the 'Folder Location' view the photos are in order by their Windows filename. That is the same order as the hardcopy album the photos came from. So I then created a PSE Album. I selected all my photos and moved them into that album. The order of the pictures was retained in the Album. That worked out great. I wanted my PSE images to be in the same order. I thought I would do it with tags. But creating an album seems to work just fine.

  • Unable to capture the adf table column sort icons using open script tool

    Hi All,
    I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
    1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
    2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.

    Hi keerthi,
    1. I have pasted the code for the first issue
    web
                             .button(
                                       122,
                                       "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
                             .click();
                        adf
                        .table(
                                  "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
                        .columnSort("Ascending", "Name" );
         }

  • How to sort out different issues on Satellite A505-S6973

    Can anyone tell me, if the warranty period on my laptop has not passed, can i return my laptop to toshiba and have all my issues sorted out. Would there be a cost to do whatever repairs software related needs be done and how i am supposed to go about it because my laptop is beginning to have all sorts of little errors, i noticed that my harddrive has 156gb used although i have about 60 gigs in use.
    A couple multimedia buttons aren't working but i touch them, my touchpad doesn't turn off with the hard button unless i turn it off using the FN key and my processor runs low but when i use a program i see it's reaching between 85 to 100% utilization.
    I really like this laptop, but the issues i'm having i highly doubt it should operate this way.

    Hi mate
    Software issues are not covered by warranty!
    This means that you will have to pay for everything if the ASP technician would not find any problems!
    This is why you should recover the notebook in order to check if its only a software related issue.
    >A couple multimedia buttons aren't working but i touch them, my touchpad doesn't turn off with the hard button unless i turn it off using the FN key
    Reinstall the VAP (value added package) and flash cards utility
    >my processor runs low but when i use a program i see it's reaching between 85 to 100% utilization.
    This is not a bug or hardware problem. You will notice this CPU behavior because the CPU supports an feature which helps to save the power and reduce the heat dissipation

  • Issue With Page Break When Sorting is also applied on group

    Hi
    I am facing an issue with Page break only when I have sorting applied on the grouping that I have in the template.
    The following is the sample XML
    <ROWSET>
    <ROW>
    <GRE>org1</GRE>
    <ORGANIZATION>Accounts</ORGANIZATION>
    <FULL_NAME>test1,</FULL_NAME>
    <ELEMENT_NAME>TEST BONUS</ELEMENT_NAME>
    <CLASSIFICATION>Supplemental Earnings</CLASSIFICATION>
    <RUN_VALUE>250</RUN_VALUE>
    <MONTH_VALUE>500</MONTH_VALUE>
    <QUARTER_VALUE>500</QUARTER_VALUE>
    <YEAR_VALUE>500</YEAR_VALUE>
    </ROW>
    <ROW>
    <GRE>org1</GRE>
    <ORGANIZATION>Finance</ORGANIZATION>
    <FULL_NAME>test2</FULL_NAME>
    <ELEMENT_NAME>VOLUNTARY AD AND D</ELEMENT_NAME>
    <CLASSIFICATION>Voluntary Deductions</CLASSIFICATION>
    <RUN_VALUE>5.19</RUN_VALUE>
    <MONTH_VALUE>10.38</MONTH_VALUE>
    <QUARTER_VALUE>10.38</QUARTER_VALUE>
    <YEAR_VALUE>10.38</YEAR_VALUE>
    </ROW>
    <ROW>
    <GRE>org1</GRE>
    <ORGANIZATION>Finance</ORGANIZATION>
    <FULL_NAME>test3</FULL_NAME>
    <ELEMENT_NAME>HMO MEDICAL</ELEMENT_NAME>
    <CLASSIFICATION>Pre-Tax Deductions</CLASSIFICATION>
    <RUN_VALUE>19.67</RUN_VALUE>
    <MONTH_VALUE>39.34</MONTH_VALUE>
    <QUARTER_VALUE>39.34</QUARTER_VALUE>
    <YEAR_VALUE>39.34</YEAR_VALUE>
    </ROW>
    <ROW>
    <GRE>org1</GRE>
    <ORGANIZATION>Finance</ORGANIZATION>
    <FULL_NAME>test4</FULL_NAME>
    <ELEMENT_NAME>PENSION NR DC</ELEMENT_NAME>
    <CLASSIFICATION>Pre-Tax Deductions</CLASSIFICATION>
    <RUN_VALUE>0</RUN_VALUE>
    <MONTH_VALUE>360</MONTH_VALUE>
    <QUARTER_VALUE>360</QUARTER_VALUE>
    <YEAR_VALUE>360</YEAR_VALUE>
    </ROW>
    </ROWSET>
    In the template I group the data based on CLASSIFICATION and then sort on the same column CLASSIFICATION. I have a page-break applied for every group.
    When I generate the PDF, I am not getting the page-breaks for every group. Instead some of them are displayed in the same page.
    But when I remove the sorting that I had in the template on the column CLASSIFICATION, I am getting the output in the desired way but not in a sorted order.
    kumar

    Hi All,
    I am using MS-WORD 2007 and BI Publisher desktop 10.1.3.3.3.
    When I use split-by-page-break, splitting is performed for every line .. but not for group of lines.
    Can anybody throw some light on this?
    FYI...
    I am using this code:
    ?if: position() mod 6= 0?
    ?split-by-page-break:?
    ?end if?
    (Of course with in tags)
    in G_LINES loop.
    Can anybody help me out :-(
    --Saritha                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ALV .  How to remove the sort buttons on toolbar in ALV report?

    Hi,experts
      As you know, in default case , the alv report will display two sort buttons(ascending ,descending) on its toolbar , So How to remove the sort buttons on toolbar in ALV report?
      Thanks for your help .

    Hi guixin,
    1. Before calling REUSE_ALV_LIST_DISPLAY
    2. Write this code :
    data : excl type SLIS_T_EXTAB.
    data : exclwa type SLIS_EXTAB.
    exclwa = '&OUP'.
    append exclwa to excl.
    exclwa = '&ODN'.
    append exclwa to excl.
    3. Then while calling the FM,
       pass this parameter also .
    IT_EXCLUDING     = excl
    It will work fantastic.
    regards,
    amit m.

  • Field should not display in the subtotal row in ALV report after sorting .

    we have a requirement, after sorting and subtotaling, the output in ALV is -
    vbeln        amount1  amount2  amount3
    123           11              12            13
    123           12             13             14
    123           23             25             27 
    133           11              12            13
    133           12             13             14
    133           23             25             27
    Now the customer wants the ALV outpput in this fashion -
    123           11              12            13
    123           12             13             14
                     23             25             27    --->123 (vbeln) should not come in subtotaling row
    133           11              12            13
    133           12             13             14
                      23             25             27--->133(vbeln) should not come in subtotaling row

    Hi,
    if it helps you could create a hierachy. In this way you can define the field catalog for the lines and for the subtotal columns. The only thing is that you would always show the subtotal rows.
    You have references of hierachy alvs in
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c060fcb4-2c62-2b10-d2b2-f32407a5cc6f
    ALV Hierarchy
    alv hierarchy
    In this case it also sorts
    Sorting for ALV hierarchy
    I hope it helps.
    Edited by: Oscar Pecharroman on Aug 2, 2010 1:13 PM

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • Sort field in ALV report

    Hi Expert,
    IN  ALV report using RESUE_ALV_GRID_DISPLAY . I want to sort the second field of ALV output . In this function module  RESUE_ALV_GRID_DISPLAY  using event PF_STATUS . so can u tell me how sort the second field .
    Regards
    Bhabani

    Hi,
    check the fallowing code
    IT_SORT TYPE SLIS_T_SORTINFO_ALV,
    WA_SORT TYPE slis_sortinfo_alv,
    ****SORT LABELS AT RUN TIME
      WA_SORT-TABNAME = 'IT_FINAL1'.
      WA_SORT-FIELDNAME = 'BUDAT'.
      WA_SORT-UP = 'X'.
      WA_SORT-GROUP = 'X'.
    WA_SORT-subtot = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR WA_SORT.
      WA_SORT-TABNAME = 'IT_FINAL1'.
      WA_SORT-FIELDNAME = 'MATNR'.
      WA_SORT-UP = 'X'.
      WA_SORT-GROUP = 'X'.
    WA_SORT-subtot = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR WA_SORT.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM               = SY-REPID
          I_CALLBACK_TOP_OF_PAGE           = 'TOP_OF_PAGE'
          IS_LAYOUT                        =  LAYOUT
          IT_FIELDCAT                      = IT_FIELDCAT
          IT_SORT                          = IT_SORT
          I_DEFAULT                        = 'X'
          I_SAVE                           = 'U'
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
         TABLES
           T_OUTTAB                        = IT_FINAL1
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards
    Nandan.N

  • Sorting in 6i and 10g reports

    Hello All,
    I am running 6i and 10g reports against a 10g database.
    I ran one of the 6i report and it generated a report in one sorting ordear
    and when i ran the same report on 10g ,it generated the report in ddifferent order.
    Both the reports r run against the same 10g database.
    The order by clause on the columns of the records r identical.
    Now i wanted to understand how it is sorting in different orders in both 6i and 10g reports?
    Thanks,
    Ranz

    Hi,
    Please note the fact that 6i Reports is not certified to work with 10g Database. Hence it becomes impossible to address the sorting behavior of 6i Reports, though there is nothing different in the way it works. I would suggest you to use 10gR2 version of Reports services with 10g Database which is certified and supported. Thanks for your understanding.
    Regards,
    Anand

  • Is there a way of making my iPod's "cover flow" sort in the same way the software can . Artist -- Album by Year . It only seems to do Artist -- by Alphabetical Album . I want it look like it does on the PC .

    Is there a way to make the "cover flow" on the iPod match the sort style that I use on the software . I go with Artist -- Album by Release Year . But the ipod seems to only do Artist -- Alphabetical by Album , and then there are a handful of albums oddly out of place . Can it be done ?

    Ottonomy, here's what to do.
    Connect your iPhone to your computer and open the iPhone's playlist in an iTunes window. Copy/Paste the entire playlist into a new(!) playlist in iTunes, not on your iPhone. Then resort the playlist. After you sort it, Copy/Paste it to a new(!) playlist on your iPhone. Now delete the old playlist on your iPhone and rename the new playlist the name you want it to be (probably the same name as the old playlist).
    The downside to this method is that you have to do it every time you add a song to the playlist. Unfortunately, I don't think there's another way.

  • ICal Print List - Why are to-dos randomly sorted?

    When printing from iCal in the list view, my To-Do List is NEVER sorted the way I sorted it in the main iCal window (whether by Calendar, Priority, or Manually). Instead it's just sorted randomly, which is very unorganized.
    Does anyone know why this is, or what can be done to fix it?

    It sounds like from your description that you're entering a date as a string in the todo description. Ideally you should be entering the date as the due date. This will help the sort order both in iCal and when printing. When you decide to print the To Do List, make sure View is set to List. Only check To Dos. In the time range, select the range you want to see. Anything without a due date will be printed under the heading To Dos without Due Date.

  • Month Sorting at Universe Level

    Hi All,
    We have created a Universe on BEx query to develope an BO Explorer.
    We are having Sorting problem with Fiscal Period values, which is in Character type.
    So need some clarification on below queries..
    Q: Can we change the Fiscal Period datatype from Character to Number?
    I think it will give an error if we change the datatype
    Q: Can we add preceding zeros for 1 to 9 months?
    I used below MDX expression for testing purpose,
    <EXPRESSION>IIF([0FISCPER3].[LEVEL01]="1",1,2)</EXPRESSION>
    But it is always giving me the else part only.
    If I replace the dimension with Measure then the above expression is working fine.
    Q: Can we use Concatination Operator for adding preceeding zeros for periods 1 to 9?
    Q: Can we apply any transformations on Dimenstion fields?
    Environment details:
    BO 4.1 SP3
    UDT 4.1 SP3
    Please advise me.
    --Praveen G

    Hi Ann, it is always helpful to have a dim_time table in your data mart where you have these 2 fields (among others):
    month_number     month_full_name
         1          January
         2         February
    and so on...
    Then you can put something like the following SQL in your derived table called "MONTH"....
    select distinct month_number, month_full_name
    from dim_time
    order by 1
    Create a dimension object, says, "month_lov". Go the Properties tab, click "Edit", then "SQL". In the query panel, put in something like this...
    select month.month_full_name
    from
    (select distinct month_number, month_full_name
    from dim_time
    order by 1) month
    Make sure you check "Do not generate SQL before running", then click "OK" and "Save and Close". Then create a condition object to point to this LOV. You should be able to get the months listed in the real order.
    Hope this helps.
    If you are using the BusinessObjects tool, you should join [ASUG|www.asug.com]

  • I have a mac book pro i got about three months ago i know that it has been compromised with some sort of key loger and there for shur using remote desktop client! ill go in delete a bunch of files thy will repute them back in there and make it so i can re

    im very new to computers but very fast learner and very mechenacal but i cant spell my way out of a wet paper bag! lol i receved this macbook pro runing lion 10.7.5 *** a gift slash i paid for it means the most to me its my babie someone has took it apon themselfs to put a keyloger on it been moving files opening accounts in my name basikly identy theft the did not expect me to catch on this fast when i first got it i dident even now ho to use the  mouse pad but been real fortinat i have to the point i know the operating systems realy good but little things still learning iv overloded this thing twice now and brout it back pluse the last time i shute it down trying to get ride of owes so ever on hear i know it sounds crazy but have figuerd out what apps there useing and can revirbalize it back to some one kinda lol remind you im an idiot on computers lol the changing source cods useing key loger of some sort and remote deskstop conection, and a app to watch and record it on there iphone!last time i had coach reboot it i beged him for the start up disk he works for dell tride to tell him in the begining but dident know unuff to verbilize it to him pluse the terminoligies but i have been consuned buy it need some help to file in dark sposts on knolige and if rebooting my mackbook pro is the way to go got a lot of apps from coach dont want to lose im a poorbaserd thats whuy iv been avioding this at all cost plose i dont know if what i got for start up cd is right i was reading you need i desk please i need a bad *** coputer haker iv done all the simpel stuff some of the hard stuff gotten so close but olmst screwd up funkshons "systems preferences plans and framwork plains trying to get rid of this probelem no im not loosing it thats why i need some one who knows what there doing and is up for a challinge sorry about the spelling its bad i know but im only kinda dump lol pretty smart actully whent from be a compleat dump *** on computers to being abel to show some of my would be computer savey friends some tricks and how to do things, really still dump when it comes to windows but its kinda like appel,got lots of quistins like how afer all i done and coach even reboot ti for me (not useing cd but hard drives to reboot so id have apps that cost lot of money on it but cought him right in the middel of moving and i ended up getting lion 10.7.5 insed of having mountin lion 10.8.5  yes it was a big deference too miss mountin lion so much pretty bumed out that this person has done this to me kinda know who it is but cant prove it plese help ill do whatever....

    Hi
    Level 2 posters and Above can report various posts.
    When they do so they have various options that they can attribute as the issue.
    I have reported your post.
    I found the one block of text very difficult to read.
    9:36 PM      Monday; January 28, 2013
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • ITunes 11: In the store, I can no longer sort by name/artist/album

    I can no longer sort by name or artist or album when I'm in the store with iTunes 11.  Yes, I discovered the View Options in the Menu Bar. By when I select it nothing opens. Same for Command-J. It doesn't do anything either. I've tried hitting Command-J repeatedly, but nothing.
    The fact is, it seems utterly stupid to have this work differently than when you're in your library---by simply hitting name/artist or album in the bar at the top of the list. Having to sort lists in the Store via a completely different method than the lists in one's library is totally counter-intuitive.
    But back to my problem:  The View Options won't open for me. Anybody know how to fix this?
    I've got a lot of music I wish to buy, but I need different methods of sorting, otherwise it'll be a nightmare trying to keep track of things.
    Thanks,
    Doug

    I have the same exact problem.  I am using a Windows computer running Windows 7.  I was able to see them prior to the installation of 10.4.  I have this problem on 2 computers and have a hard time believing that no one else is having this problem

  • Sort Table command no longer works in Numbers 3.2.2

    I am running OS X 10.9.4 and recently updated Numbers to 3.2.2 on my Macbook Pro. Since then I have been unable to sort a table which uses cells referenced from other tables. I have re-created a very simple set of tables to illustrate the problem. Table 1 and 1-1 below are the basic tables created to hold the data. The DATE column is formatted as Date with no Time format.
    The Summary Table selects the relevent data from each DATE field in the above 2 tables. I reference these fields by typing in "=" and then clicking on the appropriate field. Shown in Fig. 2.
    FIGURE 2.
    Everything looks fine in the table until I want to SORT the Summary Table by DATE field which I do by clicking on the down arrow at the top of the DATE column and selecting SORT ASCENDING - see Fig. 3 below.
    FIGURE 3.
    When I do this, the result is as shown in Fig. 4.
    FIGURE 4.
    When I click on the exclamation mark the text is as shown in Fig. 5.
    Figure 5.
    I used to be able to do this Sort really easily before updating to the latest version of Numbers. I have tried creating another worksheet and setting up completely fresh tables, I have created the same tables on my iMac running Numbers 3.2 and I keep getting the same result. Each time I run the Sort command I get varying results of more or less exclamation marks interspersed with blank cells. I may be being completely thick here but I would really appreciate someone helping me out as this is driving me NUTS!! I have searched on as many Forums as I could find and have been unable to find anyone with a similar problem. Any help here would be much appreciated.

    Thanks everyone for your replies. I have copied in the screenshots of the tables again by dragging & dropping this time so hopefully you can see them now.
    This shows the tables I have created.
    This shows the formula in the cell.
    The sort command on the column I want to sort on.
    The result after the sort command...
    And the error message.
    Anyway, if you can see all that now, could someone explain what is actually happening in the sort process as I don't really understand why the results appear as they do. I have now taken out all blank rows and columns of data in Table 1 and Table 1-1 and now when I run the sort I get the following result:-
    What I want to happen is that the Summary Table is arranged in Date order.  - surely that should be easy enough?? This used to be such a simple process before the update!!
    Could someone explain to me what is actually happening here and whether the safe sort suggestion made will work in this instance? I am off to experiment now and have another look at the links given as I still don't really understand what is happening. Thanks again for the suggestions and help - much appreciated!

Maybe you are looking for

  • Should I partition my external hard drive for FCPX media management?

    Is there any benefit to creating partitions on a single external hard drive for media management purposes? My thoughts were to divide a 1tb external firewire drive into 3x 300gb slices and leave 100gb as "free space".  Each partition would be dedicat

  • Capturing plots using GPIB-Equipped PC

    I would like to write a visual basic program to make the PC pretend to be a GPIB printer. Using Visual Basic, I can send commands to the spectrum analyser and get back simple pieces of information such as the marker frequency. But I have not been suc

  • How do I go back to Edge 2?

    After upgrading to Edge 3.0, things have gone steadily downhill. At this point Edge 3.0 won't do anything-every command causes it to freeze and I have to force quit the program. Is there a way to reinstall version 2 so I can get some work done?

  • Memory error when selecting a network printer in print dialogue

    Hello, I have the following situation: Adobe Acrobat 9.0 was installed with a 30-days trial together with Adobe Reader 9.1.3 Worked perfectly I uninstalled the trial and got Adobe Acrobat Pro 9.0 installed. From this point on, whenever I open the pri

  • Upload an app just before the site is down and get rejection ??

    Are there anyone managed to upload any app just before the site is down, and his/her app is approved ? I get a rejection from the market and since there is no description in the mail I wonder if anyone face a situation like me?