Form call report

In Unix environment when I call REPORT from FORM using RUN_PRODUCT built-in, it has no response and no error message just as if it has run but no display.
How to solve the problem? Is there anyone who used form6i and report6i and their integration or configured form server and report server on unix?
null

In Unix environment when I call REPORT from FORM using RUN_PRODUCT built-in, it has no response and no error message just as if it has run but no display.
How to solve the problem? Is there anyone who used form6i and report6i and their integration or configured form server and report server on unix?
null

Similar Messages

  • Form call report,but form hang when report sun slowly,how to set server?

    In version 10.1.2
    Form call report, form hang when report sun slowly,
    finally the report will done,I can see the output in the server disk,but form hang,
    I think it's out of the report session, ,how to set server?
    thanks for any help!
    lind

    Hello,
    If you are using the "Paper Layout", check the Reports's "Before Report Value" property:
    Before Report Value :
    <meta http-equiv="Content-Type" content="text/html; charset=&Encoding">
    If you are using the "Web Layout", take a look to the document :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_nls.htm#i1006142
    18.3 Specifying a Character Set in a JSP or XML File
    Regards

  • Form calling Report with web.show_document caught by SSO

    A 10g form button calls a 10g report via web.show_document.
    In the dev environment it works, but in the full app server SSO is enabled and stops & prompts for a login/password.
    I'm trying to include the SSOCONN parameter in the URL. I've tried the db userid & the sso userid without success.
    Any help is much appreciated.

    How are you calling the report with Web.Show_Document (what's the URL you're passing)? The application I'm working on uses SSO and I call Reports from Forms and don't have this issue. You should just have to pass the return value of RUN_REPORT_OBJECT() in the URL along with the server name - at least that is how we do it. For example (bare in mind this is an abbreviated example):
    DECLARE
         v_rep_rtn   VARCHAR2(4000);
         v_repsvrname      VARCHAR2 (100);  /* This is a CONSTANT and used here as an example */
         v_paramlist  paramlist;
    BEGIN
         v_rep_rtn := Run_Report_Object(v_report, v_paramlist);
         Web.Show_Document('/reports/rwservlet/getjobid'||substr(v_rep_rtn,Instr (v_rep_rtn, '_', -1) + 1)||
                          '?server=' || v_repsvrname);
         v_report    := Find_Report_Object('REP1');
         Set_Report_Object_Property(v_report, report_execution_mode, batch); 
         Set_Report_Object_Property(v_report, report_comm_mode,      synchronous);
         Set_Report_Object_Property(v_report, report_destype,        CACHE);
         Set_Report_Object_Property(v_report, report_desformat,      'pdf');
         Set_Report_Object_Property(v_report, report_server,         v_repsvrname);
         v_rep_rtn := Run_Report_Object(v_report, v_paramlist);
         rep_status := Report_Object_Status(v_rep_rtn);
         WHILE rep_status IN ('RUNNING', 'OPENING_REPORT', 'ENQUEUED')     LOOP           
              rep_status := Report_Object_Status(v_rep_rtn);        
         END LOOP;   
         IF rep_status <> 'FINISHED' THEN
              msg_box('Error when running report. Status = '||rep_status);  
         else
              Web.Show_Document('/reports/rwservlet/getjobid'||substr(v_rep_rtn,Instr (v_rep_rtn, '_', -1) + 1)||
                          '?server=' || v_repsvrname); -- || '&authid=orcladmin/admin999');
         END IF;
    END;Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks!

  • Forms calling Reports output issue RTF/PDF - strange issue

    Dear All,
    I'm looking for a bit of help with a strange situation calling reports from Forms.
    This problem I'm getting in both 11.1.1 and 11.1.2 of Forms/Reports. Client is WinXP/7 (issue appears on both), Weblogic server is Linux (SLES11 and Red Hat - issue on both)
    So the issue is
    1. calling a report with output as RTF (this works fine and we use OLE2 to open the report in Word)
    2. Wihile in that form call the same report though change the output to be created as PDF in the cache and the report then opens in IE (this too works fine)
    3. Now if we try and do number 1 again (still in the same form) and run the same report again and choose to generate as RTF and open in word, it erroneously generates the report in PDF format but with an .RTF extension on the file.
    Of course most of the time people would not want to do this, but the client has identified this issue and classified it as a bug, so we need to fix it (and it doesn't happen in the Forms6i version it is migrated from).
    I have tried to ensure that the parameter list is correctly deleted and re-created, which appears to be the case. I also tried to generate a new unique parameter list for every run, which made no difference to the problem.
    If I choose to run a completely different report, the problem has reset itself. So the problem exists only when I've chosen the PDF output and then run the same report thereafter as RTF output to a file.
    Code to prepare for the RTF option is:
    Add_Parameter(pl_id,'destype',TEXT_PARAMETER,'FILE');
    Add_Parameter(pl_id,'desname',TEXT_PARAMETER,l_temp_env||'/'|| p_report || '.rtf');
    l_report_desname := l_temp_env||'/'|| p_report || '.rtf';
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'RTF');
    Add_Parameter(pl_id,'REPORT_DESFORMAT',TEXT_PARAMETER,'RTF');
    Add_Parameter(pl_id,'mode',TEXT_PARAMETER,'BITMAP');
    l_report := p_report;
    Code used to prepare for PDF option is:
    Add_Parameter(pl_id,'destype',TEXT_PARAMETER,'CACHE');
    Add_Parameter(pl_id,'desname',TEXT_PARAMETER,'');
    Add_Parameter(pl_id,'desformat',TEXT_PARAMETER,'PDF');
    l_report := p_report;
    Any ideas gratefully received.
    cheers
    Tony

    So I delete the paramlist correctly, then the code is:
    IF (p_display_method = 'W')
    THEN
    --WORD Format
         --delete file on client
         Delete_File('c:\temp'||'\'|| p_report || '.rtf');
         --delete file on app server
         host('rm '||l_temp_env||'/'|| p_report || '.rtf');
         Add_Parameter(pl_id,'REPORT_DESTYPE',TEXT_PARAMETER,'FILE');
         Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'FILE');
         Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,l_temp_env||'/'|| p_report || '.rtf');
         l_report_desname := l_temp_env||'/'|| p_report || '.rtf';
         Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'RTF');
         Add_Parameter(pl_id,'REPORT_DESFORMAT',TEXT_PARAMETER,'RTF');     
         Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'BITMAP');
         Add_Parameter(pl_id,'printjob',TEXT_PARAMETER,'no');
         l_report := p_report;
    ELSIF (p_display_method = 'E')
    THEN
    --EXCEL format
         --delete file on client
         Delete_File('c:\temp'||'\'|| p_report || '.csv');
         Delete_File('c:\temp'||'\'|| p_report || '.xls');
         --delete file on app server
         host('rm '||l_temp_env||'/'|| p_report || '.csv');
         Delete_File(l_temp_env||'\'|| p_report || '.cvs');
         Delete_File(l_temp_env||'\'|| p_report || '.xls');
         Add_Parameter(pl_id,'destype',TEXT_PARAMETER,'FILE');
         Add_Parameter(pl_id,'desname',TEXT_PARAMETER,l_temp_env||'/'|| p_report || '.csv');
         Add_Parameter(pl_id,'desformat',TEXT_PARAMETER,'csv.prt');
         Add_Parameter(pl_id,'REPORT_DESFORMAT',TEXT_PARAMETER,'csv.prt');
         Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'character');
         Add_Parameter(pl_id,'printjob',TEXT_PARAMETER,'no');
         l_report := p_report || '_d';
    ELSIF (p_display_method = 'P')
    THEN
    -- PDF Format
         Add_Parameter(pl_id,'destype',TEXT_PARAMETER,'CACHE');
         Add_Parameter(pl_id,'desname',TEXT_PARAMETER,l_temp_env||'/'|| p_report || '.pdf');
         Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
         Add_Parameter(pl_id,'REPORT_DESFORMAT',TEXT_PARAMETER,'PDF');     
         l_report := p_report;
    END IF;
    So all of the above works fine when generating a report the first time you enter a form, but if you run a PDF output report then immediately in the same form generate the report again to a non-PDF format, it comes out in incorrectly in PDF format.
    rgds
    Tony
    Edited by: tony.g on Nov 29, 2012 1:37 PM

  • Migrating application containing forms calling reports on ids9i

    i am trying to migrate an application with forms and reports.
    problem: menu.mmb contains "run_product(REPORTS..."
    i tried: result:=run_report_object(find_report_object('abr_as'), ' ');
    (and definied this report in the menu.fmb)
    rep-file and rdf-file are in the same dir as fmb-files
    i am working with oc4j standalone (without as)
    => and get: "rep-0503 Sie haben keinen Berichtnamen angegeben"...
    by the way: did anyone successfully used ifconvplsql90 (forms migration util) ???
    if i try this util, it replaces the "run_product"-line with:
    rp2rro.rp2rro_run_product(REPORTS, 'abr_as', SYNCHRONOUS, RUNTIME, FILESYSTEM, ' ', NULL);
    => FRM-41219 Bericht nicht gefunden. Ung|ltige Id.
    (and a lot of following errors...)

    G|nther,
    I am inlining my comments
    >i am trying to migrate an application with forms and reports.
    problem: menu.mmb contains "run_product(REPORTS..."
    i tried: result:=run_report_object(find_report_object('abr_as'), ' ');
    (and definied this report in the menu.fmb)
    So I am assuming that you have a reports object node of the the name "abr_as". Thus "abr_as" is not the name of the Reports module (rdf or rep).
    If abr_as is the name of the Reports physical file, then please create a Reports Object node and add this name as the physical file name in teh properties. use the name of the Reports object within your Run_Report_Object calls
    >rep-file and rdf-file are in the same dir as fmb-files
    i am working with oc4j standalone (without as)
    Make sure that the directory is known by the Reports Server. Use Reports_Path setting in the registry. Forms does not look for the Reports directly but call ReportsServices. make sure that the Reports Object property has a valid entry for a Reports module
    >=> and get: "rep-0503 Sie haben keinen Berichtnamen angegeben"...
    by the way: did anyone successfully used ifconvplsql90 (forms migration util) ???
    if i try this util, it replaces the "run_product"-line with:
    rp2rro.rp2rro_run_product(REPORTS, 'abr_as', SYNCHRONOUS, RUNTIME, FILESYSTEM, ' ', NULL);
    All that this utility does is to take teh Run_Product request and pass it to the plsql library shipped with the utility. The utility also create a Report Object node that is used with the library call. An here is where the possible problem is:
    Menu items don't have a Report Object node. Thus you need to make sure that the fmb file using this menu module does have the rp2rro entries. The easiest way to achieve this is to create a dummy run_product entry in the fmb file and run this through the converter. This adds all the rp2rrp dependecies to the fmb file. Finally remove the dummy run_product entry (that now shows converted) but leave the rp2rro parameters , Reports Object node and attached library.
    >=> FRM-41219 Bericht nicht gefunden. Ung|ltige Id.
    (and a lot of following errors...)
    The are some known issues with the rp2rro.pll (the call to Reports9i Services has a wrong format) that will be fixed in the first Forms9i patch that comes out soon.
    A Whitepaper about integrating Forms9i with Reports9i will be available on OTN in mid december (It's currently reviewed)
    Frank

  • From form calling report to result to pdf file

    Dear All,
    Usually, when we call a report from form, it calls to preview. Now, I would like to autometically call the report and upon execute, the pdf file will be created. Can anybody tell me how to do that.
    p/s: I do not want the preview becasue this report is a complicated report and it takes quite some time to process. So I would like my user to get the pdf directly instead of going though the preview.
    Thanks

    DECLARE     
    pl_id ParamList;
    Begin
    pl_id := Create_Parameter_List('Reports_Parameters');
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'FILE');
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,'C:\aRep1.Pdf');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
    RUN_PRODUCT REPORTS,'C:\Rep1',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_ID);
    Destroy_Parameter_List(pl_id);
    End;

  • Form calling report by HOST( rwrun...)

    I want to call a report within Form & mail that output of report to respective destination.
    I am trying to implement by using rwrun in form i m giving
    Client_host('rwrun .....'); by giving destype "mail" I am able to send output of it
    by mail. But now I want to implement by using Host command
    Client_Host --> to run @ client machine
    Host --> to run @ server (linux)
    Please help about it.

    hey Rajesh_Alex,
    I tried same by using RUN_REPORT_OBJECT but it gives error
    FRM-41219: Cannot find report: invalid ID
    Please Help Me.......
    here is my code
    declare
              v_report_id REPORT_OBJECT;
              v_job_id varchar2(70);
              sts varchar2(80);
    begin
    v_report_id:=find_report_object('C:\Testing\Purchase_Order.rdf');
    --v_report_id:=find_report_object('Purchase_Order');
    SET_REPORT_OBJECT_PROPERTY (v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,mail);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESNAME,'[email protected]');
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,':P_POR_NO='||'2006-30210'||'paramform=no');
    v_job_id:=RUN_REPORT_OBJECT(v_report_id);
    sts:=REPORT_OBJECT_STATUS(v_job_id);
    end;

  • Urgent: Calling Reports from Oracle Forms 10g (10.1.2.0.2) fails

    Problem displaying a report from within Oracle 10g forms.
    After a lot of work, we are able to access and actually display a report directly from Internet explorer and view the report from the report server as well.
    The successful url was:
    http://york.vrc.virginia.gov:7778/reports/rwservlet
    ?report=/u01/app/oracle/produ ct/vrcmidtier/reports/vrc/pmw41051.rdf
    &userid=vrcpr/vrcpr@vrctest&destype=cache&desformat=HTML
    The form displays correctly back to the screen
    When executing from within the form, however, the report runs but does not display back to the screen.
    Forms Steps so far:
    created a report object called pmw41050
    static parameters are:
    file name: /u01/app/oracle/product/vrcmidtier/reports/vrc/pmw41051.rdfination format
    execution mode: batch
    communication mode: synchronous
    destination name; null
    destination format: HTML
    reportserver:: vrc_york_midtier
    Built a when button pressed trigger as follows:
    declare
    l_report_file varchar2(200);
    l_report_id REPORT_OBJECT;
    l_report_status varchar2(200);
    begin
    -- capture the report
    l_report_file := 'pmw41051';
    l_report_id := find_report_object(l_report_file);
    -- set the parameters for this output
    set_report_object_property(l_report_id, REPORT_EXECUTION_MODE, BATCH);
    set_report_object_property(l_report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    set_report_object_property(l_report_id, REPORT_DESTYPE, CACHE);
    set_report_object_property(l_report_id, REPORT_DESFORMAT, 'PDF');
    set_report_object_property(l_report_id, REPORT_SERVER, 'rep_york_vrcmidtier');
    set_report_object_property(l_report_id, REPORT_OTHER, 'PARAMFORM=NO');
    set_report_object_property(l_report_id, REPORT_DESNAME, 'DESNAME');
    -- and run the report
    l_report_status := run_report_object(l_report_id);
    -- monitor progress
    while l_report_status in ('RUNNING', 'OPENING_REPORT', 'ENQUEUED') loop
    l_report_status := report_object_status(l_report_status);
    end loop;
    message('back from the report'); -- test message for return
    end;
    The report executes without error (as indicated by the message on the last line) but does NOT display back to the screen
    checking the rwservlet/showjobs verifies the report completed and the reportcan be displayed from there.
    So, bottom line: how to make a 10g form call report and display it on the screen?

    Thanks MIke for your feedback...
    Will this surfice?
    Procedure Test_Report Is
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    BEGIN
    repid := find_report_object('report5');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://<YourServerName:8888/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;

  • Netscape 7 replaces form window when calling reports

    Netscape 7.0, unlike Netscape 4.7 does not handle forms application that calls on Reports to display Report preview in PDF.
    When our forms call reports to display a report to the user in the browser, the window on which the form screen is presented is replaced by the window which brings up adobe reader to display the report.
    IE 5.5, Netscape 4.7 work fine.
    Is there a configuration which must be set in Netscape or in the forms code to direct the browser to open a separate window to receive reports output?

    Lawrence,
    try calling it
    web.show_document('<URL'>,_blank);
    This should do it. In Forms9i this built-in is able to call out to javascript, giving you even more control over the window you use it in.
    Frank

  • Calling Reports from Web Forms

    Hi all,
    I have Forms and Reports services 10g running on Linux RHEL3, and it's all right so far, with only one application.
    Now I have to use another application, which has some forms and reports with same name as the first one. At this point I cannot use FORMS90_PATH and REPORTS_PATH anymore.
    I solved the problem about forms and icons (simply changing configuration files), and I found a solution for Reports, but this one obliges me to modify all forms calling reports. Of course I don't like it so much, and I'm wondering if someone has a solution without changing anything in the applications, as for forms and icons.
    Thanks in advance
    Paul

    Hi Martin,
    I'm afraid there was a little misunderstanding : I tried your solution, and it works fine for forms (but for forms I already had a solution, workingDirectory in the project section of formsweb.cfg).
    It doesn't work for reports : it seems that the only way to specify reports location is in reports.sh, but to make applications independent I should use different reports servers for different applications, not acceptable.
    Do you know a way to obtain the same result for reports (as for forms) without changing applications ?
    BTW, the solution should work on Windows OS too.
    Thanks again.

  • 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

  • Help: calling report from report in report 9i

    Background:
    1. Report Builder 9i and the outputs are PDF files;
    2. Report A and Report B both have two identical parameters: P1 and P2;
    3. Calling Report A through FORM using web.show_document() with paraform=YES,
    Help:
    If Report B can be called from Report A, the parameters P1, P2 passed through calling report A, the user then needs not to enter twice P1 and P2 using web.show_document().
    Wishful way of thinking:
    The Calling FORM refered here is the one that provides all buttons for more than 20 reports and that is the reason of using parameter form. Consequently, I am looking for ways of making:
    Calling FORM -> REPORT A -> REPORT B
    where both Report A and B have same parameters, calling FORM calls REPORT A using REPORT A parameter form and hoping that REPORT A can call REPORT B with these parameters.
    Any help are greatly appreciated.
    Jimmy

    I tried something in Before Report trigger like:
    function BeforeReport return boolean is
    begin
    srw.run_report('batch=yes sf1='||:pf1 || 'sf2='||:pf2 || ' report=REPORT_B destype=cache desformat=pdf');
    return (TRUE);
    end;
    An error raised as: REP-1428: 'beforereport': Error while running SRW.RUN_REPORT.
    Here sf1, pf1 and sf2, pf2 and two pairs of identical parameters.
    Any suggestions?

  • How to call reports 6i or forms 6i directly from oracle procedure

    Hi,
    Hi,
    Env: 6.0.8.25.2 (forms 6i/reports 6i)
    Database: Oracle 10g r2
    We are running a client server environment and not web based.
    I want to run the forms 6i or reports 6i directly from a database procedure/function and not by creating a procedure inside a form and then call a report.
    Looking for calling forms6i/reports 6i directly from sql*plus commands used inside the PLSQL database procedure/function. (Just like we create a stand alone package/procedure/function).
    I have developed many forms and reports and very comfortable in calling reports from forms 6i.
    My question was completely different but looks like i was not able to explain properly:
    I want to call the forms 6i or reports 6i directly from sqlplus* prompt and through stand alone oracle database procedure/function (procedure created directly in database but not as a program unit within form or report).
    There is a requirement to call the form through database scheduling by passing fixed parameters and then generate the report pdf and email automatically to various users.
    Also, is there any way to schedule a report automatically so that the report runs automatically in the scheduled time and send out reports to the users. I have developed a email program but looking for scheduling the report or forms 6i.
    Thanks,
    Srinivas

    Hi,
    There are couple of existing reports and forms developed in 6i and users are using them when required.
    For certain MIS reports, management wants them to be generated on daily/weekly basis and email to be sent to them as PDF files.
    Have a program which will convert to PDF and email to users but not able to trace on how to call the forms 6i or reports 6i and pass the report parameters so that the report is called directly through pl/sql so that i can schedule them.
    All the forms and report executables are located on server1 and database server is located in server2 and running on client/server architecture.
    Database version is 10g r2 and Forms/Reports version is 6i.
    Any code samples would be of great use.
    Srinivas

  • Little help for calling report from a form

    hi,
    I AM NOT ABLE TO CALL THE REPORT WITH THE FOLLOWING CODE. PLEASE TELL ME WHERE I AM DOING WRONG! THANKS A LOT!!
    It is Oracle 9i and Reports 6i.
    -> I have a form with only one BUTTON.
    -> I have a REPORT with only one USER PARAMETER 'P_1' which is a number.
    -> I have only one query INSIDE the report. It is "SELECT * FROM EMP WHERE EMPNO = :P_1'
    -> I added the report to form in the OBJECT NAVAVIGATOR of FORM and the NAME OF REPORT is 'REOPRT4'
    here is the code on the form:
    ================================
    When_button_pressed
    DECLARE
    vid report_object;
    vname varchar2(100);
    BEGIN
    vid := find_report_object('Report4');
    vname := run_report_object(vid);
    END;
    ==================================
    -> the FORM and REPORT are in "c:\helloworld" directory.
    -> the error I am getting is 'internal pl/sql error'
    -> I WANT THE USER TO ENTER THE RUNTIME PARAMETER FOR THE REPORT AT RUNTIME, so no need to worry about supplying the parameter through code!!!
    Thank You very much. I appreciate your kind help!!

    I think that you have to add some code, see page 15 in this:
    http://otn.oracle.com/products/forms/pdf/277282.pdf
    Helena

  • Issue calling report from a Form(11.1.2).

    Hi,
    I have an existing code in the form to call a report and it seems to be working in the current 10g version of production server and I am migrating forms 10g to 11gR2. My issue here is when, I want to call the report from Forms 11g ( i.e. in developer suite) it is taking the report server as a blank. My Oracle FMW (11.1.2) is installed on the Windows 2008 R2 server. I do not know, if I need to configure the report server locally after the installation of FMW. Please help me out, if someone has faced a similar issue before.
    DECLARE
              rep_Report                                                            report_object     := find_report_object('XYZ');
                   rep_server                                                        varchar2(100);
                   rep_jobidFull                                                            varchar2(100);
                   rep_jobidPartial                                                                            varchar2(100);     
    BEGIN
                   -- Get the report server name
                   tool_env.getvar('REPORTS_SERVER_NAME', rep_server); --UNIX
              IF rep_server IS NULL THEN -- WINDOWS
                   tool_env.getvar('HOSTNAME', rep_server);
              END IF;     
              message('rep_server'||' '||rep_server);
                   SET_REPORT_OBJECT_PROPERTY(rep_Report,REPORT_SERVER,rep_server);
                   rep_jobidFull := run_report_object(rep_Report, pl_id);
                   message('rep_jobidFull'||' '||rep_jobidFull);
                   rep_jobidPartial := substr(rep_jobidFull,length(rep_server)+2,length(rep_jobidFull));
                   message('rep_jobidPartial'||' '||rep_jobidPartial);
         web.show_document('/reports/rwservlet/getjobid'||rep_jobidPartial||'?server='||rep_server,'_blank');
    END;
    Errors:
    FRM-41211: Integration error: SSL failure running another product.
    REP-51000: The Reports Server name is not specified.
    Thnx,
    Sona.

    Hello,
    Usually in development installation report server gets installed by default unless you uncheck it.
    You can find the report server name by:
    a)looking into rwservlet.properties file
    or
    b)as entry in Start > All Programs > Oracle Classic instance - asinst_1 > Reports Services > Start Report Server rep_wls_reports_<hostname>_<InstanceName>
    or
    c)http://<yourhostname>:7001/reports/rwservlet/getserverinfo
    In order to run the report from froms you need:
    -to implement the solution i described in a previous update
    or
    -use a harcoded value in the form
    SET_REPORT_OBJECT_PROPERTY(rep_Report,REPORT_SERVER,'your_report_server name');
    Since you are in 11gR2 development mode you cannote use EM or OPMN to get the status of the report server as Roberto Suggested.
    For your reference also check:
    Oracle Forms and Reports 11g Release 2 (11.1.2) Development Installation FAQ (Doc ID 1373210.1)
    Regards,
    Alex
    If someone answer helped please mark it accordingly.

Maybe you are looking for

  • New Branch Office - High Security

    Hello we plan to have 5 branch offices each with around 40 users. All branches will be in different geographical locations. Best Security needs to be implemented in all branches. All services email, SAP, Portals are hosted in the HeadOffice Datacente

  • Installing itunes on new dell/ Vista, error that no audio cd can be found

    After installing intunes on my new dell laptop, got message that it "was not properly installed. If you wish to import or burn cd's, you need to reintall iTunes". I uninstalled and reinstalled it. Same error message. Diagnostics says "no audio CD fou

  • Using conditional breaks

    Hello all, I am currently working on a form that has a fixed layout, meaning everything is placed in a Positioned subform. I have to do this because at the bottom of the page there is a table that lists approvers of the form. The aprovers need to pro

  • Custom duty on iphones

    how much does a person have to custom when importing out iphone 3gs/iphone 4/ipad 2 from USA

  • Why not my laptop can't to pronounce the sound,but flash player can?

    why not my laptop can't to pronounce the sound,but flash player can? my app VLC can't make sound,but firefox by flash player can make sound ~~ sorry  my english not wil   *_*! #lsmod | grep "snd_.*"                                      [0] snd_hda_co