Background engine

Hello my friends,
I'm developing forms & reports on windows 98.
When i call reports (in forms menu), i all ways have background engine running. I can't
do anything unless i close it. It creates also
a file telling me when i run reports and when
it's ended. I don't know how to come over of
this anoying thing.
If you can help me, please,i'm waiting for your responses.
Many thanks.
dB.
null

Here's a proc that I have in Forms and does just that:
PROCEDURE run_rep (x_file in varchar2) IS
-- run report
cmdstr varchar2(200);
the_username varchar2(20);
the_password varchar2(20);
the_connect varchar2(20);
pl_id paramlist;
begin
--- this does it with bg. reports engine
Run_Product(REPORTS, replace(x_file, '.rep', '')| |'.rep',
SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);
the_username := Get_Application_Property(USERNAME);
the_password := Get_Application_Property(PASSWORD);
the_connect := Get_Application_Property(CONNECT_STRING);
cmdstr:='R30RUN32.EXE module='| |
replace(x_file, '.rep', '')| |'.rep userid='| |
the_username| |'/'| |the_password| |'@'| |the_connect| |' usesdi=yes';
host (cmdstr);
END;
This goes for Reports 3.0. If you have a different reports version, then you'd have to replace R30RUN32.EXE with what is suitable.
Regards,
BD.

