How to call a drill down report using hyperlink ?

Can anyone please give an example to call a drill down report using hyper link in Reports 10g ?
Regards
Capri !!!

Hi,
I've been using this approach in a couple of reports and it works great with one problem. Even if I include the srw.set_hyperlink_attr('target=_new") it still launches the drill report in the current window. When the user hits the back button it doesn't take them back to the main report it takes them back to the reports/rwservlet? page. Can you see if there is anything I'm doing wrong...would be a really cool report if I could force it to open a new window.
Here is what my code looks like:
srw.set_hyperlink(:P_SERVER || 'dwn&report=transaction2_v8.rdf' ||
'&PARAM_COMP_NUM=1' || '&PARAM_ACTV1=' || TRIM(:actvty_cd) || '&PARAM_ACTV2=&PARAM_ACTV3=&PARAM_ACTV4=&PARAM_ACTV5=&PARAM_ACTV6=' ||
'&PARAM_START_DATE=&PARAM_END_DATE=' || '&PARAM_FY_NUM=' || vYear || '&PARAM_PERIOD=0' || '&PARAM_ACTVTY_GRP=%20' ||
'&PARAM_LIST=%20' || '&PARAM_START_ACCT_CAT=' || TRIM(vCat) || '&PARAM_END_ACCT_CAT=' || trim(vCat2)|| '&PARAM_SYS_CODE=%20' ||
'&PARAM_SRC_CODE=%20' || '&PARAM_DATA_TYPE_CD=P' || '&PARAM_ACT_STATUS=%20');
SRW.SET_TEXT_COLOR('blue');
srw.set_hyperlink_attrs('target=_new');
Also I get different behavior if the user saves the PDF and opens the report through their pdf reader.
Thanks for your help

