Link to an another report

Hi,
I have a report with a link to an another detail report. Now the links are displaying on all rows, but I want to display the links on rows only having certain values.
Thanks

My question was how to display certain values of a column as a link instead of all the values, ie in the scott.dept example all the dept numbers (10,20,...) are displaying as links. But I just want to display the deptno 10 as a link and rest as plain text, means only if user clicks on the 10 then only the 2nd report comes up, otherwise nothing.
Anyway, I was looking for this code too. Thanks very much. That code is working fine, But there is an another issue, if we are using the Report from SQL Query then the customization page dont have many options like where clause, sum columns, query options etc like QBE Reports. Is there any way to include that too?
Can you tell me where I can find the documents on such codes. I am new to the Portal(Oracle too). I have a book explaining the basics, but I do want to learn more than that.
Thanks

Similar Messages

  • Report with select list and link to call another report

    Hi,
    I am trying to do 2 reports (REPORT1 and REPORT2).
    The first is a summary report (REPORT1).
    This report will display sales figures for the year. Now, I need to have a select list in the result set that will have 2 options, depending on which option is chosen, I want to call REPORT2 with the select list as a parameter. How can I do this ?
    Let me try to explain what I did.
    I created REPORT1 on Page 100
    SELECT YEAR, sum(YTD_SALES), APEX_ITEM.SELECT_LIST(1,'DEPARTMENT','Department;DEPARTMENT,Division;DIVISION') Drilldown FROM SALES_ANALYSIS WHERE YEAR > 2000
    GROUP BY YEAR ORDER BY YEAR
    I created 2 hidden items namely P100_YEAR and P100_DRILLDOWN
    I also made the column YEAR as a link and specified both P100_YEAR and P100_DRILLDOWN as parameters to be passed.
    Next, I created REPORT2
    SELECT YEAR, DECODE(:P100_DRILLDOWN, 'Department', department, 'Division', Division) dept_div, sum(YTD_SALES) ytd_sales
    FROM SALES_ANALYSIS
    WHERE YEAR = :P100_YEAR
    When I run Report 1, it's fine, when I choose either Department or Division from the Select List and click on the link to call Report 2, report 2 is displayed, but the value being passed for P100_DRILLDOWN is not correct and as a result, I am unable to get correct results for Report 2
    Am I missing something ? Are there any alternate ways to do what I'm doing ?
    Thanks,
    Ashok

    Hi Ashok,
    The link definition will not know the value selected in the list as it is constructed only when the page is being rendered. You would need to create some javascript to handle this. I've done that here: [http://apex.oracle.com/pls/otn/f?p=267:182]
    The link on the EMPNO column has been defined in the HTML Expression setting for the column instead of the Link section. The HTML Expression that I have used is:
    <a href="#" onclick="javascript:doDrilldown('#EMPNO#',this);">#EMPNO#</a>And, in the page's HTML Header setting, I have added in:
    <script type="text/javascript">
    function doDrilldown(empno,group)
    var g;
    var p = group.parentNode;
    while (p.tagName != "TR")
      p = p.parentNode;
    var x = p.getElementsByTagName("SELECT");
    if (x.length > 0)
      g = x[0].value;
    var url = "f?p=&APP_ID.:183:&SESSION.::::P183_EMPNO,P183_GROUP:" + empno + "," + g;
    document.location.href = url;
    </script>When a link is clicked, the doDrilldown function is called passing in the EMPNO value and the "this" object (which identifies the object triggering the call). The function starts from that object and goes up in the HTML tag tree to the nearest TR tag (the row tag that the link is on) and then finds the first SELECT list item on the row and gets its value. It then constructs a URL using this and the EMPNO value and performs a redirect to the second page (page 183 in this example).
    Andy

  • View a Detailed report from a link in a General Report?

    Greetings all,
    I have no idea why I am confused on what I am trying to do. I have a Report that Generates a tabluar view off all tickets the actual ticket has 25 fields to be filled in, but of course on the tabular view, I only have four of the relevant fields that the user can see.
    Example:
    TICKETID TICKETDESCRIPTION TICKETSTATUS TICKETOWNER
    0001 | Stuff Broke | Awaiting Customer | Bob
    0002 | Part Missing | Open | Fred
    0003 | Need Help with Stuff | Open | Sandy
    What I am trying to do is create the TICKETID as a link that will open another report with all the details about the Ticket. Currently I have the report and it has a link to go and edit the fields on the form based on P12_TICKETID = #TICKETID# in the link field. But I can't find a way to link it to another report. Am I missing something? I want the user to see all the details about the ticket, but I don't want them to be able to edit the report. I guess I am not clear on how to create a selectable report based on one ticket verses a report that lists them all.
    Currently the tabular report is on my Page 11 and I don't see how to reference the report fields by any P11_xxxx naming as I have tried and it tells me it can't see them.
    The P12_TICKETID is the Form that analysts use to update the ticket, so I don't want the customers to access that unless there is a way to access it as a view only.
    I hope that made sense and if so, could someone tell me what I am missing in my thinking. I would think this would be a standard process for APEX but I am lost on it.
    Thanks in Advance.
    Wally

    If I understand right,you want a new report, that contains all 25 columns, but just for the selected record. There are several ways to accomplish this, including creating a form that would be read-only. To create this as a report, you need to create a new page, you can create a report on that page but use a value attribute pairs report template (this will show the label on the left and the value on the right for each column and each column going down the page, rather than across). Create a hidden item on your page to store the selected ticket_id and then link to that new page, passing #TICKETID# to the hidden item. Lastly, modify the query on your new page to include 'where ticketid = :P?_TICKETID'.
    Again, you could create a classic report that just includes all 25 columns or a form and then make each item display only or the scenario I described above. Good luck.
    -- Sharon

  • SQL report link to another report

    Hello,
    I am using Apex 4 and trying to link an sql report with another report. If I were able to use an interactive report I could easily link that to another page, but that would require me to have a primary key. The problem is that I need to link a few tables. So two questions:
    1.) Can I link these via an HTML link to my other page? I would have a HTML link in my report that would link via URL parameter passing. So can I use HTML in a report?
    2.) What is the syntax for a parameter passing via URL? Here is my link that would be:
    a href= f?p=107:40:&APP_SESSION::::P40_NAME:MARK: Are there any other ways to accomplish this?
    Thanks,
    Mark
    Edited by: LondonMark on 23-May-2011 04:18
    Edited by: LondonMark on 23-May-2011 04:20

    I am using Apex 4 and trying to link an sql report with another report. If I were able to use an interactive report I could easily link that to another page
    It's easy in standard reports< /a>. (Ignore the "Interactive Report" typo in step 1.)
    1.) Can I link these via an HTML link to my other page? I would have a HTML link in my report that would link via URL parameter passing. So can I use HTML in a report?You can, but it's better practice to keep data retrieval and HTML structure separate when possible&mdash;in this case by using declarative Column Links.
    2.) What is the syntax for a parameter passing via URL?This is also covered in the documentation.
    Here is my link that would be: a href= f?p=107:40:&APP_SESSION::::P40_NAME:MARK:
    {quote}
    That looks to have the order of the parameters correct, but it's missing some syntax:<a href="f?p=107:40:&APP_SESSION.::::P40_NAME:MARK">...</a>
    The static text exact substitution method of referencing the value of an APEX item requires a terminating dot ("."): <tt>&APP_SESSION.</tt>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Link from a report to another report

    Hi all,
    I have created a report called GROUPS with GROUPNO as the first column. And I have another report based on SQL query that shows the details for a group and takes the GROUPNO as an input variable. I have created a link from the first report to the second report.
    The problem is that when I run the first report, and when I click on the GROUPNO from the list of groups, the target report is called but no rows are selected. When I point the mouse cursor to one of the GROUPNO, and I look at the breowser status bar, I see that the p_arg_names containts the parameter name but the p_arg_values is empty.
    Any help?

    Hi Sharmila,
    The mapping is already done and the p_arg_names in the status bar shows the p_arg_names=groupno , only the p_arg_values is not taking the value in the field groupno which cause the target report to fail.

  • Dashboard - Link to another report

    Hello SPM experts,
    We have to create a dashboard and the report in dashboard should have a link which will open up another report in a new window. The dimensions/measures and the layout of dashboard report is not same as that of the report which should open when we click the link.
    I am aware that if we use a dimension which has hierarchy in dashboard report, we will get links to move to report using the hierarchy. But is there any option to connect two different reports with links?
    Best regards,
    Prasanna

    Hi Prasanna,
    Dashboards in SPM can be simply called as a collection of selected reports. It is not possible to click on a particular report (A) in the dashboard and open another related report (B).
    In my opinion the best way to handle a situation where in you need to refer to another report (B) based on a primary report (A) would be to use the hierarchial views while creating the dashboard.
    Regards,
    Vimal G

  • Creating Hyperlink to Another Report in Same Document

    Hi
    Is it possible to create a hyperlink from a cell in one report, to another report in the same WebI document, that doesn't involve the entire reloading of the document.
    Also, I want to be able to pass through a filter value.
    The reason for the request is we have a report which list certain information about an article. The 2nd report (still in the same WebI document) lists all sorts of other information about the article. The 2nd report contains a lot of information about the article, which doesn't make sense including in the 1st report.
    I can create a hyperlink on the article number, which uses the OpenDoc functionality to reload the report and navigate to the 2nd tab (report). If the article number is provided as a prompt on the query, then the data is filtered according to the selected article. That works, but it is not nice, as the report has to reload, and when you click on the tab to go back to the 1st report, that article prompt has been applied there as well.
    To get rid of that last error, we could conceivably create 2 queries, 1 for each of the reports, and only have the article input prompt on the 2nd query ... getting messy though.
    I would prefer to pass the article number and have that applied to the filter on the 2nd report ... doesn't seem possible in OpenDoc format though, unless I just can't find the querystring parameter to use.
    Is there not a way of linking to the tab, without reloading the whole document?
    Cheers,
    Andrew

    Hi Andrew,
    try getting the parameters to be displayed in a cell and use the parameter lsS or lsM(for multiple values) and pass the parameters to report 2 using openDoc.
    The document here lists the options with openDoc,  might be helpful otherwise
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_opendocument_en.pdf
    Thanks,
    Rajesh

  • Help Creating A Link In An IR Report Passing The Value From A Different Col

    Version 4.0.2.00.07
    Hello,
    I have an Interactive Report with a column that I need to create a link on but I need to pass the value of another column.
    This report shows the Features of a particular Release. There is a select list for the Release that is selected and executes the report.
    There is a column that indicates whether the Feature has a Commitment attached to it. If there is have that a link to another report that shows all the Commitments for that Feature by passing the FEATURE_ID which is also a column on the Feature report.
    Query:
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
                                      ) THEN 'Yes' ELSE 'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....If "Commitment Exists" has a 'Yes', the 'Yes' is a link that will pass the FEATURE_ID to another report that will show the Commitments for that Feature. If the "Commitment Exists" has a 'No' then no link.
    I was also wondering if the Commitment report could open in a seperate window and make it modal?
    I hope this is clear and someone could help me.
    Please let me know if it's not clear or more information is needed.
    Thanks,
    Joe

    To accomplish this I would build the link as part of the value. So if Yes the Yes itself would be a link, if No is simply text as today.
    It would look something like this:
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
           THEN
            '<a href="f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id || '">Yes</a>'
           ELSE
            'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....One problem with this approach is when you export the report (as a CSV for example). There are a few ways to handle this, one is to simply duplicate the column with clear text yes and no and set this column to be included on export and only visible on export. The other column, with the link, set it to no export.
    The other option is to add another condition on the REQUEST value.
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
           THEN
                  decode(:REQUEST, 'CSV', 'Yes'
                , '<a href="f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id || '">Yes</a>'
           ELSE
            'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....It seems that the link itself is getting replaced with a #. The link would look something like this:
    'f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id
    Hope this helps.
    Oh and of course, in order for the link to display you need to change the Display Type to "Standard Report Column" otherwise the HTML will be escaped.
    Thanks
    -Jorge

  • Link to BI Publisher report with parameters

    I want to link from one BIP report to another. I have created a BI Publisher report using the Layout Editor. Using the following link, I can connect to the BIP report when directly pasted into the address bar in firefox.
    http://xxxxxxxxx/xmlpserver/Sample Reports/Developmment_ML/Report_Fin_Ledger_MN.xdo?_xpf=&_xpt=0&_xdo=%2FSample%20Reports%2FDevelopmment_ML%2FReport_Fin_Ledger_MN.xdo&_xmode=&_paramsCompany=00050&_xt=LO_Fin_Account_Ledger_02&_xf=html&_xautorun=true
    Note: I obtained the syntax for this link by viewing the target report and selecting Actions --> Share Report Link
    I created a second BI Publisher report using the Layout Editor. Within the Layout Editor, I modify the Properties of one of the fields. In the box next to "URL", I past the same link as above.
    However, when I view the report in HTML format, the link truncates anything after the first xdo to only return:
    http://xxxxxxxxx/xmlpserver/Sample Reports/Developmment_ML/Report_Fin_Ledger_MN.xdo
    As a result it does not pass the parameter value and run the report.
    Any assistance would be helpful. Thanks!

    Hi,
    I found a way to do this using javascript in "HTML Header" in the Page section of an APEX Page
    <script type="text/javascript">
    function invokeURL()
    var parameterId = document.getElementById("P2_PARAMETER").value;
    alert ("hello "+objectiveId);
    var url =
    "http://xxhost:port/xmlpserver/XXFOLDER_NAME/xxxx_test_report2.2/xxxx_test_report2.2.xdo?_xpf=&_xpt=0&_xdo=%2XXXX_XXX%2Fxxxx_test_report2.2%2Fxxxx_test_report2.2.xdo&G_PARAMETER_NAME="+parameterId+"&_xt=defaultlayout&_xf=pdf&_xmode=2";
    window.open(url);
    </script>
    This can invoked in a button by passing "javascript:invokeURL();" to the "Optional URL Redirect" section.
    Thanks
    Yogi
    Edited by: Yogi on Aug 26, 2010 11:14 AM
    Edited by: Yogi on Feb 4, 2013 10:51 AM

  • How to use "Another Report Object" in hyperlink

    Hi,
    I have a requirement to create a hyperlink which will navigate that link to another page of the same report.
    When I click on the option "Another Report Object" I get few fields like Object Name and Data Context?
    Does anyone has idea how to do this?
    Thanks,
    Hetal

    Hi Hetal,
    This feature works only in the HTML Preview or in InfoView.
    Here's what you need to do:
    1) Copy the field that would be the target (Right click the field > Copy)
    2) Right click the field that would act as the source and select Hyperlink
    3) Cick on the Paste button which fills in all the required information
    Hope this helps!
    -Abhilash

  • Drill through to another report with bins in OBIEE 11g

    Hi Everyone,
    We have a specific scenario that is as follows:
    Bar chart with 3 bars: '0-30', '31-60' and 'other'
    these bars repsent the number of people who are in that age bucket.
    This was accomplished by taking the peron's Age (a dimension with an age column) and using the 'bin' option in obiee 11g answers.
    When the user clicks on one of the bins in the bar chart (e.g. 0-30), it should navigate to another report which contains details (a table) of ONLY the people who are in that age bucket.
    In order do this I created the same 'age bucket' in the drilll through report and set the field as prompted.
    This works in OBIEE 10g but in OBIEE 11g when I click the 'bin' (e.g. 0-30) on the top report, it navigates to the other report via action link and displays ALL of the people, not just the people in the bucket 0-30.
    Can anyone advise?
    P.s. if I remove the bin for the age bucket, and display the actual age, the drill down works fine. I think the issue is specific to the bin feature. I am using OBIEE 11.1.1.6.4

    Just confirmed with Oracle this is bug 13996544 . FYI just incase it helps anyone

  • Navigation column link on Custom Homepage Report

    I have a working navigation column to another report when viewing the report from the shared folder. If I add the report to the homepage as a custom homepage report the navigation link on the column values no longer works.
    The value from the homepage report goes to https://secure-ausomxgea.crmondemand.com/OnDemand/user/ReportIFrameView?SAWDetailViewURL=saw.dll%3fGo
    Any thoughts on why it works on the report itself but not when the report is added as a custom homepage report? Any work around or other type of link to try to get to another report?
    Thanks
    Edited by: Cor on Jul 7, 2009 11:34 AM

    I was able to create an html link on a new column. Now I'm trying to make the text be dynamic.
    Is it possible to have an html column with the text for an html link to be based off of a field?

  • Email links in an interactive report

    Hi
    Is it possible to have email links in an interactive report?
    i.e display something like "[email protected]" as a clickable link that invokes the default external email program with the "To:" field populated?
    Thanks!

    Another nifty way to do it, while saving precious screen space would be:
    '<a href="mailto:' || email || "><img src="/i/pkt_mailto.gif" title="' || email || '"></a>' "E-mail"
    email being the name of the column that contains the E-mail address. It will display like a small envelope with an e-mail displayed as you hover over it.
    Vojin

  • Can report program trigger a job and then a job trigger another report?

    Actually I'd like one ABAP4 report program trigger another ABAP4 report program and yesterday some people here suggested me to use SUBMIT statement at the end of the source program, but if we don't want to touch the source code of the source program, what would be the best way to trigger another report program, in this way: report program1 -> job -> report program2?
    or report program1 -> event -> job -> report program2?
    Thanks

    Hi Kevin,
    I know this is a late reply and you probably already solved your problem. However, the new Job Scheduling capabilities of SAP NetWeaver might be something to look at. You can find more information about this on SAP Service Marketplace under quick-link job-scheduling (http://service.sap.com/job-scheduling)
    Kind regards,
    Edwin Esser

  • Passing parameter values to another report using URL actions (reportserver)

    Hi guys,
    I have two reports that I link with eachother. For report A - B everything works perfect. When I try to do the same for report B - A it works, but the parameter value is not filled in.
    =Iif(
    Parameters!PAR_LinksEnabled.Value, 
    Globals!ReportServerUrl & "?" & Replace(Globals!ReportServerUrl, "_vti_bin/ReportServer", "")
    & "Reporting/POS Reporting/Reports/POS Report.rdl&POS_ID=" & Parameters!CONNECTION_ID.Value & "&POS_LANG=" & Parameters!POS_LANG.Value & "&PAR_Date=%5BDate invoice%5D.%5BBonus Calendar - Week%5D.%5BBonus
    week of year%5D.%26%5B" & Left(Parameters!YEAR_WEEK.Label, 4) + "%5D%26%5B" & CInt(Right(Parameters!YEAR_WEEK.Label, 2)) & "%5D",
    Nothing
    Even tho I specify the parameter he has to pass through, the report opens with parameter period : <select a value>. Anyone has an idea why such behaviour happens?
    Thanks!

    Hi Yvanlathem,
    Per my understanding that you want to use the expression above to conditional add the hyperlink to pass the value to the parameter of anpother rreport via the URL in the SharePoint integrated mode report server, right?
    I have check the expression you have provided and the issue can be caused by the wrong way you have write the expression to pass the parameter, please check detais information below to make sure you have pass parameter in the URL correctly:
    Please modify the expression to below structure :
     =Iif( Parameters!PAR_LinksEnabled.Value="Enabled", "URL",Nothing)
    I saw you have use expression like "&POS_ID=" & Parameters!CONNECTION_ID.Value & "" which is incorrect, we need to set a report parameter within a URL, use the following syntax:
     parameter=value(not Value=Parameter)
    If you are using the following syntax like "Parameter1=Parameter2", both parameters and from different report, if you have add the "Go to URL" action from  report2 to Report1, please make sure Parameter1 is from the Report1
    and Parameter2 is from Report2, change the order will not work
    More detail information:
    Pass a Report Parameter Within a URL
    So, In your scenario, please make sure the value is from one report's field (POS_ID) and the the parameter(CONNECTION_ID) is from another report (e.g:"&CONNECTION_ID=" &Fields!POS_ID.Value &"")
    Similar thread for your reference:
    SSRS 2012 Drill Through report cascading Parameters not refreshing
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for