Calling Reports 9i from Forms9i

How do I call Reports from Forms developer through customized menus using HOST command

Hi Rohit,
The link should be http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
I follow the document and I built a Report called 'PRODUCT_REPORT' using Reports 9i Builder and save it to 'PRODUCT_REPORT.rdf' and 'PRODUCT_REPORT.jsp' and compiled to 'PRODUCT_REPORT.rep'
I created a Form called 'PRODUCT_REPORT_FORM' using Forms 9i Builder and save it to 'PRODUCT_REPORT_FORM.fmb' and compile to 'PRODUCT_REPORT_FORM.fmx'.
I define Reports in the Form 'PRODUCT_REPORT_FORM.fmb' that links Filename 'PRODUCT_REPORT.rdf'.
I add the following PRE-FORM trigger:
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
BEGIN
repid:=find_report_object('PRODUCT_REPORT');
v_rep := RUN_REPORT_OBJECT(repid);
END;
I start OC4J Instance. When I run the form, the following error occurs:
REP-0503: You did not specify the name of a report
Click on [OK]
FRM-40738: Argument 1 to builtin
REPORT_OBJECT_STATUS cannot be null.
Click on [OK]
FRM-10259: Invalid null argument to packaged procedure or function.
Can any one help me?
Can any one clarify the following:
1. RUN_REPORT_OBJECT will run a report defined in a Form with filename of an extension of rdf but NOT jsp NOR rep
2. How can I run a JSP report from a Form?
3. Can I use JDeveloper 9.0.3.1 to deploy a JSP Report?

