Create runing sequence in discoverer report(desktop)

Hi All,
I want to show running sequence according to the record number
in discoverer report , How to do ?
Thank you
Mcka

Hi
A running sequence is a ranking, with RANK being one of the analytic functions. In order to create a ranking though you would need to tell Discoverer which item is to be ranked and what, if any restart points there are such as Page Items and Group Sorts.
A typical syntax would be:
RANK() OVER(PARTITION BY Customer ORDER BY Profit DESC )
This ranks profit in descending order, with the highest profit ranked 1, restarting the ranking on each change of Customer. The Customer would typically either by a Page Item or a Group Sorted item. If you have multiple Page Items and / or Group Sorted items I generally include them all in the PARTITION BY section of the function.
If the above function was in a workbook, you would want to have at least one additional dimensional data item such as Product, otherwise if you only had Customer and the calculation each customer would be ranked 1. To see a ranking of Customers you can remove the PARTITION BY clause like this:
RANK() OVER(ORDER BY Profit DESC )
Does this help?
Regards
Michael

Similar Messages

  • Discoverer report link

    Hi guys,
    I have created a link to Discoverer report in applications that works beautifully but there is one downside in it. When we invoike the report to launch in Discoverer Viewer it opens in the same browser window. Does anyone know how to make it open in a new browser window? I have looked into ICX: Discoverer parameters and other profile options but could not find anything pertaining to that. Also looked into Function parameters but seems to be missing it. Help, anybody!
    Thanks in advance.

    hey, follow this Note for 11i: Note:278095.1 or this one for r12: Note:471303.1

  • Discoverer Report  returning ' no data  found '

    Hi  ...
    i  have an issue with one discoverer  report  .
    Discoverer report  name : EDI Price Exception Report.
    when i ran the report  in Discoverer  Desktop edition  It is returning 'No Data Found ' But  i am taken the  Query from admin edition  and tried to  ran in  PL/SQL Developer/TOAD  by setting  Org_id condition
    it's returning Data  . the Desktop Edition of Discoverer for  some specific date  Range  it's giving Data  But  from last month on wards  it's not returning any Data.
    in Discoverer Report  Desktop  it's not retuning the Data from  November to till date
    Oracle  Applications  11i
    Discoverer 4i
    Oracle Data base :9i 
    OS : Windows.
    Attached the Sql  which i used to generate the Report :
    I HAVE USED THE FOLLOWING  :-for initialize the profile options
    EXEC FND_GLOBAL.APPS_INITIALIZE (0,52163,660);
    EXEC APPS.FND_CLIENT_INFO.SET_ORG_CONTEXT(2922);
      SELECT A.CUST_PO_NUMBER,
             A.ORDER_NUMBER,
             A.ORDERED_DATE,
             A.ORDER_TYPE,
             -- C.CUSTOMER_ID,
             C.CUSTOMER_NUMBER,
             C.CUSTOMER_NAME,
             B.LINE_NUMBER,
             B.ORDERED_ITEM,
             MSI.SEGMENT1 ACCO_ITEM,                               -- GRW 20060407
             MSI.DESCRIPTION,
             -- MSI.INVENTORY_ITEM_ID,
             (SELECT MCI.CUSTOMER_ITEM_NUMBER
                FROM MTL_CUSTOMER_ITEMS MCI,
                     MTL_CUSTOMER_ITEM_XREFS MCIX,
                     MTL_SYSTEM_ITEMS_B MSIB
               --  MTL_PARAMETERS          MP
               WHERE     MCI.CUSTOMER_ID = C.CUSTOMER_ID                 --1814924
                     AND MCI.CUSTOMER_ITEM_ID = MCIX.CUSTOMER_ITEM_ID
                     AND MCIX.INVENTORY_ITEM_ID = MSIB.INVENTORY_ITEM_ID
                     AND MSIB.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID   --869899
                     AND MSIB.ORGANIZATION_ID = MTP.ORGANIZATION_ID --MP.ORGANIZATION_ID
                     AND MTP.ORGANIZATION_CODE = 'BRM'
                     AND MCI.CUSTOMER_ITEM_NUMBER = B.ORDERED_ITEM
                     AND NVL (mci.inactive_flag, 'N') <> 'Y'
                     AND NVL (mcix.inactive_flag, 'N') <> 'Y')
                CUSTOMER_ITEM,
                     XXAB_ITEM_XREFS.GET_GBC_ITEM_NUM (B.ORDERED_ITEM) GBC_ITEM_NUMBER,
             B.ORDERED_QUANTITY,
             B.PRICE_LIST,
             B.UNIT_SELLING_PRICE,
             B.UNIT_LIST_PRICE,
                   TO_NUMBER (B.ATTRIBUTE7) CUST_SENT_PRICE,
             apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
                                                B.ordered_item,
                                                B.header_id,
                                                B.line_number,
                                                B.unit_selling_price,
                                                B.attribute7,
                                                B.pricing_quantity_uom,
                                                B.attribute4)
                CUST_SENT_PRICE_CONVERTED,
             ABS ( (B.UNIT_SELLING_PRICE
                    - apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
                                                         B.ordered_item,
                                                         B.header_id,
                                                         B.line_number,
                                                         B.unit_selling_price,
                                                         B.attribute7,
                                                         B.pricing_quantity_uom,
                                                         B.attribute4)))
                DIFFERENCE,
                      MTP.ORGANIZATION_CODE,
             B.SHIP_TO_LOCATION
        FROM OE_ORDER_HEADERS_V A,
             OE_ORDER_LINES_V B,
             RA_CUSTOMERS C,
             MTL_PARAMETERS MTP,
             MTL_SYSTEM_ITEMS_B MSI
       WHERE     A.HEADER_ID = B.HEADER_ID
             AND A.SOLD_TO_ORG_ID = C.CUSTOMER_ID
             -- Added by Gati on 19-Oct-2012, tkt - INC000000118962
             AND ROUND (TO_NUMBER (apps.XXAB_CUST_SENT_PRICE_CONV_SO (
                                      C.customer_number,
                                      B.ordered_item,
                                      B.header_id,
                                      B.line_number,
                                      B.unit_selling_price,
                                      B.attribute7,
                                      B.pricing_quantity_uom,
                                      B.attribute4)),
                        2) <> B.UNIT_SELLING_PRICE
             --AND ROUND(TO_NUMBER(B.ATTRIBUTE7), 2) <> B.UNIT_SELLING_PRICE
             --AND     a.ship_from_org_id = mtp.organization_id
             AND B.SHIP_FROM_ORG_ID = MTP.ORGANIZATION_ID          -- GRW 20060413
             --AND     a.ship_from_org_id = msi.organization_id
             AND B.SHIP_FROM_ORG_ID = MSI.ORGANIZATION_ID          -- GRW 20060413
             AND B.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID       -- GRW 20060407
             AND A.ORDER_SOURCE_ID = 6
             AND A.ORG_ID = B.ORG_ID
             AND TO_CHAR (A.ordered_date, 'DD-MON-YYYY') between  '01-NOV-2013' and  '03-NOV-2013'
             and mtP.organization_code='BRM'
                      AND A.ORG_ID = (SELECT HOU.ORGANIZATION_ID
                               FROM HR_OPERATING_UNITS HOU
                              WHERE HOU.NAME = '50 ACCO Canada')
             AND B.cancelled_flag <> 'Y'
             AND B.flow_status_code <> 'CANCELLED'
             AND B.ORDERED_ITEM <> 'INVALID_ITEM'
    ORDER BY a.order_number

    Hi,
    Assuming your initialization matches your discoverer login, it is pretty weird that you get no data.
    I am not sure how you got the SQL but i suggest you trace the session to get the exact SQL ran by the discoverer.
    You may find another condition or join that limits your data.
    Also another thing that you should try is to initial the session by using all the parameters (including the security group as you have in your discoverer login):
    begin
      fnd_global.APPS_INITIALIZE(user_id =>, resp_id =>, resp_appl_id =>, security_group_id =>);
    end

  • USER UNABLE TO REFRESH DISCOVERER REPORT IN DISCOVERER DESKTOP 10g

    Dear All,
    HELP!!!
    A new user is unable to refresh discoverer Reports in Desktop. All priviledges have been granted to username in Disco Admin and Usre is able to log into oracle Apps.
    On the PC the user logged into someone else can log into Discoverer Desktop and run/refresh discoverer reports without any issues. Hence Ithink neither the PC nor the Discoverer installation is the problem.
    Can anyone help? What setup/profile needs to be completed in order for the user to be able to run Disco reports.
    Pls note that the following has been completed:
    1. Business Areas Assigned to user and his responsibilities.
    2. Desktop/Plus Privileges assigned.
    3. Allow administration - DISABLED - NOT TICKED
    Many thx
    DI

    Does this person just need to run reports? Or does this person also need to create reports? If the person just needs to run reports, try using Viewer for that person, rather than Desktop. This may be something that you need to log a service request with Oracle to get resolved. Pretty strange that can bring items into a new worksheet, but it won't run. Maybe there is an Oracle applications security issue (since logging in as another person does work)? You may be beating your brains out trying to find a Discoverer problem when it might be an application security problem. Though this is a wild guess on my part.
    John Dickey

  • How to order the Discoverer reports through MENU function sequence

    I created 20 Discoverer reports functions in the MENU form, there is a sequence column,
    but when the 20 Discoverer reports displayed on OSO, they are not ordered by the sequence number, looks like just randomly listed. How can I make the 20 Discoverer Reports ordered by the sequence number when displayed on OSO?

    Hi ram,
    There are steps to register in oracle applications so there wont be any login poped up.Below is the link in that viewer and plus acces with e-business suite
    http://ascbi.com/thirdparty_documents.htm_
    hope it helps you,award points.
    By,
    KK

  • Discoverer report - Output from Discoverer plus is not the same as Discoverer desktop

    As a part of Upgrade project we are migrating the discoverer reports from 11i (11.5.10.2) to R12 (12.1.3) .After migrating to R12, for a custom discoverer report the output given by discoverer desktop is correct (24 rows for a scenario). But the report output from Discoverer plus does not show the credit transactions (2 rows). The output from Discoverer plus shows only 22 rows (24 - 2), which is incorrect. The query is the same in Discoverer desktop and Discoverer plus.
    Please let me know why these transactions that are appearing when the report is run from discoverer desktop are not appearing in discoverer plus. Is there any setup in discoverer plus for this?
    Regards,
    Brajesh

    Pretty hard to answer a question like this.  Best bet would be to copy the existing discoverer plus book and start removing conditions, fields, etc until those two rows from desktop show up and see if you can work it out. 

  • Discoverer report accessible through Desktop but not through Viewer

    Does anyone have a hint for me about this problem: we can use a Discoverer report via Discoverer Desktop, but when we try to access the same report through Discoverer Viewer, we get an error message: the page cannot be found.

    It sounds like discoverer viewer may not be correctly configured or the permissions on the database account may not be correct. Can you run any reports through Discoverer viewer as any other user? What version of Discoverer are you running?
    Matt Topper
    TUSC, The Oracle Experts
    [email protected]

  • Time Estimate for creating a new Discoverer Report

    Hi,
    Can anyone tell me how to estimate time required to create a new Discoverer Report?
    It would be great if anyone give me a template / tool for calculating the time estimate..I know, its a manager's job, but I am supposed to give this time estimate for a report.
    The requirement is, to convert Apps standard Invoice Aging Report into Discoverer Report. As far as I know, this is much complex report in Apps.
    Thanks!
    Yogini

    Hi Yogini,
    I’ve just looked at the ‘Invoice Aging Report’, and it shouldn’t be too difficult to convert into a Discoverer Report.
    The time scales really depend on the following:
    -whether the Discoverer Report has been fully spec’d out by the customer.
    Sometimes it’s not a matter of just copying a standard Apps report into Discoverer, as they can always be improved on. It’s best to get the customer to specify exactly what they want on paper first, such as any additional columns, sorts, what parameters etc. Creating a ‘Discoverer Business Requirement Form’ could come in handy, to capture all of this information from the customer, hopefully avoiding them giving you the run around.
    -if the EUL has all the required items for the report
    An item required in the report might not exist in the EUL. If this is the case, do you need to go through Change Control to get it put in? How long would this take?
    -how quickly can get the report into a TEST instance for the customer to test before signing off the change to go in LIVE. Sometimes Customers can hold this process up, so give yourself a couple of days.
    So the time you give really depends on how comfortable you feel with the module (AP) and the actual creation of Discoverer Reports. It obviously also depends on your business processes which can always slow things down.
    As for the report, I’ve actually made a report very similar for the Transactions Age Debt (AR). It could help you a bit.
    To calculate the Days Overdue you could use a Calculation below:
    SYSDATE-Payment Schedules.Due Date
    To calculate the 1 - 30 Days you could use a Calculation with a case statement below.
    CASE WHEN Days Overdue BETWEEN 0 AND 30 THEN Balance Due ELSE TO_NUMBER(NULL) END
    Otherwise no Time Estimated Calculation form… But hope the info will help.
    Cheers,
    Lance

  • Discoverer  report does not sum up the column

    Hi All,
    I am running the discoverer report from discoverer desktop and was
    trying to use the sum function to sum the total amount of the report.
    The sum function does not work and it only display Cell
    Sum: (blank) with no actual data.
    When i checked the report details some columns are calculated based on the columns which i want to sum up.
    Any ideas please share with me
    Thanks in advance.

    b) What is the difference between sum and cell sum? Well, I certainly won't claim to be a Discoverer guru. From what little I have seen, the practical result is not any difference really between the two. SUM of a calculated row is adding up the calculation to the total. Whereas cell sum is like adding up the individual values behind the calculation you see. The distinction makes more sense when you have SUM DISTINCT and CELL SUM DISTINCT being involved. Then you will see a difference in the calculated total. But for SUM and CELL SUM itself, I have not seen any difference between the two, but I am still pretty new to Discoverer.
    e) Aggregate field from a folder. Well, this may be one where you have to play around with your own data to understand. Let me try to give you a simple example. Let's say you have a sales table with 100 rows. You have sales data for 5 cities, and each city has 20 rows of sales history. If you pick Sales Dollars Detail and City Name for your workbook and run, you will get 100 rows in your result (complete detail listing). So that is what happens with no aggregation. Now, instead of doing Sales Dollars Detail, you pick Sales Dollars Sum (the same thing as saying SUM(Sales Dollars) in an SQL statement). Run the workbook. You will now get 5 rows of data, instead of 100 rows of data. You will get one row for each city. If you look at the SQL that Discoverer generates, you will see that it has now done a GROUP BY in the SQL statement. Notice I have not said anything about DISTINCT (just trying to keep things simple).
    Now, lets say you do a workbook for City, Part Number, and Sales Dollars Sum. Run the workbook. You get a summarized result (say maybe 10 rows of summary data this time). If you look at the Discoverer SQL, the GROUP BY is now by city and part number, automatically doing that because you picked the SUM version of sales dollars.
    Now lets say you add Sales Units Detail to the workbook. Discoverer will give you a warning message that you are have both an aggregate and a non-aggregate and that you may end up with unpredictable results. Run the workbook. You will be back to 100 rows, because you specified sales units in detail.
    Most of the time I do not want to see detail rows in a workbook. So most of the time I am picking the SUM aggregate for an amount item.
    Hope this explains things a bit. Sounds like maybe you need to take the Discoverer Create Queries and Reports class. Would help you understand these things better. Good luck.
    John Dickey

  • Oracle Discoverer report shows drilldown icon in Web version

    Hi ,
    I am trying to create a new CROSS TAB Discoverer report. I made all my development done using the Discoverer desktop edition and is fine. When I saved in the database and showed the same report the User, in the Web Version, the report shows ' >' icon in all the cross tab headings and when the cursor is moved there, it gives an option to Drill down.
    We have 3 fields which are selected but not shown in the report. It shows the drill down to those 3 fields.
    My questions is:
    1. I should not allow users to drill down. It should not show that option.
    How to disable that option in the Web Version.
    Any help in this regard is highly appreciated.
    Thanks & Regards,
    Kiran Kesari

    Yogini is correct, but the solution provided will remove drill capability for all users under all circumstances. This is a "shortcoming" of Disco. If you set up a hierarchy for the users to use for drilling, the users must have the drill out privilege. This has the additional effect of adding the "Drill to related..." feature to most (and I believe all) columns.

  • How To View a Discoverer Report In Oracle Applications

    Hi All
    I have 1 problem...
    Im using Oracle Discoverer 4i.
    I have connected to Oracle Applications through Discoverer Administration and created a Business Area and created a report and able to see the report in Desktop Edition, which i connected to Oracle Applications in Desktop Edition also.
    But now my question is how to see that Report in Oracle Applications when i connect to Oracle Applications through explorer and selecting a responsibility
    when i connected to Oracle Applications im not getting the report which i have created.
    Is it possible to view a report in Oracle Applications using Discoverer 4i..
    Please can any 1 help it out ..its very urgent..
    Thanks in Advance..

    Hi,
    You need to have an Apps mode EUL so that you logon with an Applications username and password. You then need to grant privileges to your responsibilities and also set security on your Business Areas so that they can be accessed by your responsibilities.
    Once that is set up, you can create form functions so that you can add links to Discoverer reports in your Applications menus. Metalink Note 278095.1 explains how to do this.
    Hope that helps,
    Rod West

  • How to configure discoverer reports with apps

    Hi,
    i developed a report in discoverer desktop.now i want to link or run the report in apps.
    how do i configure this ...
    can u help me out ..
    regds,
    kumar

    hi ,
    i gone through that note its very helpful to me ..
    but i have a doubt .the discoverer reports are opening with Discoverer viewer 4i.how its automatically taking the viewer to open..
    whether viewer is a tool(like admin&desktop or ???) . by default its available in application or whether we have to install or apply any patch or ...
    and also i tried to open existing(seeded) reports in application through disk desktop its giving the message subtitute item ....
    should i replace the existing item (in created workbook) with the new one (which we need)....
    pl u clarify me
    regards,
    kumar

  • How to use Pl/Sql function in Discoverer report

    Hi Everybody,
    Would you be able to provide a workflow/guidance how to use sql function in Discoverer right from creating the function using PLSQL Developer.
    (I am new to Oracle environment... prev. worked as analyst with Microsoft Access... took PL/Sql class in school a few years ago)
    We are using Discoverer Desktop.
    a) Just emailed dba for permission to create pl/sql function.
    b) Recently got Discoverer Administrator installed on my pc.
    can you pls add to the list:
    c)....
    d)....
    etc.?
    tx for your help, sandra

    Hi Kranthi,
    Thx for your warm words....
    The links you provided are great! Thx soooo much!
    Thanks to you and the rest of forum members, am able to use what you've all taught me
    with other Discoverer reports.... so i was able to do more on my own....
    About a month ago, I got access to Discoverer Admin, and was able to paste SQL to create a custom folder.
    Then i joined the custom folder to an existing baseline folder.
    I have found that sometimes when I use calc within a calc when the calcs use analytic functions, that Discoverer
    just displays null in the column. I thought that maybe instead I could create my own function as a work-around.
    I wrote IT for permissions to create views, functions etc. Hopefully, they'll approve and can move toward learning
    pl/sql functions for Discoverer.
    tx again, sandra

  • Displaying Discoverer report through Apps Form

    Hi all,
    I have a question as to, is it possible to call a discoverer report created in discoverer desktop and which is stored in the database., from an Oracle Apps form using the following method
    WEB.SHOW_DOCUMENT(url,target).. and if yes what url needs to be passed.
    Thnx
    Shruti

    If you have a 11.5.10 instance with Advanced Supply Chain Planning setup (of a Vision Instance), apply 4103334 PLANNING DETAIL REPORT FOR MSC PATCHSET J
    Then look at the function MSCPLDTL_DISC, it makes a call with Parameters Workbook=MSC_PLAN_DET_REP_WB&Parameters=Sheet~1*, of Type SSWA plsql function and HTML call OracleOasis.RunDiscoverer.
    The form that launches the Discoverer report is MSCPLDTL.fmb.

  • Invoking Discoverer Report through Apps Form

    Hi all,
    I have a question as to, is it possible to call a discoverer report created in discoverer desktop and which is stored in the database., from an Oracle Apps form using the following method
    WEB.SHOW_DOCUMENT(url,target).. and if yes what url needs to be passed.
    Thnx
    Shruti

    If you have a 11.5.10 instance with Advanced Supply Chain Planning setup (of a Vision Instance), apply 4103334 PLANNING DETAIL REPORT FOR MSC PATCHSET J
    Then look at the function MSCPLDTL_DISC, it makes a call with Parameters Workbook=MSC_PLAN_DET_REP_WB&Parameters=Sheet~1*, of Type SSWA plsql function and HTML call OracleOasis.RunDiscoverer.
    The form that launches the Discoverer report is MSCPLDTL.fmb.

Maybe you are looking for

  • ALV grid with 2 labels on the output

    Hi, I am trying ALV  Grid with two labels using Function modules. in the output, it should appear like... Header1 | Header2 | Header3 | Header4 | T21 T22 T31 T32 First line is for Header lable and second line is for item lable under corresponding Hea

  • Recording via Optical S/PDIF on Windows XP with Macbook Pro

    Hi, I am using a new Macbook Pro with OS X 10.6 and XP (SP3). I am using optical S/PDIF to carry the signal from an Apogee Rosetta 200 Analog to Digital audio converter to the computer. I get signal from the converter on the Mac side, with Logic Pro

  • Help for a newbie

    I am to iphone, been an An$%*#d user for years and now am loving life on the iphone. However, my son also has an ipod. When he downloads his games to is ipod, they show up on my iphone. He had the ipod before I had an iphone, so I am assuming our acc

  • Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0

    Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0 Cannot access in browser PDF files unless blank box is closed and then website address is clicked on again in browser add

  • IDVD freezes during audio encoding

    Hi there, I'm trying to burn a movie (over 90 minutes long) and everything goes well until it begins to encode audio (last step but one) - the application freezes without any apparent reason. I've tried it 3 times already and always the same. I'm on