Calling a .rdf report from a link on a apex report column

Hi,
I want to call a xxx.rdf report from a link on a apex report column.
Can anyone help me on this ?
Best regards,
JCN

Hi,
Sorry - I should have read a bit further in your last post!
The url variable that you're defining should just be the URL string that you want to create, so you only need the "http://........" part. There's also a + missing after the "&TODT..." string.
The "DEA_PERMIT_ID=&G_PERMIT_ID." part at the end should have an & at the start to indicate a new parameter in the URL. Otherwise, &G_PERMIT_ID. would be replaced by the value stored in the session for the G_PERMIT_ID item (presumably that is an Application Item?).
So:
function callPopup()
var url = "'http://snapper.accsp.org/reports/rwservlet?destype=cache&desformat=PDF&report=edr_landings_dollars_by_vessel.rdf&userid=evtr_report/chicken99@safis&FROMDT=" + $v("P810_FROM") + "&TODT=" + $v("P810_TO") + "&DEA_PERMIT_ID=&G_PERMIT_ID.";
popupURL(url);
}Andy

Similar Messages

  • Calling A BI Publisher Report From A Link In An Apex Report

    I have a report on my page
    select id, aa, bb
    from table_x
    What I want to do is to have an extra column or use the id column as a link (which says Print Report) to call an BI Publisher report. This call should pass over the id and open the report in a popup window.
    For certain reasons I do not want to use the built in report queries and layouts in apex, just call the report straight for BI.
    I call other BI reports in my application, but always from a button.
    Help appreciated
    Gus

    Hi,
    All that such a button does is submit the page and branch to page zero passing in the request field something like this:
    PRINT_REPORT=my_report
    So, to do the same in a dynamic action, use an "execute javascript code" action with something like this in it:
    location.href = 'f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=my_report';
    Luis

  • 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

  • How to call a rdf file from Form

    Hi,
    I am begginer in Oracle Reports Builder, and I would like to know how to call a .rdf (report) file from a Form, passing parameters.
    Thanks in advance.
    Sandro

    Hello,
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    Integrating Oracle Forms 10g and Oracle Reports 10g 2-
    Oracle Forms Services - Using Run_Report_Object to call Reports with a Parameter Form
    Regards

  • Opening a specific Interactive report from a link

    Hello,
    I have a chart which links back to a page with interactive report. I want to make sure that every time user clicks on the link on the chart page, he is shown the default report view. But currently it shows the last viewed report from various saved reports. Is there a way I can call the default report. I tried RIR in clear cache section of the link but does not seem to take me back to default report.
    Any help is highly appreciated.
    Regards,
    Bhavesh

    Have you looked at the actual Javascript that is called when an interactive report is reset? You might be able to use this in a region that is conditionally "displayed" when the page is called from the chart. Perhaps using the REQUEST as the condition.
    Craig
    [www.oracleapplicationexpress.com|http://www.oracleapplicationexpress.com]

  • Urgent :- Call a seeded form from a link

    Hi,
    Can anybody suggest me how to open the form for people screen from a link , for a particular person in Oracle apps HRMS.
    The link is provided through a workflow notification .
    The requirement is that by clicking the link, the form for people screen for the particular person should open.
    I am dealing with seeded forms of the application and i cannot edit the forms or write any trigger.
    I have used FND_RUN_FUNCTION.get_run_function_url ( p_function_id in number,
    p_resp_appl_id in number,
    p_resp_id in number,
    p_security_group_id in number,
    p_parameters in varchar2 default null,
    But I did not get what to pass in the p_parameters since there are global variables which needs to be passed while opening the form.
    If you can advice me on this then it would be of great help.
    Regards,
    Seona
    Edited by: user10698992 on Nov 30, 2009 9:36 PM

    Hi all,
    Please help..
    I am dealing with seeded forms of the application and i cannot edit the forms or write any trigger.
    I have used FND_RUN_FUNCTION.get_run_function_url ( p_function_id in number,
    p_resp_appl_id in number,
    p_resp_id in number,
    p_security_group_id in number,
    p_parameters in varchar2 default null,
    But I did not get what to pass in the p_parameters since there are global variables which needs to be passed while opening the form.
    If you can advice me on this then it would be of great help.

  • DB links, Bind variables & APEX reports performance

    Hello,
    So the problem is simply that I have two databases:
    A : Has table T1
    B : (APEX database)
    I have an APEX report that simply does the following
    Select col1, col2.. from A@dblink
    This is abviously straighforward, however, I start having considrable performance issues if I have any filters applied to this query using APEX items ( bind variables) :
    Select col1, col2.. from T1@dblink_A_B
    where col1 > :PX_item
    I ran the explain plan and noticed that using the bind variables forces the query to be done on database B, not A which is causing the performance issues.
    I am sure that many of you ran into this issue before, but does anyone know how to resolve this issue ? I am thinking about using Pipelined functions, but am not sure if that will work well if I have a lot of records returned by the query or if this will resolve the issue at all.... your thoughts are appreciated..
    Thanks,
    Sam

    I've always been able to work around my DB link issues in Apex. As suggested, driving_site hint should be tried. Oracle documentation on it isn't great, but I follow this:
    - don't bother including other hints together with driving_site, as they get stripped out when your sql is passed to the remote DB (as per driving_site hint).
    - if you have have subqueries - specifiy driving_site hint in that section of the SQL too. I don't have any proof that this is really required - but it doesnt hurt.
    - include driving_site hint even if all tables are remote. Careful of refs to pseudo cols like sysdate, user etc. I think they are taken as local refs - not remote. I havent tested this properly to confirm.
    - dumb down your test case to eliminate refs to sysdate, subqueries etc.
    - remember that items are text, so you'd need to do to_number(), to_date() on them where appropriate on them in your SQL at the least.
    Seeing as you control the content of your items, SQL injection is a reduced risk. Assuming that's not your top concern anyway, don't get carried away with the bind-variable vs literals debate. Apex does lots of nasty inefficient stuff like IR searches. I'd never use an IR in something that really needs to be scalable anyway. Soo... construct SQL with littlerals based on your items (assuming item refs are the cause of your issue).
    region type=SQL Query (PL/SQL function body returning SQL query)
    begin
      return 'SELECT /*+ DRIVING_SITE(a) */ a.empno,a.ename,a.job,a.mgr,a.loc
            FROM emp@MY_DBLNK A
           WHERE  a.empno = '||:P123_EMPNO||'
           ORDER BY 1,2,3';
    end;Assuming your queries are expensive to execute (local or remote) and dont return too many records (else collection table can get really big), then caching the resultset in a collection gives you nice fast pagination, when using a PPR report. Keep a watch on the size of the collection table - truncate it manually if you accidentally populate it with a big cartesean product etc, else performance could degrade.
    Do main query to populate collection before header. PPR pagination doesnt reload the page, so before-header process only runs once. In my case it works like:
    -- reload button to re-load page, to force a query re-run. The html_Submit_Progress thing loads an 'busy processing' image.
    <input type="button" value="Run query" onclick="javascript:this.disabled=true;this.value='Running...';html_Submit_Progress(this);"  id="SUBMIT"  />
    -- On Load - before header process to populate collection (call in a regular region to see errors, until ironed out)
    declare
      q varchar2(4000);
      v_t0   PLS_INTEGER := DBMS_UTILITY.get_time;
    begin
       :P0_QSEC := '0';
      IF APEX_COLLECTION.COLLECTION_EXISTS(P_COLLECTION_NAME=> 'Q1')
      THEN
        APEX_COLLECTION.DELETE_COLLECTION(P_COLLECTION_NAME=>'Q1');
      END IF;
      if (:P0_DBLNK is not null) then
        q:= 'SELECT /*+ DRIVING_SITE(a) */ a.empno,a.ename,a.job,a.mgr,a.loc
            FROM emp@'||:P0_DBLNK||' a
           WHERE a.job like "M%"
            AND a.empno = #EMPNO#
           ORDER BY 1,2,3';
        q:= replace(q, '"', '''');
        q:= replace(q, '#EMPNO#', :P123_EMPNO);
        -- bulk
        APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B(
            P_COLLECTION_NAME => 'Q1',
            P_QUERY => Q);
       -- record count
       -- APEX_COLLECTION.collection_member_count
      end if;
      -- display in page footer or whatever
      :P0_QSEC := TO_CHAR ((DBMS_UTILITY.get_time - v_t0) / 100, '000.00') || ' sec';
    exception
      when others then
      raise_application_error(-20501, :P0_DBLNK||'< br >'||sqlerrm||'< br >'||q );
    end;
    -- then PPR report is just like
    Select C001, C002, C003, C004, C005
    From apex_collections
    Where collection_name = 'Q1'
    order by seq_id;Edited by: maceyah on Sep 7, 2011 9:26 AM
    Useful link on bind variables for CREATE_COLLECTION_FROM_QUERY_B ==> https://forums.oracle.com/forums/thread.jspa?threadID=2305634&tstart=0
    Edited by: maceyah on Mar 2, 2012 3:18 PM

  • Running Reports from Client Machines in which the reports are residing on t

    Hi Folks,
    I'm using Developer 6i with Oracle 9i. I can run forms from the clients so that the FMX file is residing on a shared drive on the server, but when I try to run reports which also reside on the shared drive of server, I get error that unable to find the report. Do I need to install report server on the client machine/server or am I missing some basic step here?
    TIA
    Hassan

    Hi,
    There's a whitepaper on the topic of Forms/Reports integration for the web called "Oracle9iAS Forms Services and Reports Services Integration". This should give you the information you are seeking.
    regards,
    Stewart

  • Binding Sub Report based on link clicked in main report in BIDS

    Is it possible to bind Sub Report based on the link clicked in main report which is the parameter for sub report in BIDS?

    Hi Thanuja534,
    If I understand correctly, you want to add a drillthough action on a report to jump into another report with a specified parameter. 
    A report can contain links to other reports. The report that opens when we click the link in the main report is known as a drillthrough report. Drillthrough reports are a type of report that we access by clicking a link in the current report. When we click
    a text box that has a drillthrough action, we open the drillthrough report. If the drillthrough report has parameters, we must pass parameter values to each report parameter.
    Besides, drillthrough reports must exist on the same report server as the main report, but they can be in different folders. We can add a drillthrough link to any item that has an Action property, such as a text box, an image, or data points on a chart.
    For more information about adding parameters to pass to a Drillthrough Report, please see:
    http://technet.microsoft.com/en-us/library/aa337477(v=sql.105).aspx
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Calling a remote method from a link

    I've been programming in Java for a few years, but I'm quite new at using JSP. I have a Java class that has methods to do some manipulations in a remote database. I'd like to invoke one of its public methods from a JSP page when I click on the correct link.
    The "link" would act the same way as a button, the only thing that it would do is calling the method from my class when clicked on. Example: There's a link that says "Generate XML file" and when I click on it, the method generateXML() from the Java class is called. No need to display anything, just do the treatment. Maybe make a refresh of the page afterwards, but that's it. I do not know how to pull this off, help would be greatly appreciated.
    Thanks,
    Julien

    call your java class function in a jsp and link it.
    For ex:
    generatexml.jsp ---> call your function in this jsp
    And make the link like this
    GenerateXML
    You can make it as a pop up and close the popup window once the process is over

  • Transfer reports from Crystal Enterprise 9 to Crystal Reports server 2008

    Hello,
    a decision was made to stand up our new Crystal Reports Server 2008 box and only load new reports to it that were created in Crystal Reports 2008, or ones that were modified in CR 2008.
    Now I have all of my users set up and some reports loaded on the new server. There has been a new decision to now move a couple hundred reports off the old server onto the new and also have the same folder structure and schedules as exists on the old CR 9 server.
    Is there an export/import tool that will allow for this?

    Hi,
    i`m not quite sure if you can do this from CRE9 to CRS2008 with the Import Wizard. I think its only supported beginning with CE10.
    Check the Import Wizard Guide from:
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_bip_importwiz_en.pdf
    Regards
    -Seb.

  • How to Check the report is Finished while calling a report from Forms 6i

    Dear All,
    I am Calling a report from oracle forms 6i, after runing report in " Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);"
    I need to copy the pdf to store it in another place once the report is generated.
    My Problem is : that i want ot Check first the report has generated after " Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);" is executed ? How to check the report is generated ot not?
    As i tried to use the below procedure after "Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);"" but his does not work... nothing happens
    {code}
    PROCEDURE FPC_COPY_REPORT (p_report_name varchar2) IS
         repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status varchar2(20);
         lv_id varchar2(1000);
    BEGIN
    repid := find_report_object('AMTP_995.RDF');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
         if rep_status = 'FINISHED' then
         message('Report Completed'); message('Report Completed');
         else
              message('Error when running report.');           message('Error when running report.');
         end if;
    END;
    {code}
    Any Help

    actually My code is this:
    declare
         ln_alert          number;
         pl_id               ParamList;
         lv_report_name varchar2(10000);
         lv_path  varchar2 (100) := 'C:\';
         lv_shared_path  varchar2(1000);
         lv_copy_file varchar2(10000);
      cursor cr_dir_path IS
      select v_dir_path
      from md_directory
      where v_dir_code ='SHR';
      lv_file_name varchar2(1000);
    BEGIN
      open cr_dir_path;
      fetch cr_dir_path into lv_shared_path;
      close cr_dir_path;
    lv_report_name :=  lv_path||:fn_cntl.nb_ref_no||'_M08600000_'||to_char(sysdate,'YYYYMMDD-HHmmss')||'.pdf';
      if ffn_check_fields  THEN
         pl_id := Get_Parameter_List('LAI');
             IF NOT Id_Null(pl_id) THEN
                 Destroy_Parameter_List( pl_id );
              END IF;             
              pl_id := Create_Parameter_List('LAI');
           if :fn_cntl.nb_report_name ='MMAT_REPORT'
                then
                     if :fn_cntl.nb_report_desc ='EXPORT'
                          then
                         Add_Parameter(pl_id, 'PARAMFORM',TEXT_PARAMETER, 'NO');
             Add_Parameter(pl_id, 'DESTYPE',  TEXT_PARAMETER,'File');
            Add_Parameter(pl_id, 'DESNAME',  TEXT_PARAMETER, lv_report_name);
            Add_Parameter(pl_id, 'DESFORMAT',TEXT_PARAMETER,'PDF');
            Add_Parameter(pl_id, 'p_mat_no',TEXT_PARAMETER, :fn_cntl.nb_mat_no);   
            Add_Parameter(pl_id, 'p_ref_no',     TEXT_PARAMETER, :fn_cntl.nb_ref_no);
            Add_Parameter(pl_id, 'p_verified_by',TEXT_PARAMETER, user);
                     Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);
          DECLARE     
               repid REPORT_OBJECT;     v_rep VARCHAR2(100);     rep_status varchar2(20);BEGIN
                         /* REP_OBJ= REPORT OBJECT CREATED UNDER REPORT NODE AT FORM */
             repid := find_report_object('MMAT_REPORT');      v_rep := RUN_REPORT_OBJECT(repid);
                        rep_status := REPORT_OBJECT_STATUS(v_rep);          
          if rep_status = 'FINISHED' then
              message('Report Completed');          message('Report Completed');
             --copy_report_object_output(v_rep,'c:\local.pdf');
             -- host('netscape c:\tlocal.pdf');     
         else          message('Error when running report.');
                                          message('Error when running report.');     
         end if;
                 END;
         end if;
      end if;
           if :fn_cntl.nb_report_desc ='EXPORT'
                then
                  error_handler('This report will be Storde in ' ||lv_report_name||' and '||lv_shared_path|| ' Location',3);
                     lv_copy_file :='copy '||' "'||lv_report_name||'" "'||lv_shared_path||'"';
                     host(lv_copy_file,no_screen);
                  error_handler('Report Has been Generated Sucessfully.',3);
           end if;
        end if;
    END;I will try first the another solution you have replied perviously... and will let you no the results... thanks a lot...

  • Call report from form10g.

    Hi all, i has one form and i want to call report name 'DOCK_RECEIPT' from Form.
    I create one button name ' CALL_REPORT', and want to when click into this button, form call report above.
    But i don't know configure Form and Report, and code for button "call_report".
    Now, how must i do for Form can call report?
    Please help me.

    how to run reports from 10g, check the following links
    How to run report from form 10g
    Oracle® Application Server Reports Services Publishing Reports to the Web
    http://docs.oracle.com/cd/B25016_04/doc/dl/bi/B14048_02/toc.htm
    Hope this will help you

  • Calling RDF files from JSP files

    Hi,
    I created a report file using Oracle 9i Report Builder and save it as RDF extension.After that I deployed it into the server and it's working properly.But, when I created a simple JSP file(not a report) and try to call that RDF file from this JSP file,the web browser prompts for downloading the entire RDF file.Is there any way to aviod this prompting, and make it to proper ruuning from that JSP ??
    Thanks &Regards
    Rajesh K.R

    You are in the wrong forum
    Go to Reports

  • Calling Alv Report From Mobile

    Hi All,
    I need some information to cal a alv report from mobile. I created one report ans can see the selection screen in gui after calling. Here the screen is really big i need to adjust the size because it may take more load and time if i call from a mobile . Is it possible to call the same from mobile or do i need any separate application to call this from mobile. Please *** you valuable suggestions.
    Regards
    Madhu.

    Hello Madhu,
    What is your system details?
    Kernel and BASIS?
    Device OS & Browser?
    What are the GUI Configuration settings of the ITSMobile Service?
    What ITSMobile Generation STYLE was used?
    Perhaps useful notes:
    1037715  ITSmobile: Supported screen elements
    1309633  ITSmobile: custom OMRT controls auto-recognized at runtime
    1312835 ITSmobile: page navigation in ALV Grid on Windows Mobile
    1668784 ITSmobile: new features for ALV Grid
    Regards,
    Oisin

Maybe you are looking for

  • How to get the data from a table which are availble in MD04

    Hello, Can you please let me know the tables in which the 'data available in MD04' are stored. I would like to have the data pertaining to the customer order/Item with requirements available in MD04. Thanks and Regards, Jana.

  • Poor quality when rendering CC Particle Systems II

    Hi Guys. I'm getting strange render results when I render out CC Particle Systems II cubes and tetrahedrons. I have the particles cascading out towards the viewer and they look great when I preview render in AFX but when I do a full render to H.264 m

  • No Database Selected - error when running queries

    Hi all, I have just got a shiny new macbook at work. For some reason whenever I try to run a query I receive the error "No Database Selected". I am connected, I have even tried including a "USE MyFancySchema;", but to no avail. I am using Version 3.0

  • T Code for Code Inspector in 4.6c

    Hi, Please tell me what is the T Code for Code Inspector in 4.6 C..

  • NullPointerException in oc4j

    Note: I posted this topic to javaranch too. You can access it from: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=82&t=000095 Hi, I am migrating a jsf based web application from tomcat to oc4j. The application works properly