Similar Messages

  • Report background engine show only one report at a time

    Hi
    My operating system is Xp
    Developer version is 6I
    database 10g
    i am runing report through form with run_product
    When i run one report its show in background engin Preview i don't want to close this report
    and i run 2nd report then its show waiting in preview i want to run 2 or more reports at a time
    Regards
    Shahzaib ismail

    Shahzaib,
    In Oracle 6i, you can open only 1 report at a time. As far as i know, there is no option to show more than 1 report.
    Regards,
    Manu.

  • Closing Reports Background Engine from VB

    I have a Visual Basic 6 application that runs Reports 6 reports with the ActiveX control Rwsxa60.ocx. When you close the application, the Reports background engine is still open. Is there a way to close the engine through VB? Thanks in advance for any suggestions.

    you can not close the RBE from reports as it would require a report to be executed ... i guess you get the problem.
    the only way to close the RBE is from forms.
    thanks,
    ph.

  • Closing Oracle Background Engine Window.

    Hello,
    I am working on Oracle Reports 6.0. When I run any report Oracle Background Engine Window opens & show which report is running. But after closing report still that window remains as it is. It there any way to close that window onces I complited report.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Vijay ([email protected]):
    Hello,
    I am working on Oracle Reports 6.0. When I run any report Oracle Background Engine Window opens & show which report is running. But after closing report still that window remains as it is. It there any way to close that window onces I complited report.
    <HR></BLOCKQUOTE>
    I guess it's designed so that it does not have to reload the Background Engine everytime you run the next report.
    Maybe in your case you do not run reports frequently, but in our office report runs are quite often so it's a feature that is quite welcomed.
    null

  • Report background engine

    hi
    i am using reports6i. every time i run a report, the report background engine appears in my task bar. By closing the report, it still persists in the task bar, and i have to close it manually.
    Is there any way that by closing the report, the report background engine shuts down automatically.
    tofa Mustafa Ghulam
    Lahore, Pakistan.

    You can try to add this parameter to the call of report
    "oracle_shutdown=yes"
    Sorry, but i am not sure of the name of the parameter and i cannot find the reference anywhere. If i find it i will post an update.

  • How to close "Reports Background Engine" automatically

    Dear Sir,
    I wanna close "Report Background Engine" automatically after closing the report.
    I tried to add the following parameter to close it in the caller form, but it didn't work:
    add_parameter(p1, 'oracle_shutdown', TEXT_PARAMETER, 'Yes') ;
    Waitting for Help!

    Hi,
    I think the problem might be with oracle_shutdown being in small case letters or you are using a version of forms6 or 6i that this line doesn't work due to a bug via Oracle in the engine ..
    Here is my line to shut down the report background engine.
    Add_Parameter(pl_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'Yes');
    Thanks
    Mary Santry

  • Close Reports Background Engine from reports

    Hi,
    I have a report that calls another report via SRW.run_report. Qhen the other report is called, Reports Background Engine opens and stays open, even after closing the called report.
    How to programmatically close Reports Background Engine when closing the report. I have read on the forum some procedure to close it from "Forms", but not from report.
    Thank you,
    J

    you can not close the RBE from reports as it would require a report to be executed ... i guess you get the problem.
    the only way to close the RBE is from forms.
    thanks,
    ph.

  • Report Background Engine Taking long time to open

    I am seeing this problem. When I run a report (in forms 6i), I get a "FRM-41211: Integration error: SSL failure running another product". The Report background engine doesn't come up right away... looking at the system process the RBE starts using almost 50% of the CPU and takes about 10 min to come up. If I run it on my local machine, just running the executable (c:\oracle6i\bin\RWRBE60.EXE) it comes up right away... on this users it doesn't. We think it may be something blocking it... anyon ehave any suggestions?
    Thanks,
    Scott

    Hello
    I recently had that same problem with FRM-41211 error. It turned out eventually that the culprit was newly installed HP Deskjet printer on that employees computer. When I removed the printer and uninstalled its driver reports started to work normally. Hope that helps.

  • Report background engine not generated

    Hi Friends,
    I have installed Developer 6i -Forms and Reports.
    When I try to run a report in an aplication after giving parameters in the paraform it gives an error illegal operation for rwbe60 it doesn't generate the background engine and so the report in not run.
    If i run the same report through report builder it runs but no report background engine is generated.
    Pls give a solution uf anyone can.
    Thanks in advance
    Manoj

    Hi,
    Add the following:
    add_parameter(pl_id, 'ORACLE_SHUTDOWN', TEXT_PARAMETER, 'Yes');
    Note, the 'Yes' is case sensitive. The 'y' must be upper case followed by lower case 'es'.
    run_product(REPORTS, '<repname>', SYNCHRONUS, RUNTIME, FILESYSTEM, pl_id);
    Best Regards,
    Arun Malhotra,
    Oracle Support Services

  • Report Background Engine Memory Increasing on Reports 6i

    Hi... we recently upgraded our ERP system from Developer 2000 to 6i. Some of our functions require many reports to print at once (labels, invoices, pick tickets, etc).. What we've noticed is that when we do this, the report background engine increases in memory significantly and does not release the memory when finished.... and can cripple the work station.
    We know we can issue the Oracle_shutdown parameter to close the RBE after each report, but are there any other options as we feel this may slow down our printing?
    Thanks,
    Scott

    If you use "dynamic" ref cursor, your package specification must have "dynamic" ref cursor type for (dynamic) query
    (from 9i we can use predefined SYS_REFCURSOR built-in data type) and "static" ref cursor type for Report Layout.
    SELECT statement in "dynamic" ref cursor must have the same number and type of columns as "static" ref cursor type.
    And, of course, your package must be stored (=database) package, because PL/SQL engine in Reports 6i is v.8.0
    but "dynamic" ref cursor is a new feature of PL/SQL v.8.1.
    See
    re:re:re:Can we create report based on stored procedure
    Regards,
    Zlatko

  • Report Background Engine  Crashes

    I have a problem with Report Background Engine. When I try running a report through forms, the Report Background Engine and the Forms Runtime hangs. And If I End Task the Forms Runtime, the forms runtime closes and the background engine shows the report properly. Now I am not able to run reports properly from the Forms.
    In my coding I use RUN_PRODUCT for calling the report from the forms. The O/s is Windows 98.
    Please provide me with a solution asap.

    Please apply latest 6i patchset and try. (Yours is very old. Latest is 6.0.8.0.24. So many bug fixes have gone in since your patchset)

  • How to display the output of report(9i) using Report Background Engine

    Hi,
    We are converting the forms and reports from 6i to 9i.
    we could run the report in the browser from form using WEB.SHOW_DOCUMENT built-in, but we are not able to display the report output from form using the Report Background Engine.Let us know if you have any solution for this.
    Regards,
    Pramila.

    Pramila,
    you have to use Reports Server called from RUN_REPORT_OBJECT(). Please see the Reports Integration whitepaper on otn.oracle.com/products/forms. You can either look it up in the Forms 10g collateral seciton or the Forms 9i collateral section.
    Frank

  • CAN NO LONGER SHUT DOWN REPORTS BACKGROUND ENGINE

    Hello all...
    We are in the process of upgrading our apps to Developer 6.0.
    Come to find out that the old method of shutting down the Reports
    Background Engine programmatically no longer works. (i.e.
    ORACLE_SHUTDOWN=Yes).
    Any info would be very much appreciated.
    Thanks
    null

    The mDNSResponser error has been reported as a problem with "Back To My Mac" and sometimes with Bonjour. There are probably other causes as well, but that's a place to start. You could make sure those services are disabled and check the logs to see if the errors go away.
    I suppose that activity like this could stall a shutdown also, but I usually see the shutdown problem with devices not behaving and allowing the system to do an orderly shutdown.
    Another test method that could point you directly to the OS or a 3rd party application would be to create another user on your machine and see if that user has the same issues.
    Just because something worked before doesn't mean that a recent update or other change hasn't caused a problem. Are you using a wireless connection or hardwired? If you are wireless then you could also stop or turn off the wireless connection before trying to shutdown to see if it could be part of the problem.
    The trick to begin troubleshooting a problem is to remove the variables, see if something changes, and then decide what to do about it or look for help with that particular system or sub-system.

  • How to close the report background engine programatically in developer 6.0?

    Friends,
    We have developed our application using Oracle Developer 6.0 as front end and Oracle 9iR2 as a back end.
    whenever the user is opening the application one session is creating after that if he runs any report the report background engine is started and that engine also creating one session. So, unnecessarily two sessions are opening for a single application.
    So, how can we close the report background engine programatically after the report displays all the records?
    Moreover, when the user close the application, the report background engine is still open. the user has to close the report background engine manually.
    so how can we solve this issue?
    Thanks
    Sathyguy

    i got this while searching but its not working.....
    Problem Description
    Starting reports using a RUN_PRODUCT on Windows platforms starts a
    Reports Background Engine (RBE). After leaving the forms application the
    background engine is still running and must be terminated by the user.
    Solution Description
    This is intendet behaviour.
    To close the Background Engine programmatically use the Reports Runtime parameter
    ORACLE_SHUTDOWN. E.g.
    Perform the following actions to stop the RBE when closing the Forms
    application:
    1) Create a dummy report which only does e.g. a SELECT * FROM DUAL
    This report has a DESTYPE=FILE and a DESNAME to e.g. C:\TEMP\DUMMY.OUT
    2) In the POST-FORMS trigger add the following code:
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id := Create_Parameter_List('dummy');
    Add_Parameter(pl_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'Yes');
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Run_product(REPORTS,'<<name dummy rapport>>',SYNCHRONOUS, RUNTIME,
    FILESYSTEM,pl_id,NULL);
    END;
    Explanation
    The Report Background Engine runs separately from the Forms application and
    there is no direct relation between these processes. The Forms should signal
    the RBE that is being closed.
    When the Form is closed the POST-FORM triggers sends a dummy report to
    the RBE. Since the ORACLE_SHUTDOWN=Yes parameter is used after running the
    report the RBE is terminated.
    A small side-effect of the solution is that a small file (5Kb) is created on
    the file-system contaning the output of the dummy report.

  • What is "Report Background engine"and How to use it ?

    Hi
    I see this window shows up when I run Report each time, what dose it do?
    "Report Background engine"

    The Reports Background Engine waits for any command lines to run reports. When it receives a command line,
    it places that report in its queue. Typically, the Reports Background Engine receives command lines from a form or
    graphic using the RUN_PRODUCT packaged procedure, or from a report using SRW.RUN_REPORT.
    On Windows, you can use RWISV60 to submit a report to the Reports Background Engine for execution.
    This is a more efficient method because it incurs less performance overhead than Reports Runtime. The command
    line arguments for RWISV60 are the same those for RWRUN60. RWRBE60 is only used to run reports locally.
    Thanks,
    Siva

  • How to use Workflow Background Engine in Oracle Apps?

    I have created the development of a custom workflow,tested it in Developer studio in Workflow administrator and has been working correctly. I was hoping to implement this workflow using Workflow background process Concurrent request and move to production.Unfortunately when submititng the concurrent request I am not receiving any notification eventhough all the time Concurrent request always completes normal.(Also when submitting as concurrent request workflow is not prompting for the itemkey). Is it not possible to implement a workflow in the application using background concurrent process? Any help is appreciated.

    Please note that Workflow Background engine is used to process workflows that are in deferred status. It is not used to launch the workflow. You will have to write your own code to launch the Workflow using one of the following methods.
    1. Use WF_ENGINE.CreateProcess and WF_ENGINE.LaunchProcess APIs.
    2. Register a Business Event, create a subscription to the event to launch the workflow and raise the Business Event from your code.
    Workflow Background Engine has parameters such as Itemtype, Min and Max Thresholds, Process Deferred, Process Timeout and Process Stuck... which basically determine the type of background work it has to do.
    Please refer to Workflow Developer Guide on how to launch Workflows and the uses of Workflow Background Engine.
    Thanks
    Vijay

Maybe you are looking for