Similar Messages

  • 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

  • How can I activate drill down report for planned line items please urgent?

    Hi Everyone,
    Please suggest me how can i activate drill down report for planned line items in internal orders. S_ALR_87012993. Please suggest me, I'll award full points. I am unable to do it in client system, which has already line items. I tried in my sys with new config it is working.
    Kind regards
    Arvey.

    Hi
    It is based on the reports attached in the Report Group - TCODE: GR53
    In the Report Group screen
    Press CONFIGURE – This is to attach any Drill Down reports.
    Press the “Insert Line” icon
    As is the screen may be used to insert a Report Writer report group. To add an ABAP, press “other report type”
    Double click on “ABAP Reports”
    Enter the name of the ABAP and ENTER
    <b>RCOPCA08                       Profit Center: Plan Line Items</b>
    VVR

  • 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 report using Webdynpro

    Hi Guys,
    Is it possible to develope a drill down report in Webdynpro?
    If yes, can somobody direct me to any tutorial for creating Drill Down Webdynpro Report.
    I need to convert an ABAP drill down report to Webdynpro Drill Drown.
    Thanks,
    mini

    Hello,
    Yes, it's possible, using the linktoaction element please see this: [/people/david.halitsky/blog/2006/09/22/learning-what-you-dont-need-is-as-important-as-learning-what-you-do-parts-10b-c-of-event-driven-tutorial-on-wdrtestuielements] and [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706].
    Regards.

  • How to collapse a drill down report

    Hi All,
    I have quick question on drill down report. I drill down from year to quarter / month / week and I get correct output. Now our client wants to collapse it back to year level. Is it possible and how?
    Thanks in advance

    Refer to this, it may be helpful
    http://prasadmadhasi.com/2011/12/15/hierarchicalnavigationinobiee11g/
    https://blogs.oracle.com/robreynolds/entry/obiee_11g_new_feature_-_hierar                                                                                                                                                                                                                                                                                                                                                                       

  • How to attach a drill down report to a form (FDI2)

    Hi,
    I created a report using the "Copy from" functionality in transaction FDI1 copying the standard from SAP to show Due analysis of open items.  I then created a form  (also copied from standard) and adapted that.  But how can I attach that new form to my report ?  If I call up the report in FDI2 I can see at the top of the screen it is attached to the standard form of SAP but I see no functionality anywhere to re-assign to my form.
    thanks
    Hans

    Suresh,
    Hi
    Thanks for the quick response. I think you're right in saying there is no SAP functionality but it seems not logical that it is missing.  So not a bug but an error anyway.  What I did now is to delete the report and form that I had made.  Then in FDI1 created it again but this time without using "Copy from" .  The form is now correctly attached from the start.  I then had to define myself the report characteristics and such but that was ok.  I'll grant points for usefull answer.
    thanks,

  • How to add the required characterists and key figures to drill down report?

    hi,
    i am creating a drill down report using t.code FKI4. however i noticed that some of the characteristics and key figures required by me is not listed in the report catalog. how can i add the required characteristis and key figures to the report catalog?

    Hi Inna,
    Based on my research, a drilldown report is a layout design that at first hides complexity and enables the user to toggle conditionally hidden report items to control how much detail data they want to see. Drilldown reports are used to change the report
    layout interactively. So it wouldn’t affect the rows displayed in the outmost group. Though some rows are hidden when the report is initially run, it will still count them. This is by design.
    Furthermore, if I understand correctly, you also expect the outmost group is a dynamic group depends on the drilldown action, right? As per my understanding, this function still cannot be achieved at this moment.
    Thanks for your understanding.
    Regards,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • How to create drill down reports

    pelase help me step to create drill down reports
    Find the manager and their employees Manager names are abc, def employees are abc manager employees are john, lilly.
    def employees are mark,syam
    How can i acheive below format.
    abc-manager
    John
    lilly
    DEF--manager
    Mark
    Syam
    Pelase help me
    Edited by: 893185 on Jun 7, 2012 3:36 PM

    >
    After 213 posts you should have a real handle instead of "893185". Please edit your profile with one as a matter of urgency.
    pelase help me step to create drill down reports
    Find the manager and their employees Manager names are abc, def employees are abc manager employees are john, lilly.
    def employees are mark,syam
    How can i acheive below format.
    abc-manager
    John
    lilly
    DEF--manager
    Mark
    SyamSounds like homework.
    How to Create a Drill Down Report
    Don't see the relevance of this format to "drill down reports". What is drilling down to where?

  • Drill down reports from Before Report Trigger

    Hallo,
    I am using reports 6.08 and I want to run several subreports from the parameter form of a master report. However when I call srw.run_report() from the Before Report Trigger with batch=no I get the error message ... When I use batch=yes I cannot use destype=srcreen. When I use the same call from a button trigger it works fine.
    How can I call a drill down report from the Before Report Trigger?
    The master report should not create a report itself; only the drill down report should be visible. How can I exit the master report without raising an exception after running the drill down report?
    Thanks a lot - Ulrich

    Ulrich,
    The only place where it is valid to call a report using srw.run_report() with a destype=Screen (or Preview) is from a button of an already run report (to provide drill down capabilities).
    In your situation where you're really only using Reports as a parameter form (in the master case) I would suggest that you look to use a real Oracle Form as the master driver, and run_product calls to generate the required reports.
    Hope this helps,
    Danny

  • Drill down report on Report Server

    How to run a drill-down report on Oracle report Server?
    The drill-down report works fine in Client Server. When the same report is tried on Web (Run a reoprt on Web using Oracle Report Server - Oracle Report 6i) it do't work.
    The problem is:
    1)The drill-down button doe't appear as button. It appears as text.
    2)How to pass the parameter from the main report to the drill-down report.
    For Ex. When you click on SS_No on the main report the drill-down report runs to show the salary, 401K deterction etc., for that particular employee.
    Thanks

    I dont understand if you are working in Client server or web
    but...
    If you are running in C/S you can use the host command from
    reports.
    If you are running reports on the web then you should also run
    forms on the web and then you can use the Forms servlet or cgi
    implementation to have a URL that activates the form, or just
    call a static HTML form that activates the form on the web.
    If your report is on the web and your form is C/S then
    As far as I know HTML cannot activate program on the computer
    that views it.

  • 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 EBS

    Hello Experts,
    we are implementing oracle EBS R12.1.3 for our one of the client, and they want the feature like drill down reports.
    As per my knowledge we cannot create drill down report using oracle reports builder. client doesnt have license for oracle discoverer.
    Can I achieve the drill down feature by XML publisher? If yes How??
    Thanks,
    Atul

    Hi Atul;
    please check below thread:
    R12: drill down XML Publisher Template
    Regard
    Helios

  • Drill Down Reporting in HR Module

    Hello all,
    I'm as functional in HR Module. I wanna learn about drill down reporting in HR Module, so i need some
    documentation about it in HR Module without using ABAP program. Because i don't have any skill in ABAP.
    I hope the documentation contains step by step how to config the drill down report (  contain tcode and etc ).
    Just give me the URL where i should be to download it.
    Point will be rewarded for great information.
    Warm Regards
    Edited by: Blue Inspiro on Sep 19, 2008 4:12 PM

    Hi,
    Hope this url is of some use.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/5c/8daff6555411d189660000e829fbbd/frameset.htm
    Give points if you find it useful,
    Thanks,
    Preetham

  • Simple drill down report

    Based on How-to Document "Build drill down report" I have set two page items in a column link on page 1: P2_IDOWNER, P2_IDTABLE
    On target page (page 2), I have inserted item values in the title region using syntax: &P2_IDOWNER. , &P2_IDTABLE. (no problem)
    However, the SQL query in page 2 does not work (zero files returned) using syntax :P2_IDOWNER, :P2_IDTABLE
    Region Source
    select *
    from loadtable
    where idowner = :P2_IDOWNER
    and idtable = :P2_IDTABLE
    any help with syntax on "Region Source"?
    Note: field format for both (idowner and idtable) is CHAR

    thanks Sergio but, that's not the cause of the problem.
    I also tried to execute the query writing items in quotation marks because of format fields:
    select *
    from loadtable
    where idowner = ':P2_IDOWNER'
    and idtable = ':P2_IDTABLE'
    ... but it didn´t work
    Think I need an alternative way to write the "Region Source" (maybe PL/SQL?)

Maybe you are looking for