Report preview hidden in background ... Calling from forms

Hi,
I have a problem with the reports background engine. I run a report from forms with run_product and parameters BACKGROUND=NO and DESTYPE=SCREEN (or PREVIEW).
The first time I run a report, I get it in background ! I mean I can't see it and I have to click on the taskbar to show the paramform. The other times, It works perfectly, I got my paramform in foreground.
I don't know how to deal with this problem, which is really bad for my customers ...
Thx 4 help !

can you tell me more about this, you might check if you are using different users when you call this report or if the user has all privileges to see all tables in this report

Similar Messages

  • Can report created with BIP be called from forms?

    Hello.
    We have many forms.
    And now we ned complex reports. With BIP we can create them.
    But is there a way to call them from forms, like reports created with Report builder?
    Can we transfer parameters from forms to BIP reports, so data can be queried on that form parameters?
    Thanks.

    Hi,
    yes, there are several ways you can do this.
    DejanH, we discussed at the BI Publisher Forum, here just for the others.
    The document you're looking for is here: http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v21.pdf
    or here
    http://www.oracle.com/global/de/community/forms/documents/Forms_BIP_v21.pdf
    Jan,
    it's a new version of the mentioned paper at the OTN-Forms-Side and the old one was removed.
    The document describes the way, how to integrate BI Publisher via Web Services into Forms. There are other ways available like
    - using HTTP calls via show_document
    - using the JavaAPI of BI Publisher and import the needed classes to Forms
    Regards
    Rainer

  • Reports layout/format problem when called from forms

    hi,
    using forms and reports builder 10g OS winxp
    i have created web and paper layout report with pre-defined template gray (rdf). when i run the web layout there is no problem.
    when i call this report from form using
    web.show_document('http://machine:8889/reports/rwservlet?report=mail_report.rdf&destype=cache&desformat=HTML&userid=abc/xyz@dbname&para1='||:parameter1, '_blank');
    the layout (cell bgcolors of the table) does not appear.
    pl guide what am i missing out.
    thanks

    Hi,
    that has nothing to do with forms. Your call inside web.show_document is a servlet-call. With this you get the paper layout of a report. If you want to get the web-layout, you have to call the report with a jsp-call. In your case that might look like http://machine:8889/reports/mail_report.jsp?userid=.....
    If you store your report as jsp-file, you can use it for paper & web-layout, as rdf only paper-layout is possible.
    http://download.oracle.com/docs/cd/B25016_08//doc/dl/bi/B14048_02/pbr_arch.htm#i1005927
    http://download.oracle.com/docs/cd/B25016_08//doc/dl/bi/B14048_02/pbr_run.htm#g1022421
    Regards
    Rainer

  • Report Called from FORMS having Printing Problem

    Hi all
    Guys i have a report problem in reports 6i.
    I am calling a report from my FORM 6i directly to printer (a dot matrix printer).
    I have set
    Add_Parameter(pl_id,'DesType',TEXT_PARAMETER,'printer');     
    The report is actually a confirmation report and i have given its layout height equal to 3.7 . But when i send it to printer it ejects the paper equal to 11 (equal to height of a portarait report).
    How can manage this ejection from Form or Report Side.
    NOTE : This problem occurs even if print the report from report preview(means not printed directlty from FORM).
    Kindly help me with this if any.
    I need it urgent.
    Thanx.

    Hello All
    The furthur detail to my previous problem is given as follows:
    I am getting problem
    with the Oracle reports. I have a dot matrix printer (Epson LQ-300, which is a
    tractor feed printer). While printing a report which is always not more than half a
    page, the printer does not stop after printing the report(the half page). It stops at
    the end of the page. I mean that half the page is printed and the rest half is blank.
    I want that the printer should print only at half a page. On the blank half it should
    print another copy of same report.
    Regards,
    Qaiser Qayyum Malik.

  • 4.5 to 6i migration or report calling from forms in XE???

    Hi Friends,
    I really appreciate your helping tendency. Let me explain the whole scenario.
    My application basically consists of
    Forms [32 Bit] Version 5.0.6.8.0 (Production)
    Report Builder 3.0.5.8.0
    Oracle Enterprise Edition Release 9.2.0.1.0 - Production
    Now we migrated our database into Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production. After the migration all the existing forms and report individually were running without any problem. But there was a huge problem. Whenever I tried to call any report from any form the report engine appeared and then stopped responding. So report calling from forms was not possible after the database migration. I was suggested by someone from OTN forum to migrate my forms and reports into 6i. I have started doing the migration using ifcmp60. WIth forms 6i, reports can be called from forms. But I am facing problem in every other steps. There are many things are not working after the migration though the migration log shows no error. For example, COMMIT_FORM, EXECUTE_QUERY (for detail table), LOV, TOOL.GETVAR lots of things are not working.
    My application has 200 forms and 250 reports.
    Please help and advise on:
    How to call reports from form when the database is XE Or
    How to overcome the stated migration problem
    Rgds,
    Luther

    Dear Mark:
    I have two choices. I can either migrate to 6i or I can go with the existing 4.5. If I go with 4.5 ......the reports are not being called from forms. This problem is happening after I changed the database from 9i to XE. Please advise what to do so that I can keep my forms in 4.5, database in XE and can call reports from forms.
    Rgds,
    Luther

  • Reports are not called from form in browser plz help

    Hi,
    I have installed 9iAS+8.1.7 database on the same machine with NT4 server.My system's forms(.fmx) are running well but my reports are not running from my main form.i call reports from the
    from as,
    Run_Product(reports,'..\iReports\xglrxx12.rep',synchronous,RUNTIME,FILESYSTEM,pl_id,null);
    Actually want to know the report's setting when calling from the from in a browser(environment variables,virtual paths etc.).
    My database is installed in drive E:\8idb_home\ and 9iAS is on
    G:\9iAS_home\.My systems .fmx & .rep files are in "iforms" and "ireports" folder respectively.
    Plz help!
    Many thanks!

    Hi,
    First of all thanks to Vincent Botteman for solving the prob.
    Yes when i changed my call of run_product by excluding the path i have specified when calling from form it then makes a result.
    Also specified the entry of your reports .rep files by giving path in reports60_path registery variable as,
    Run regedit-->Hkey_Local_Machine-->Software-->Oracle here give the full path of your .rep files as an first entry in reports60_path variable.And finally not mention the path when calling reports from form as,
    Run_Product(reports,'xglrxx13.rep',synchronous,RUNTIME,FILESYSTEM,pl_id,null);<--- Correct way.
    Run_Product(reports,'..\iReports\xglrxx13.rep',synchronous,RUNTIME,FILESYSTEM,pl_id,null);<--- Wrong way.
    Regards!

  • Reports 10g calling from forms 10g

    try reports 10g calling from forms 10g ,but I not do.
    Programme have frm-41213 unable repserver.. error and I am not start up oracle reports server from services. please help me.

    Dear Lida;
    i use this code
    rwserver -install repsername
    but in release 3 it is not work and i had to write it like this
    rwserver server=repservname
    the first code make the report server work as service could u tell me how the first code work with realease 2 but in realeas 3 not working ?
    and thkx alot in advance
    regards
    Reda El Mitwally

  • Graph developed in 6i to be called from forms 9i on web?

    Hi Every one
    Can you please send me a sample form calling the Graph developed in 6i to be called from forms 9i on web? Any help will be appreciated
    waiting for prompt reply.
    Thanking you,
    Binish

    Hi Every one
    Can you please send me a sample form calling the Graph developed in 6i to be called from forms 9i on web? Any help will be appreciated
    waiting for prompt reply.
    Thanking you,
    Binish

  • App Server 10g2 - PDF Reports called from Forms go to a background window

    Hi all
    We have Application Server 10g2 in use, mainly for legacy forms and reports. We also have the Secure Java Web.Show_Document bean (frmrwinteg.jar) installed. Since the application of the October 2008 CPU when a form calls a PDF report, it will pop in the background and leave the Internet Explorer window with the form at the front. We have not changed any configuration settings which could affect this.
    Is there a way to go back to the old behaviour, that of having the report appear in the foreground instead of behind internet explorer? We'd appreciate any tips on this. Thanks.

    Well I am not sure if this is the original question. Here is what SebastienL mentioned originally:
    Is there a way to go back to the old behaviour, that of having the report appear in the foreground instead of behind internet explorer?He also mentioned this:
    Before, the PDF window would open in front of IE, like any new window should. Now it opens in the background and IE stays in front.And it seems to be happening not just for him but for all users (on multiple client machines) as he mentioned this:
    This occured overnight after a CPU patch to everyone who uses the system.If I am interpreting it correctly (and I don't claim to be correct in my interpretation), the issue is not about having to open PDF in the same IE window as the Forms. I am guessing SebastienL is looking to have PDF document appear in foreground (on top of Forms IE window) vs. it showing up in background (behind the Forms IE window).
    Did I get it right SebastienL?
    It does sound very much client configuration issue but I doubt (if my above assumptions are correct). Let me dig around and see if I can find something.
    Thanks
    Shail

  • Report does not show the main section while calling from forms 6i

    Hi
    I am running report from report from forms 6i but is does not show the data in main section, where as the data in the header section is ok.
    But when i run the same report independantly from report builder it show the both header and main section with relevent data.
    pl solve the matter
    thanks in advance

    can you tell me more about this, you might check if you are using different users when you call this report or if the user has all privileges to see all tables in this report

  • How to display the output of a reports called from forms in the same window

    Hi all.
    I have installed Forms / Reports 11g Rel2 developer only installation on my windows 7 box.
    I can successfully call a reports from forms using RUN_REPORT_OBJECT and WEB_SHOW.document, but the report is opened in a new window.
    I'd like to open it in the same widow, in a new tab, similar to ctrl-t and make a call.
    How is that possible?.
    I'm using Chrome 25.0. Could this be done through browser settings?.
    Thanks in advance ...!
    Edited by: myluism on 14-mar-2013 6:09

    Don't know for Chrome, so Google for it.
    One more thing, though. what is the 2nd parameter in web.show_document? Is it '_blank'? If not, try that.

  • 11g reports calling from forms issue

    Hi,
    I am have installed the Oracle fusionware 11.1.4 version in windows XP ser2.
    I have configured the forms,reports server components and developer components.
    Forms are working fine. However i am getting the error while calling reports from the Forms.
    I am trying to convert the 6i forms and reports.
    The report calling code run_product is not worked, so i am changed the code to web.show_document.
    While running the form to call the report am getting the following error.
    REP-51019: System user authentication is missing.
    REP-50171: Authentication failed.
    Code is written in the form as shown below....
    v_show_document :='http://localhost:9002/reports/rwservlet?report='||:parameter.p_report_id||'.rep'||'&desformat=PDF&
    destype=cache&userid=SALIS/SALIS@SALIS&buffer_records=NO&debug_messages=NO&array=YES &query_only=NO&quiet=NO&RENDER=YES'||'&p_fromdate='||:CB_DUMMY.FROM_DATE||'&p_todate='||:cb_dummy.TO_DATE||'&lv_where='||lv_where||'&REPORT_ID='||:parameter.p_report_id||'&PARAMFORM=NO';
    web.show_document(v_show_document,'_blank');

    Check if you have SSO enabled:
    http://download.oracle.com/docs/cd/B14099_11/bi.1012/b14048/pbr_sso.htm#i1008966
    (this is the link for 10g but it may be the same for 11g. Look for the 11g link if this doesn't work for you).
    The report calling code run_product is not workedThat only works for Forms 6i. You should use run_report_object.

  • Is it possible to call diff  report queries when called from form

    hello all
    I want to know if it is possible to call different report queries when called from oracle 9i form .
    i tried to use he
    SET_REPORT_OBJECT_PROPERTY(REPORT_QUERY = 'q_diff' )
    option and actualy called the report name
    but it dint seem to work !!!
    also is it possible to chng the title of the browser at runtime

    Sandeep,
    this property is used with passing Record Groups as data parameters from Forms.
    Passing the query name indicates that the values contained in the record group substitutes the result of the named query. This may work in client/server Reports, but it definitively doesn't work on teh Web because you can't pass a Record Group as a data parameter in this environment.
    Te problem with changing a Reports query is that you must meet the same number of columns and column types as they exist in the Report. I didn't spend much time with XML based runtime customization in Reports. I think that you can change the Reports query through this feature. In Forms you would create the XML file using text_io and the merge it with an existing Reports. I never did this before. So it could be that all I am saying does not work in the end. Before following this idea, you may better ask in teh Reports forum on OTN if it is possible to use the runtime customization feature to modify the Reports query.
    Fran

  • Connection Dialog Box Pops Up When a Report is Called From Forms

    Hi ,
    Some times when calling a report from forms using RUN_PRODUCT, a connection dialog box is popped up. We are using forms6i (Version 6.0.8.8.0) client-server.This behavior occurred on a specific pc while many other pc work fine.
    I found a relevant document in metalink (docid:156232.1 https://metalink.oracle.com/metalink/plsql/f?p=130:14:4126992859688402901::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,156232.1,1,1,1,helvetica ) saying that the database user must have the ALTER_SESSION privilege.In out case user has that privilege through CONNECT role.
    Any suggestions??
    Thanks in advance

    You can try these steps in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Report call from forms and 1017

    Hi,
    we have a web application and and it's first screen is the login screen where user can change their password or when grace time comes we force the user to change their password etc. Password changes successfully, no issue and user goes inside the application. But here is the problem. When user clicks the report after chagning the password then report doesn't work, can't connect to database and audit trail shows 1017 so obviously when they click 3 times their account gets locked because in profile it's set to 3 failed attempts. When user close the application and re login again and then click the report, it works fine. I'm suspecting the new changed password doesn't pass to the report? i would really appreciate for your help, suggestions, advise. how do i make sure that the new changed password should be passed to the report?. We're running against 11g database and sec_case_sensitive_logon is set to false.
    Thanks
    RM

    Thank you for replying.
    Forms and Report Version:
    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Report Builder 10.1.2.3.0
    ORACLE Server Release 10.1.0.5.0
    We have a common procedure in the forms Obj Libarary which is called from WHEN-BUTTON-PRESSED trigger.
    Here is the common procedure:
    PROCEDURE EP_RUN_REPORT
                             (     as_in_rep_name      IN     VARCHAR2,
                                  as_in_plist               IN     PARAMLIST,
                                  ab_in_printer          IN     VARCHAR2     DEFAULT NULL
    IS
         ls_rep_id           REPORT_OBJECT;
         ls_job_id               VARCHAR2(300);
         ls_status           VARCHAR2(20);
         ls_url                    VARCHAR2(120);
         ls_rep_server     VARCHAR2(100);
    BEGIN
         TOOL_ENV.GETVAR( 'REP_SERVER' ,ls_rep_server );
         IF ls_rep_server IS NULL THEN
           pkg_alert.ep_alert('E','ERROR GETTING ENVIRONMENT VARIABLE');
           RAISE FORM_TRIGGER_FAILURE;
         END IF;
         ls_rep_id := FIND_REPORT_OBJECT (as_in_rep_name);
         IF ab_in_printer     IS NULL THEN
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESTYPE, CACHE );
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESFORMAT, 'PDF');     
         ELSE
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESTYPE, PRINTER );
              SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_DESNAME, ab_in_printer);
         END IF;
         SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_SERVER,  ls_rep_server );      
         SET_REPORT_OBJECT_PROPERTY(ls_rep_id, REPORT_OTHER, 'PARAMFORM=NO');
         ls_job_id := RUN_REPORT_OBJECT (ls_rep_id, as_in_plist);     
         ls_status := REPORT_OBJECT_STATUS(ls_job_id);
         WHILE ls_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
              ls_status := REPORT_OBJECT_STATUS     (ls_job_id);
         END LOOP;
         IF ls_status = 'FINISHED' THEN
              IF ab_in_printer     IS NULL THEN
                   TOOL_ENV.GETVAR('URL',ls_url);
                   IF ls_url IS NULL THEN
                     pkg_alert.ep_alert('E','ERROR GETTING ENVIRONMENT VARIABLE');
                     RAISE FORM_TRIGGER_FAILURE;
                   END IF;
                   WEB.SHOW_DOCUMENT(     ls_url ||
                                                                     'reports/rwservlet/getjobid'||
                                                                     SUBSTR(ls_job_id, INSTR(ls_job_id,'_',-1)+1)||
                                                                     '?'||'server='||ls_rep_server,
                                                                     '_blank');
                   ELSE
                        NULL;
                   END IF;
         ELSE     
           pkg_alert.ep_alert('E','ERROR WHILE GENERATING REPORT');
           RAISE FORM_TRIGGER_FAILURE;
         END IF;
    END;Is there any other option beside giving the message?
    thanks again.
    RM

Maybe you are looking for