Similar Messages

  • Calling report application from jsp

    Hi,
    I am designing a JSP that captures search parameters. The user will enter words contained in a company name and product codes. This triggers the jsp to display all matches on the same page. My question is how do I call a portal report application from within the jsp and pass the parameters? Also, I would like to change the column condition relational operator for the date parameters.
    Thanks for any help,
    Ed

    Hi,
              I found that when i changed the permissions on the following directory to 777 the error in weblogic went away.
              /local/apps/boxir2/boinstall/bobje/data/<domainname>.pageserver
              However i still have the web page error when i try to load a crystal reports document that is:
              An error occurred while creating a Page Server subprocess.
              Any help with this would be great.
              Thanks

  • Calling reports runtime from comand prompt

    Hi,
    Is it possible to call reports runtime and execute a .rep file to generate a pdf file from the windows comand prompt?
    How can I do this?

    Hi,
    Yes,We can do that.
    plz see this
    rwrun60 userid=scott/tiger paramform=no destype=mail
    desname=rmiller
    rwrun60 scott/tiger no destype=mail desname=rmiller
    --Basava.s                                                                                                                                                                                                                                                                                                                                                                                       

  • How can call report 9i from form9i

    i need to ask about report9i
    i try to call report from form9i by button
    from there but not success
    i write the code blow
    RUN_REPORT_OBJECT('c:\test.rdf','p1_id');
    best regard

    Hi ,
    I am pasting an example of how to call the RUN_REPORT_OBJECT and what all need to be set for it to function properly. You can use the code, but remember to edit some of the details that you are supposed to fill before trying to run.
    DECLARE
    Report_Id REPORT_OBJECT;
    Report_Job_Id VARCHAR2(20);
    Report_Status VARCHAR2(80);
    Report_Svr VARCHAR2(20);
    BEGIN
    Report_Id := FIND_REPORT_OBJECT('&lt;your_report_object&gt;');
    Report_Svr := '&lt;your_report_server&gt;';
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_FILENAME, '&lt;your_report_file&gt;');
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESTYPE, CACHE);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_SERVER, Report_Svr);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_OTHER, 'blankpages=no paramform=no ...');
    Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
    Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
    WHILE Report_Status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
    END LOOP;
    IF Report_Status = 'FINISHED' then
    WEB.SHOW_DOCUMENT('http://&lt;machine&gt;:&lt;port&gt;/reports/rwservlet/getjobid' || substr(Report_Job_Id, length(Report_Svr) + 2, length(Report_Job_Id)) || '?server=' || Report_Svr);
    END IF;
    Hope this helps.
    Thanks,
    Vinod.

  • Call Report Builder from Jdeveloper 10g with parameters

    hello , how are you
    i am in oracle forms for long , today i am work in jdeveloper 10g, i want some questions
    1- how call oracle report builder from oracle jdeveloper 10g with parameters
    2- if there aren't call from jdeveloper 10g, what is good report tools?
    thanks.

    I'm assuming that what you want to do is actually run a report from a JDeveloper application.
    To do this you can use the various ways that Reports offer to invoke reports with the report server - including URL & Web Service interfaces.
    More information on these in the Oracle Reports - Publishing reports manual.

  • Calling Reports 10g from Forms 10g without an app server

    Hi
    I have Forms 10g, and for development/testing purposes I am able to run a form in my local machine using the standalone OC4J. I needn't to deploy the form to test it.
    I can do the same with Reports 10g -- run a report in my local machine without an app server.
    However, I could not manage to call a Report from a Form that way, without an app server. It does not seem possible -- is it? Is there a way to set this up using the standalone OC4J or something like that?
    Thanks
    Luis
    Message was edited by:
    Luis Cabral

    Hi
    Sorry for the late reply.
    Here's how you start the report server from windows XP machine.
    1. Choose a unique name for the report server. Eg. <your_pc_name>_repserver
    2. As the report server runs in its own process, it can be started by the following command, accessible from the \ bin directory of the
    Oracle Developer Suite or Oracle Application Server 10g installation.
    rwserver –install <server_name> . It is now treated as a windows service and hence you can stop/start or restart from the services menu.
    3. If you want specific settings for your report server, look for the <rep_server_name>.conf file under <orahome>/reports/conf directory, after starting the server from above command. This file is created by oracle automatically, once the rep server gets started.
    For more info on this, please refer to white papers on the Forms and reports integration, found on the otn->Forms.
    Hope this helps
    Suma

  • Calling Report Builder From Server(aspx page ) With encrypted username and password

    Hi , 
    Our application needs to have a link to Report Builder which will open a report builder for that current report and user can modify it accordingly.
    Currently our approach is to use a client side(JavaScript) url link which is in form as follows
    http://username:password@domain/ReportServer_SQLDEVELOPER/ReportBuilder/ReportBuilder_3_0_0_0.application?/ReportName
    But we do not want to show username and password in clear text , SO we have tried to pass it through ajax call and call the url from server or pass username and password in Authorization headers . Unfortunately , this does not serve our purpose and we are
    getting Unauthorized in firebug Console .We are using REST Services .Below is screenshot:
    This is a kind of blocker issue for us , So any timely help would be highly appreciated.In case of any queries you can contact me at [email protected]
    Thanks & Regards
    Mohit Methi
    NGC

    Put the domain in the Intranet Zone instead, and try again. They should not be prompted for auth as long as they log in with cached Domain Creds.
    Is the SharePoint site configured to allow NTLM?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to call report program from WebDynpro Application

    HI
    How call  report program in WDA.
    1. To extract the xml files and store the data in to data base table, program name is "zprogram_application".
          When run the se38 it's working fine and save the data in database.
    2. When i click "SUBMIT" button the web dynpro application automatically run the Report program "zprogram_application" and save the data into data base table. This is my requirement please give me suggestions.
    3. I want run the report program in web dynpro application.
    Thank you
    V.VENKATESH

    From within the WDA Event handler you can call the program using SUBMIT ... AND RETURN.  You might have to be careful with what the program does.  It must run as though it is in the background.  There is no connection to the client machine - so no SAPGUI calls.  You might also consider the addition VIA JOB job NUMBER n...  to the SUBMIT command.  That will allow you to start the submitted program as a background job.  Your WDA can then continue processing as the submitted job runs in parallel.

  • Calling shell script from forms9i

    Hi,
    I have a shell script that inserts records in the table. When I run this shell script in Unix, it runs fine and inserts records in the table.
    But when I run it from forms9i by using HOST command it does everything written in the shell script but inserting records in the table.
    Can anyone tell me why it is not inserting records in the table.
    I will really appreciate you response.
    Thanks,
    Kumar

    IMO when you run the shell script from forms it runs in privileges of App server user and in that shell that why its running as oraias when you run it from forms .. I think the SSO is out of picture in this situation.So you need to find a way of connecting to the in the script.
    Check the TNS names environment varaibles etc for doing this,

  • Calling reports 6i from Forms 9i

    Hi All,
    I am updating a menu application that we run from 6i to 9i. The menu app form is a list of reports. The runtime path for each report is returned to menu_link_all.path.th Works great in 6i form and reports however, I can not figure out how to get the same from the 9i form calling a 6i report.
    Here is the code I am using from the 6i form....
    PROCEDURE p_run_item IS
    -- parameter list
    pl_id     ParamList;
    pl_name     VARCHAR2(50) := 'pl_item_id';
    v_report     varchar2(100);
    BEGIN
    p_logon(:menu_link_all.schema_name, :menu_link_all.password,:menu_link_all.connection);
    if :menu_link_all.item_type = 'R' then
         set_report_object_property('view_report',report_filename,:menu_link_all.path);
    v_report := run_report_object('view_report');
    elsif :menu_link_all.item_type = 'F' then
    -- call modal form if connecting to any database other than qlqls/qlqls@qpro
    -- otherwise other open forms will also lose their connection to their respective databases
    if upper(:menu_link_all.schema_name) <> XXX'
    and upper(:menu_link_all.password) <> 'XXX'
    and upper(:menu_link_all.connection) <> 'XXX' then
    call_form(:menu_link_all.path,NO_HIDE,NO_REPLACE,NO_QUERY_ONLY,SHARE_LIBRARY_DATA);
    else
    open_form(:menu_link_all.path,activate, session, share_library_data);
    end if;
    elsif :menu_link_all.item_type = 'O' and :menu_link_all.web_item = 'Y' then
    web.show_document(:menu_link_all.path,'_self');
    else
    host(:menu_link_all.path);
    end if;
    END;
    Within the report property pallette filename := placeholder
    I did not write the original and am not sure why the filename is set to placeholder would appreciate knowing though
    Looking forward to your response
    Chris

    My TNS problems are a result of our Network guys insisting on deploying everything through Novell Application Launcher, and pushing down TNS with the apps. We currently run systems that talk to 7.3 client, 8 client and 9 client I do not need to tell you what happens when the techos that reimage PC (2000 odd) leaving the user to deploy each of their apps which of course they never do in the correct order etc etc etc....
    Will take your advice and stay with 6i as long as Oracle keep supporting it, hopefully one day they will realise that some of us need to operate in a client server environment.
    Cheers and thanks
    Chris

  • Problem n Calling Report 6i from Forms 6i

    i have a problem with calling any report ( Report 6i ).
    the problem is when i call any report from the Form 6i sometime its hang ,and the message from the Windowx XP will shown when any application is not responding , and the Form hangs also and need End Task to close it.
    there is no sequence of hanging , sometimes third calling of the report ,sometimes forth and sometimes from the first calling of any report.
    is it that Report 6i not compatible with the windows XP or 2000 and need some file or is it the problem from my code..???
    i used this code:
    DECLARE
    pl_id ParamList;
    begin
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    add_Parameter(pl_id,'Q',text_PARAMETER,' and PA_M_HUMAN_SRL = '||:PA_M_HUMAN_SRL||' and ee_t_exit_entry_no = '||:EE_T_EXIT_ENTRY_NO);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Run_Product(REPORTS, 'C:\HRS\PROSYS\REP\r_exit_per_rp.rep', SYNCHRONOUS, RUNTIME,FILESYSTEM,pl_id, NULL);
    ...

    Abdulla,
    2 things
    1) Make sure you are on a recent patch that as a minimum is path 13 for XP support (I think it was patch 13)
    2. Try
    Run_Product(REPORTS, 'C:\HRS\PROSYS\REP\r_exit_per_rp.rep', ASYNCHRONOUS, RUNTIME,FILESYSTEM,pl_id, NULL);
    to run it asynchronously to eventually see an error message displayed
    Frank

  • Calling report/form from backend trigger

    Could anybody please tell me how to invoke a form or report from a database back-end triggers?
    Thanks.
    Sonia.

    I haven't tried it before but you might want to check it out using dbms_pipe

  • Calling report from report

    I am using Reports6i. I have 2 reports, lets say Report A and Report B. Both reports are working fine when called from parameter form. But when I am calling Report B from Report A, it is giving me a blank Report B. I am passing parameter properly and even shown them in Report B but no data is generated. Amazing thing is that Report B is working perfectly stand alone.
    Thanks in advance.

    No reason why it should not work. To debug the issue, run the report with tracefile=reports.trc and check the parameters that are getting passed in both the cases.
    Trace file will contain the query and parameters values.

  • Getting Report ID of Calling Report in Child Report

    Hi,
    Am using Business objects webi reports at my job.
    I have a scenario where i call report B from report A and  report B from report C.Am using hyperlinks to call the other reports.
    A ->calls->B
    C->Calls->B
    I wanted to know how to get the report id of the parent report(calling report)(A/C) in the child report (B). I need those details as i have to have back button in child report(B) which takes me to corresponding calling(parent) report.
    So if A->calls->B back button in B report should take me to A Report.
    C->B back button in B report should take me to C Report.
    Your help is very much appreciated.
    Thanks & Regards,
    Sravya

    Karthik,
    Thanks for your response.But my problem is not getting report id.I need to make a dynamic back button which points to correct parent report from child report, though there are many parent reports calling the child report.
    So i should be able to track which report has called.
    Looking forward for some help
    Thanks
    Sravya

  • IM failed to invoke Report 9i from form9i, how can i invoke it

    I m calling report 9i from form 9i but im alway failed to run report in form9i by using RUN_PRODUCT() builtin and RUN_REPORT_OBJCT() builtin how can i run a report ?

    what's parameter r u passing?
    Run_product(REPORTS,report name,SYNCHRONOUS,RUNTIME,FILESYSTEM,
    parameter,NULL);
    run_report_object(report name or report id);
    cheers
    ravi

Maybe you are looking for

  • Is it possible to use a 30" Apple display with a Windows PC laptop?

    First let me say that I can't switch to a Mac, since this is what they gave me at work. OK, that being said, I have an IBM ThinkPad T43 (not a bad computer by the way, it's reliable). I have this hooked into a docking station and it is currently powe

  • BC 32 or 64 bit for XP prior to Win 7??

    I downloaded the 64 bit Boot camp update but it will not install, even using the winRar extraction technique suggested in another thread. Since XP Professional is 32 bit, I assume only the 32 bit update will work, so I used that.... BUT does that mea

  • Validating in ALV grid output for double entry

    Hi All,          I am trying to validate the ALV output while adding records to the screen. I need to validate if the same primary key exist while user is creating a new record in the ALV output. If the same record is entered many time ( with the sam

  • How to store .doc file in oracle using jdbc

    Here is problem , storing microsoft excel file (or) .txt file to database(ORACLE) through JDBC . how to retrive

  • Iphone 4 Belkin Mirca issue - case program

    Hello, yesterday i received my "new" Belkin MIrca case from Apple's case program. It's slightly deformed and all scratched up right out of box. Is there anything I can do with it to get it replaced?