Drill Down Report to Summary Report Page Navigation

Hi,
I need technical input.
I have 1 summary report, which is having two columns i.e. Name, ID.Name having hyperlink which navigates to drill down level report.
How to go back from drill down level report to summary report.
Note : Using IE back button it is not full filling becz whenver user navigates the data in drill down reports
Example : In drill down report i have 200 records where i have traverese to 175 records.Where i have clicked 6 times next level page button, In this scenario where user click on the IE back button it not takes back to summary report rather than it traverse back 150 records.
Thanks in advances
Regards,
Murali

After creating the hyperlink in your ORACLE report you have to do the following
Here are the instructions
1. Open Adobe Reader 8.0 (not sure if earlier versions have an internet option.)
2. Click edit
3. Click Preferences
4. Click Internet
5. Remove check mark for Display PDF in browser
6. Click ok
7. Close Adobe Reader
8. Run your UI
9. Generate a PDF report
10. A pop-up window will appear. Check remember and then click ALLOW
11. Enter username and password (this needs to be done only once to initialize the connection between Adobe and Oracle login app)
Good luck
Carroll

Similar Messages

  • Use different Layouts for Summary and Details in Drill down report

    Hi All,
    I have a 2 level drill down report in ALV.
    The summary report has certain fields and the Detail report has different fields. Now my problem is that when i use a default layout (with all fields of summary report) for the summary report, and drill down to the detail report i'm missing the fields on detail that are not in Summary. And if i save the default layout as default (with all fields of Detail) and go back to sumary, I'm missing the some other fields on summary (which are not on detail report).
    Is there a way to make different default layouts for each of those summary and detail reports:
    Also as the layouts are choosen by the user, i cannot hardcode any particular layout;
    So if the user chooses a layout for detail; it has to stay the same layout for the detail report if he goes to summary and then back to detail; unless the user changes the layout again.
    I'm using two different Layout types for each report. but i still cannot get the desired effect.
    Data:
          gt_layout_s             type slis_layout_alv,
          gt_layout_d             type slis_layout_alv,
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program       = g_repid
          is_layout                = <b>gt_layout_s</b>
          i_callback_top_of_page   = g_top_of_page
          i_callback_user_command  = g_user_command
          i_callback_pf_status_set = g_status
          i_save                   = g_save
          is_variant               = gs_variant
          it_fieldcat              = gt_fieldcat[]
          it_events                = gt_events[]
        importing
          es_exit_caused_by_user   = gs_exit_caused_by_user
        tables
          t_outtab                 = it_summary.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program       = g_repid
          is_layout                = <b>gt_layout_d</b>
          i_callback_top_of_page   = g_top_of_page
          i_callback_user_command  = g_user_command
          i_callback_pf_status_set = g_status
          i_save                   = g_save
          is_variant               = gs_variant
          it_fieldcat              = gt_fieldcat[]
          it_events                = gt_events[]
        importing
          es_exit_caused_by_user   = gs_exit_caused_by_user
        tables
          t_outtab                 = it_detail_disp.

    Here is how you differentiate between the layout of two different grids. There is the parameter, IS_VARIANT in the function. You usually leave it empty or pass only the report name and username. <b>What you need to do is to pass unique string for each grids to the HANDLE field of the parameter IS_VARIANT.</b> You can probably hard code it as HEADER and DETAILS in your case. Once that is done, system identified that these two different layout for different grids.
    Regards,
    Ravi
    Note : Please mark all the helpful answers<u></u>

  • Drill Down Report using Crystal reports in eclipse and jspviewer

    Hi
    I want to understand how to write a drill down report since I have a requirement for my project, so I tried to run the sample drill down.rpt that is available with Crystal Reports 2008 Complete Reference book by George Peck.
    I can see the results correctly( i.e. can drill down) in the preview tab . Since I am working inside the eclipse, the way I run the reports is first  "Create report viewer JSP" by right clicking the report and have a url mapping to this jsp. I am running the reports from a hyperlink that maps to the url which will launch the jsp.
    the jsp is:-
    <%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %><%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %><crviewer:viewer reportSourceType="reportingComponent" viewerName="Drill Down-viewer" reportSourceVar="Drill Down" isOwnPage="true" allowDrillDown="true">
         <crviewer:report reportName="reports/Drill Down.rpt" />
    </crviewer:viewer>
    The one that was created by  "Create report viewer JSP" did not had "allowDrillDown" attribute at all .But I added it since it isnt working.
    So when I launch my web app and click on the link to run the report, I get the report results but only to the summary level. When I double click the summary level I get a 404 error page.
    Can please anyone suggest what is going on.
    Thanks
    poonam

    Ok. So, you added the report to the project. Now we have to add the CR assemblies to the project, add the viewer (if need be) and fire it off. Simplest code would be:
    Public Sub New()
            ' This call is required by the designer.
            InitializeComponent()
            ' Add any initialization after the InitializeComponent() call.
            CrystalReportViewer1.ReportSource = ("path to report")
        End Sub
    In this case you are using the viewer SDK to runt he report. The report will prompt for any logon parameters - but you can code these also. You can load the report via the engine as bellow. Again, the report will prompt. I prefer to use the engine as it is way more "extensible"...
    Public Sub New()
            ' This call is required by the designer.
            InitializeComponent()
            ' Add any initialization after the InitializeComponent() call.
            Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            crReportDocument.Load("path to report")
            'Bind the report to the viewer
            CrystalReportViewer1.ReportSource = crReportDocument
        End Sub
    If you have a report added to the project (strongly typed) the code would be:
    CrystalReportViewer1.ReportSource = New myReport()
    For more details, I'd recommend looking at the sample app vbnet_win_simplepreviewreport.zip available from the following location:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    The developer help files are here:
    [SAP Crystal Reports .NET SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
    [SAP Crystal Reports .NET API Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip]
    - Ludek

  • Drill-Down Report Printing Problem for Selection Parameters

    Dear Experts,
    Have tried to configure Drill-Down Report for Vendor Balances,
    Am having trouble when printing this drill-down report, Printing is coming OK but it comes with ALL selection parameters, for e.g, have entered 20 vendor codes for the balance display, system first prints all selection parameters and then it prints the output of vendor balances,
    User does not want selection Parameters to be printed with the Report Output. Please find below screenshot for the problem.
    Input Parameter Screen
    Report Output Screen
    Print Preview Screen (First Page - Selection Parameters)
    Your help is much appreciated, if anyone can guide me, how to switch off selection parameters from Print Output of Drill-Down Report
    Thanks
    Regards
    P

    Hello Ms. Preeti,
    Thanks for your reply, Have designed the report through FKI0 (FKI*)
    Have already looked these setting, but these are not helping really, PFB screenshot for settings am having in my system, if you have any idea which can avoid User Input Parameters from printing then it will be really great help
    Thanks for your help
    Kind Regards
    P

  • Drill Down Report Performance issue?

    Hi,
    why drill down report is slower performance comparing with Action link/Navigation method? what could be the back end processing?
    Thanks
    MRD

    Need to know/see your config to tell why it is slow, I would suggest to follow best practices for the same.
    Drill down back end process something like:
    Report fetch next level columns and the all aggregated measures are grouped by next level this may take some time unless you go with aggregate table (is part of best practices)
    Appreciate if you mark as correct/helpful

  • Drill down reports (Reports 3.0)

    I am trying to create a series of drill down reports using
    Reports 3.0. To do this I have created buttons in each report
    which pass parameters to the next report using the
    srw.run_report package. I have a problem with the lowest level
    report where no errors are reported but the report is generated
    as a blank page. When run in isolation, i.e. filling in the
    paramters manually, the report works perfectly well. Does anyone
    have any ideas? Also, when passing more than one parameter, do
    you just have to use the concatenation operator (

    nicola (guest) wrote:
    : I am trying to create a series of drill down reports using
    : Reports 3.0. To do this I have created buttons in each report
    : which pass parameters to the next report using the
    : srw.run_report package. I have a problem with the lowest level
    : report where no errors are reported but the report is generated
    : as a blank page. When run in isolation, i.e. filling in the
    : paramters manually, the report works perfectly well. Does
    anyone
    : have any ideas? Also, when passing more than one parameter, do
    : you just have to use the concatenation operator (

  • Customized drill-down report cannot go to line item level (FGI4 and FGI1)

    Hi Expert,
    I created a customized drill-down report using New GL features, as follows:
    FGI4 create form, with reference to form: 0SAPBLNCE-01
    FGI1 create report for the form created.
    After that I set some things like characteristic, variables, and output type.
    When I execute the report, the data shown cannot be drill-down to line item level:
    Goto > Line Item (this function is disabled).
    Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
    Thanks
    sbmel

    Hi sbmel,
    For calling up a line item report in a drill down report you need to make the below settins:-
    - You first have to generate the line item report with program RGRGENSI for your summary table.
    - Then assign the generated line item report to the summary report.
               Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
                In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
    Regards,
    Gaurav
    Edited by: gka2707 on Jul 19, 2010 8:07 AM

  • Drill Down Report in screen painter

    Hi Experts,
    I have a requirement in dialog programming/screen painter to create a 2 level drill down report. for eac page of the report, it should only contain 10 entries then to view the other entries (11 and up), the button for next page should be click (there is also back button).
    First question is how will I have the drill down report (alv list type?) in screen painter?
    Second question is how should I process the logic mentioned above (next and back) in screen painter/dialog programming?
    Thanks in advance for all teh support. Points will be rewarded.
    Cheers,
    Kurtt

    Hai,
    Go thru this Threads u ll get an idea,
    Drill down report help
    Re: regarding Drill Down Reporting
    drill down capabilities for an alv grid display field using oops concept
    Regards,
    Padmam.

  • Problem with Drill down reports demo

    Hi,
    Did somebody successfully installed the
    drill down demo. I am not able to get the results here getting some javascript error
    "object expected".
    I have created a schema,
    also the cgicmd.dat report variables
    attahced the rep_util file.
    I could see the invoices report and the product link displays
    javascript:opendetailwin('http:/myserver/dev60cgi/rwcgi60.exe?item+101863')
    when i clik on the above link i get object expected error.
    The Javascript on view source page looks like this
    <script language="JavaScript">
    <!--
    var detailwin = null;
    function opendetailwin(urltopen)
    detailwin = window.open(urltopen,"ItemDetails",
    "width=650,height=535,resizable=yes,status=no,menubar=no,scrollbars=yes,toolbar=no")
    detailwin.location.href=urltopen;
    // -->
    </SCRIPT>
    any help will be higly appreciated. Also is there any other way of implementing drill down reports on web.
    Thanks in advance,
    Shailesh

    Hello,
    Try making your hyperlink in the master report look like this:
    http://webserver/dev60cgi/rwcgi60.exe?detail+p_contactid=&<contact_id1>
    The &<column_name> reference in a hyperlink will tell Reports to substitute the current value of that column in the resultant string.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Calendar with Drill Down Report

    Hello,
    Everybody.
    I am new to Application Express.
    Please any one tell me step by step how to make calendar with drill down report.
    Waiting for valuable reply.
    Thanks
    Rahul

    Not sure if this is what you wanted, but I have links on a calendar, and when you click them, it branches to another page with details about the event.
    To do this, create a calendar region. The SQL statement should have at least 2 columns: The date of the "event", and the text to display as a link. You should also choose a primary key that you want to pass to the drill down report when the user clicks. Something like this:
    select hiredate date_scheduled,
              ename display_column,
              empno
       from empIn the calendar attributes of that region, there is a place to designate which column is the date, and which should be displayed. Go down a little further and set the column link. Put the page you want to show the drilldown report on, and set any variables you need to.
    Hopefully that helped. Its pretty simple once you play around with it - start simple and then once you get the hang of it, make it more complex.

  • Image map & Drill Down Reports in Apex

    Hi,
    I am looking to create a Image map with drill down reports. I don't know Java but know PL/SQL functions/procedures very well. I would appreciate if someone help me with this.
    I am looking following functionality:
    1. Upload an image in Apex
    2. Create click-able areas in it.
    3. User click on these hyperlinks and move to next page with drill down report as per the vaiable in hyperlinks
    Wajid

    Try viewing this blog entry to see how to do image maps in APEX..
    http://www.danielmcghan.us/2009/05/html-image-maps-old-trick-with-new.html
    Thank you,
    Tony Miller
    Webster, TX

  • Drill down reports using SVG component

    I've created and dynamic report and an SVG chart following the examples of the tutorials. I was wondering if, and how, it was possible to create drill-down reports i.e report on colour, then clicking on that colour would reveal the types of car and so on. Does anyone have an example?
    Thanks
    Darren

    Darren,
    The query for an SVG chart requires 3 columns: Link, Label, and Value. You use the Link value to provide a link to another page. This link can also pass parameters to the next page.
    If you set up a page for each "level" of your drill-down (e.g. color, type of car, etc), you can link from the higher-level page to the lower level page and pass the value that was clicked on in the chart.
    Take a look in the HTML DB User's Guide for the section about "Using f?p Syntax to Link Pages": http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_fund.htm#BEIJCIAG
    You would use that syntax in the Link column of the query for your chart. Here is part of a query I used to drill down from one pie char to another (on page 3), passing the selected project to a variable called P3_PROJECT.
    select 'f?p=&APP_ID.:3:&SESSION.::NO::P3_PROJECT:' || Project L,
    Project, sum(Time)
    from v_timesheet
    where ...
    Does that help?

  • Drill down reports in portlets

    I am using portal to create an MIS reporting system. I want to create drill down reports however if I try to drill down from a report portlet the other report does not show up in the same region or even on a page of that page group. Instead it uses the template specified for the report. Is there a way to drill down from one report portlet to another?

    Hi Prashant,
    You can try T code CJE0 - report 12KST1G . Here at least you remain in the screen of CJE0 instead of going to SAP menu after exit from the report. But this also doesn't solve your problem.
    I have checked transaction code S_ALR_87013534. It is giving same problem. As suggested by Shrikant , you can raise OSS note to SAP.
    Regards,
    Amit More

  • Drill-down reports Discoverer-style

    Hi,
    I'm looking for a way to implement drill-down reports in HTMLDB. All the references I found are showing details in a 2nd page for a certain row in the 1st page (e.g. ordered items for an order ID).
    I'm not looking for this, but for drill-down "a la Discoverer", such as this example
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/viewer/lesson1.htm#t7
    One can select there multiple criterias for drill down.
    Perhaps the solution would be a combination of tree reports with standard reports
    http://www.oracle.com/technology/products/database/htmldb/howtos/howto_tree.html
    but I don't see clearly how to do it, especially with a lot of drill-down options.
    Do you have any suggestions?
    Many thanks,
    Marius

    I think there are two differen approaches:
    - using the HTML report and doing some "dynamic" SQL at the block level
    (That means you have to write the drill down - this is the logic that
    is done by the tree - by yourself)
    If you ever have done the work to do this in combination with a HTML DB report,
    please post it here.
    - using the a Tree Page with a special layout and view
    Which one to use depends on how often you have to use this.
    You can see an example under:
    http://htmldb.oracle.com/pls/otn/f?p=41053:30
    Here is a quick hack for the Tree Page variant, that may help you.
    Using a Tree page uning a view and changing the tree template gives you some of
    this functionality. If you have to do more of this kind use a stylesheet (.css) to
    controll the layout.
    1. Create a View that represents your Hierarchy (Structure)
    For every level create a UNION secion.
    Using UNION you can get the records from different sources also.
    2. Create a Page with a Tree, SQL Query Based.
    Use the View that you created before.
    NAME .. are the levels of your dimensions
    A1, A2 .. are your measures of your fact
    ID, PID .. the hierarchy (structure) information
    * Step 1 - creating a view:
    create or replace view tree as
    select id, pid, name, link, a1, a2
    from (
    -- Level 1 (Root Level)
    select
    to_char(ORDER_TIMESTAMP,'YYYY') id, null pid,
    to_char(ORDER_TIMESTAMP,'YYYY') name, null link,
    to_char(sum(ORDER_TOTAL),'999G9990D99') a1, to_char(count(*),'999G9990D99') a2
    from DEMO_ORDERS
    group by
    to_char(ORDER_TIMESTAMP,'YYYY'),
    to_char(ORDER_TIMESTAMP,'YYYY')
    UNION
    -- Level 2
    select
    to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
    to_char(ORDER_TIMESTAMP,'Month'), null,
    to_char(sum(ORDER_TOTAL),'999G9990D99'), to_char(count(*),'999G9990D99')
    from DEMO_ORDERS
    group by
    to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
    to_char(ORDER_TIMESTAMP,'Month')
    UNION
    -- Level 3 (Leaf Level)
    select
    to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
    to_char(ORDER_TIMESTAMP,'DD. Day'), null,
    to_char(sum(ORDER_TOTAL),'999G9990D99'), to_char(count(*),'999G9990D99')
    from DEMO_ORDERS
    group by
    to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
    to_char(ORDER_TIMESTAMP,'DD. Day')
    )If you have a lot of this kind of reports you realy should think to
    use discoverer. It does a lot of sql behind the szenes and also in the
    presentation logic - this is what you have to do here by hand.
    If you have more than two measures (A1,A2) you can do the
    formatting in your view (realy ugly, but it is a workaround).
    * Step 2: Create the tree page
    Tree Query:
    select
    "ID" id, "PID" pid, "NAME" name,
    null link, a1 a1, a2 a2
    from TREEBefore Tree:
    <table border="0" cellspacing="0" cellpadding="0">After Tree:
    </table>Leaf Node:
    <td style="background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
    border-width:1px 0px 1px 0px;" align="left">
    </td>Leaf Node Last:
    <td style="background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
    border-width:1px 0px 1px 0px;" align="left">
    </td>Drill Up:
    (up)Indent Vertical Line:
    <td style="background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
    border-width:1px 0px 1px 0px;" > </td>Indent Vertical Line Last:
    <td style="background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
    border-width:1px 0px 1px 0px;" > </td>Unexpanded Parent:
    <td style="background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
    border-width:1px 0px 1px 0px;" >
    < a href="#DRILL_DOWN#">
    < img src="#IMAGE_PREFIX#rollup_plus_dgray.gif" width="16" height="22" border="0">
    < /a>
    </td>Unexpanded Parent Last:
    <td style="background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
    border-width:1px 0px 1px 0px;" >
    < a href="#DRILL_DOWN#">
    < img src="#IMAGE_PREFIX#rollup_plus_dgray.gif" width="16" height="22" border="0">
    < /a>
    </td>Expanded Parent:
    <td style="background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
    border-width:1px 0px 1px 0px;" >
    < a href="#DRILL_DOWN#">
    < img src="#IMAGE_PREFIX#rollup_minus_dgray.gif" width="16" height="22" border="0">
    < /a>
    </td>Expanded Parent Last:
    <td style="background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
    border-width:1px 0px 1px 0px;" >
    < a href="#DRILL_DOWN#">
    < img src="#IMAGE_PREFIX#rollup_minus_dgray.gif" width="16" height="22" border="0">
    < /a>
    </td>Parent Node Template:
    <tr>#INDENT#
    <td style="color:#00319c; background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #9c9b64 #9c9b64 #cece9c;
    border-width:1px 1px 1px 0px;" colspan="#COLSPAN#"
      valign="CENTER" class="tiny">#NAME#</td>
    <td align="right" style="background:#f7f7e7;">#A1#</td>
    <td align="right" style="background:#f7f7e7;">#A2#</td>
    #DRILL_UP#
    </tr>Node Text Template:
    <tr>#INDENT#
    <td style="color:#00319c; background:#cece9c;
    border-style:solid;
    border-color:#f7f7e7 #9c9b64 #9c9b64 #cece9c;
    border-width:1px 1px 1px 0px;" colspan="#COLSPAN#"
      valign="CENTER" class="tiny">#NAME#</td>
    <td align="right" style="background:#f7f7e7;">#A1#</td>
    <td align="right" style="background:#f7f7e7;">#A2#</td>
    </tr>Name Link Anchor Tag:
    < a href="#LINK#">#NAME#</a>Name Link Not Anchor Tag:
    #NAME#* Extended Version of the View. Use this style of query if you have more than two measures:
    create or replace view tree as
    select id, pid, name, link,
    '<table border="0" cellspacing="0" cellpadding="0" style="background:#f7f7e7;">'||
    case when rownum = 1
    then '<tr style="background:#cece9c;">'||
    '<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Amount</th>'||
      '<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Orders</th>'||
      '<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Measure</th>'||
      '<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Measure</th>'||
    '</tr>'
    end||
    case
    when lvl = 2 then '<tr style="color:#000088;">'
    when lvl = 3 then '<tr style="color:#888888;">'
    else '<tr>'
    end ||
    '<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
    to_char(a1,'999G9990D99')||'</td>'||
    '<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
    to_char(a2,'999G9990D99')||'</td>'||
    '<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
    to_char(a3,'999G9990D99')||'</td>'||
    '<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
    to_char(a4,'999G9990D99')||'</td>'||
    '</tr>'||
    '</table>' a1, null a2
    from (
    -- Level 1 (Root Level)
    select
    1 lvl, to_char(ORDER_TIMESTAMP,'YYYY') id, null pid,
    to_char(ORDER_TIMESTAMP,'YYYY') name, null link,
    sum(ORDER_TOTAL) a1, count(*) a2,
    count(*)*10 a3, count(*)*100 a4
    from DEMO_ORDERS
    group by
    to_char(ORDER_TIMESTAMP,'YYYY'),
    to_char(ORDER_TIMESTAMP,'YYYY')
    UNION
    -- Level 2
    select
    2, to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
    to_char(ORDER_TIMESTAMP,'Month'), null,
    sum(ORDER_TOTAL), count(*),
    count(*)*10, count(*)*100
    from DEMO_ORDERS
    group by
    to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
    to_char(ORDER_TIMESTAMP,'Month')
    UNION
    -- Level 3 (Leaf Level)
    select
    3, to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
    to_char(ORDER_TIMESTAMP,'DD. Day'), null,
    sum(ORDER_TOTAL), count(*),
    count(*)*10, count(*)*100
    from DEMO_ORDERS
    group by
    to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
    to_char(ORDER_TIMESTAMP,'DD. Day')
    )If you use stylesheets the above query will be more suitable.
    See also:
    Expand/Collpase Lists
    Hope that helps, Willi

  • Drill down report in HTML DB

    Cannot get the drill down report working. Have created 2 pages first one with master table and second page containing detail information. Further i have created an item to hold the value on page two. Now when i go to the Query definition to give a condition i cannot see any column in the Select list.
    Any help would be appreciated..
    Thanks

    Could you post the item name you are using and also include the query you are using. In the most of the cases the item name you are using in the query doesn't match with the real item name.
    Denes Kubicek

Maybe you are looking for

  • Mid month action_Pension (/3f4) calculation wrong

    Hi All, I get one problem , when payroll run for employee, whose action run in the mid of the month. for ex. 15.05.2010(Transfer action) In that case the pension amount (/3f4) is calculating double or more than 541...which is wrong. Kindly provde the

  • ICC Profile for Lenovo EasyCamera

    Alright, I've been looking around everywhere on the site with no luck. I have a Lenovo S10-3. It came with a Lenovo EasyCamera built-in. This camera's color is slightly off, as are most webcameras, making all images more blue than they should be. I w

  • ITunes Freezing when I try and Close it

    I just downloaded iTunes 7 for my Windows PC and it constantly freezes when I try and shut it down. This problem only happens when I am in the middle of playing a song and I try to shut iTunes down. What happens is the windows Dr. Watson error messag

  • Problem in new update 10.3.1.156​5

    I am using software release 10.3.1.1565 on my Z 10 device. But it is not working fine. My device is slow and even touch is not that much good. Also increasing and decreasing media player volume some noise is coming. Any suggestions.

  • Turning transparent objects opaque

    Can I make a translucent object appear opaque without using fill? I made a sketch and I'm trying to have it appear in front of the background. Unfortunately, if I use any kind of fill, it ruins my sketch? Is there a way to get around this?