RUN_PRODUCT help

Hi,
We currently use the RUN_PRODUCT(FORMS ... to start up a second MDI window. All is well with this code on versions of forms up to 9i. Using forms 11 this command has become obsolete can anybody please advise me of a workaround as I can not think of one to dynamically start a second oracle instance.

It is not for web forms unfortunately and using the call_form built in will only open the form within the current MDI window.
I have found a solution by using the Win_API_Shell.WinExec package from the D2KUTIL library.

Similar Messages

  • URGENT HELP: RUN_PRODUCT(Reports) on Web

    Hi,
    I have installed oracle 8.0.5, OAS 4.0.7 and Developer
    Server 6.0 (Forms, Reports & Graphics Cartridge).
    Our forms,reports & graphics cartridges
    works fine indivisualy but we are not able to run reports
    from web form with run_products it works fine under windows.
    1. Is anyone has tried reports on web from forms
    2. how to use reports cartridge from from other
    than using show_document package can be included
    in parameter as server=reportserver in run_products
    statement.
    3. Is there any registry/system variables required for
    this
    If anyone know about this, please let me know by e-mail
    or posting reply to this thread
    Thanks in advance
    Darshan Desai
    Tecnimont ICB Limited,
    Mumbai, India.
    [email protected]
    [email protected]
    null

    Hi Darshan,
    you must set the followings registry variables:
    FORMS60_MAPPING (virtual directory, must exist as a virtual
    directory in your web-server configuration)
    FORMS60_OUTPUT (physical directory of the virtual directory)
    FORMS60_REPFORMAT (html, pdf)
    Hope this help
    Darshan Desai (guest) wrote:
    : Hi,
    : I have installed oracle 8.0.5, OAS 4.0.7 and Developer
    : Server 6.0 (Forms, Reports & Graphics Cartridge).
    : Our forms,reports & graphics cartridges
    : works fine indivisualy but we are not able to run reports
    : from web form with run_products it works fine under windows.
    : 1. Is anyone has tried reports on web from forms
    : 2. how to use reports cartridge from from other
    : than using show_document package can be included
    : in parameter as server=reportserver in run_products
    : statement.
    : 3. Is there any registry/system variables required for
    : this
    : If anyone know about this, please let me know by e-mail
    : or posting reply to this thread
    : Thanks in advance
    : Darshan Desai
    : Tecnimont ICB Limited,
    : Mumbai, India.
    : [email protected]
    : [email protected]
    null

  • Help me in using RUN_PRODUCT to call a report from form

    Hi GURUs
    I am trying to call a report from a form.
    I enter hiredate as input parameter in the form and click the 'run report' button.
    The hiredate value will be sent to report via pl_id, TEXT_PARAMETER,:CTL.TXT_DT as shown below in when button pressed trigger
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'HRDATE',TEXT_PARAMETER,:CTL.TXT_DT);
    Run_Product(REPORTS, 'C:\empreport.RDF', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END;
    Coming to report side its a simple query select * from emp where trunc(hiredate) > trunc(:hrdate);
    I created 'hrdate' user parameter in the report
    The problem is when I run the form it calls report and shows the report parameter form with the carried value. now I have to run report again.
    How do I supress this paramenter form because when I am sending value from form I dont have to see the parameter form at the report.
    I dont know how to use paramform = no with RUN_PRODUCT
    Please tell me what to do it....
    Thanks

    Looking at the Forms documentation it specifies, "To run a report from within a form, you must use the dedicated report integration built-in RUN_REPORT_OBJECT." The RUN_PRODUCT built-in is used to run the Graphics product. I suggest you give RUN_REPORT_OBJECT a try. This is how we call a report from a form.
    Hope this helps.
    Craig...

  • RUN_PRODUCT is not working

    hI,
    I am working in developer 6i forms and reports. I am trying to call a report from a for using RUN_PRODUCT built in. But it’s generating the following
    Error: FRM-41211: Integration error: SSL failure running another product.
    I think the procedure used for running the report is ok because it’s working in another machine.
    Please help me, how can I solve this problem.
    Best Regards,

    Re-Install the reports again,,
    this is a common Windows Problem

  • Print report on network/local printer(plz help)

    Plz Forms gurus, help me to solve this problem it's very very importante for me
    We have at a lot application witch work in client/server mode using forms/Reports 6i.With these applications we haven't problem to print report on printer using RUN_PRODUCT.Now we want to migrate on Forms/Reports 9i.When we use Run_Report_Object to print report on network print, we are encountring problems, the following errors occurs:
    REP-713: Printer name '\DT_C2_0_8102\LaserJet1100' is wrong in the parameter DESNAME.
    LaserJet1100 is a network printer install on the machine witch have DT_C2_0_8102 in the network.
    I would like to know, if there an other way for naming printer? Secondly, i would like to if i add a network printer on my machin and define it as my default printer. Am i obliged to define the parameter DESNAME in the call off RUN_REPORT_OBJECT. If someone have a sample code about how to print on printer, it'll be helpfull.
    Plz forms gurus help me to solve my problem.
    Thanks in advance.
    TYAG

    Duplicate?
    Print report on network/local printer

  • Run_report_object error in 6i, help!

    hi,
    original code used to run the report:
    Run_Product(REPORTS, report_name, SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    changed to:      
    repid := find_report_object('report_name');
    set_report_object_property(repid,report_comm_mode,SYNCHRONOUS);
    set_report_object_property(repid,report_execution_mode,RUNTIME);
         set_report_object_property(repid,report_desname,'NULL');
         set_report_object_property(repid,report_desformat,'HTML');
         set_report_object_property(repid,report_destype,'SCREEN');
    v_rep := RUN_REPORT_OBJECT(repid,pl_id);
    When I run the report, I get this message "Cannot find report: Invalid ID", followed by another message "argument 1 to built-in Run_report_object can not be null". Can anyone help me??

    The Report Object you create in Forms Builder has no link yet to the actual rep file. In the Report Object properties you can set the filename, which is the name of the actual rep file you are going to run.
    However, you can leave this property blank and specify it in your trigger. This way you can use the Report Object to run more than one rep file. In the next example I have created a Report Object test, and in the trigger I specify that I want to run rep file test1 (assuming it's in the reports60_path):
    declare
      repid  report_object;
      v_rep  varchar2(100);
    begin
      repid := find_report_object('test');
      set_report_object_property(repid,report_filename,'test1');
      set_report_object_property(repid,report_other,'dept_id=10');
      v_rep := RUN_REPORT_OBJECT(repid);
    end;

  • Print report directly to printer using RUN_PRODUCT in Forms6i

    Hi all,
    I would like to have information regarding print any .rdf directly to printer from form 6i using RUN_PRODUCT.
    I got help from Form Builder Help option and tried following coding in form
         DECLARE
         PL_ID                    PARAMLIST;
         printername          VARCHAR2(50);
         BEGIN
         PL_ID := GET_PARAMETER_LIST('WEIGHMENT');
              IF NOT ID_NULL(PL_ID) THEN
                   DESTROY_PARAMETER_LIST(PL_ID);
              END IF;
              PL_ID := CREATE_PARAMETER_LIST('WEIGHMENT');
              printername := '"'||'I.T Printer'||'"';
              Add_Parameter(pl_id, 'DESTYPE', TEXT_PARAMETER, PRINTER);
              Add_Parameter(pl_id, 'DESNAME', TEXT_PARAMETER, printername);
              Add_Parameter(pl_id, 'P_EQ_NBR', TEXT_PARAMETER, :weighment.eq_nbr);
              Add_Parameter(pl_id, 'P_WT_GKEY', TEXT_PARAMETER, :weighment.gkey);
              Run_Product(REPORTS, 'c:\wegt001r', ASYNCHRONOUS, RUNTIME, FILESYSTEM, PL_ID, NULL);
         EXCEPTION
              WHEN OTHERS THEN
              MESSAGE(SQLERRM);
         END;
    END IF;
    But report did not printed and following message received in Reports Background Engine
    Error submitting report [Thu May 07 18:49:23 2009] ...
    REP-0159: Syntax error on command line.
    Pls help.
    Thanks,
    Hassan

    Hi Heidi
    I have already tried printername := 'I.T Printer'; but result is same.
    This is also my default printer and I tried to add / remove the following coding
    Add_Parameter(pl_id, 'DESNAME', TEXT_PARAMETER, PRINTER);
    but in both cased I received the same error.
    I also tried to print thru HOST command as follows
    the_username := Get_Application_Property(USERNAME);
         the_password := Get_Application_Property(PASSWORD);
         the_connect := Get_Application_Property(CONNECT_STRING);
    the_command := 'rwrun60 report=c:\wegt001r.rdf userid= '||the_username||'/'||the_password||'@'||the_connect||' DESTYPE=Printer BACKGROUND=NO BATCH=YES ERRFILE=c:\reports\error.log LOGFILE=c:\reports\joblog.log p_eq_nbr='''||'TESTMKI'''||' p_wt_gkey=118306';
    Host( the_command );
    Host command displays correctly but no printing.
    I then change my command as follows
    the_command := 'rwrun60 report=c:\wegt001r.rdf userid=test/test@test DESTYPE=Printer BACKGROUND=NO BATCH=YES ERRFILE=c:\reports\error.log LOGFILE=c:\reports\joblog.log p_eq_nbr='''||'TESTMKI'''||' p_wt_gkey=118306'; and now report prints on printer.
    But I cannot hard coded the username, password and connect.
    Thanks,
    Hassan
    Edited by: Hassan Raza Khan Lodhi on May 7, 2009 6:55 PM

  • RUN_REPORT_OBJECT -Please Help

    Hi,
    I have been in touch with Oracle Reports Team on Reports forum for last 10 days.Finally they have referred me here as they say my problem will be better addressed here. So here I am.
    Problem background first.
    We are telecom software company and in process of upgrading our Oracle Based product to Oracle 9iAS.
    We are trying to integrate reports9i with forms9i by replacing run_product with run_report_object.
    Platforms: Server-Solaris with Oracle9iAS rel 2 serving as middle tier,Windows 2000 as client with Oracle 9iDS Release 2 installed.
    Problem Description
    I have a report server named 'repserver2' running on the server.
    I run form from Windows 2000 using local f90servlet and it connects to report server on Solaris through run_report_object and the report runs successfully.
    When I run the same form (compiled on server ofcourse) on Solaris using server's f90servlet through client browser on windows 2000 and try connecting the same report server on Solaris ...it gives a blank screen.
    Things Done already
    Forms and reports are already running in non-secure mode.I had made changes to rwserlet.properties for parameter SINGLESIGNON=FALSE.and repserver2.conf where security_Id=rWSec was removed.These changes were done long before according to Integration document frm9isrw9i.pdf
    2.I was able to run rwclient/rwservlet on server.Though rwclient command does not show the report output.But I can still see the report successfully run in the report server's queue.
    3.Report server's trace and logs do not show any entry.
    4.The application log from file <ORACLE_HOME>/j2ee/OC4J_BI_Forms/application-deployments/forms90app/OC4J_BI_Forms_default_island_1/application.log, when I try to invoke report from form on the server shows this :
    8/26/03 4:06 PM forms90web: Forms session <2> aborted: unable to communicate with runtime process.
    8/26/03 4:06 PM forms90web: Forms session <2> exception stack trace:
    java.io.IOException: FRM-93000: Unexpected internal error.
    Details : No HTTP headers received from runform
    at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.
    doFilter(ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispat
    cher.invoke(ServletRequestDispatcher.java:523)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispat
    cher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.p
    rocessRequest(HttpRequestHandler.java:735)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.ru
    n(AJPRequestHandler.java:151)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(Thread
    Kindly help as this is very urgent as we are expecting business on this platform soon.
    Thanx in advance.
    Please Refer My messages posted on Reports forum for more case history (if required).

    Ankush,
    I am from Oracle. However, this forum is not a replacement for customer support which means that we can help as good as we can. If for some reason the problem needs more attention then this is what customer support is for. Taking it from the description of your problem, I think that the best way to track down the issue is to work with a test case of your Forms and Reports module (especially because it works on one platform but doesn't on another).
    Frank

  • Plz help in calling of reports from Form in browser

    Hi!
    I am using 9iAS(1.0.2.2.1) + 8.1.7 database on the same machine with Win NT4.When i invoke report from my system's main form(oracle form6i) using parameter list as Run_Product(reports,'..\iReports\glrxx13.rep',synchronous,RUNTIME,FILESYSTEM,pl_id,null); against a when-button-pressed trigger error raised
    "Error:0110 Unable to open the report '..\iReports\glrxx13.rep"
    "Error:...Error while opening or saving a ducument '..\iReports\glrxx13.rep".
    My Reports are in folder "iReports" which i put in the 9iAS's report60 folder & also in the report60 folder too. I dont know more about virtual dirves mapping & environment variables setting i.e what & where these should be put.
    Kindly help!
    Many thanks

    hello,
    their are only two ways of passing the report-name: only the name or the complete path (where path is the PHYSICAL path of the file).
    the easiest way is, if you add all directories where you have RDFs in that you want to run, to the REPORTS60_PATH of your server environment. then you can simply use REPx.RDF and it will be run as long as it is somewhere along the reports path.
    regards,
    the oracle reports team

  • Calling Reports from Form on Web... Kindly help

    Gurus!
    I am using 9iAS(1.0.2.2.1) with 8.1.7 database on the same
    machine with Win NT4.When i invoke report from the main from's
    link using parameter list as
    Run_Product
    (reports,'..\iReports\glrxx13.rep',synchronous,RUNTIME,FILESYSTEM
    ,pl_id,null);
    My Reports are in folder "iReports" which i put in the 9iAS's
    report60 folder & also in the report60 folder but when called the
    error raised:
    "Error:0110 Unable to open the report '..\iReports\glrxx13.rep"
    "Error:...Error while opening or saving a
    ducument '..\iReports\glrxx13.rep".
    I dont know more about virtual dirves & environment variables
    setting i.e what & where these should be put.
    Kindly help!
    Many Many thanks!

    hi,
    check out this link,
    http://www.oracle.com/technology/products/forms/pdf/10g/frmwebshowdoc_rep.pdf
    best luck,
    Regard's,
    Percy

  • Plz help in calling reports from Form in browser

    Hi!
    I am using 9iAS(1.0.2.2.1) + 8.1.7 database on the same machine with Win NT4.When i invoke report from my system's main form(oracle form6i) using parameter list as Run_Product(reports,'..\iReports\glrxx13.rep',synchronous,RUNTIME,FILESYSTEM,pl_id,null); against a when-button-pressed trigger error raised
    "Error:0110 Unable to open the report '..\iReports\glrxx13.rep"
    "Error:...Error while opening or saving a ducument '..\iReports\glrxx13.rep".
    My Reports are in folder "iReports" which i put in the 9iAS's report60 folder & also in the report60 folder too. I dont know more about virtual dirves mapping & environment variables setting i.e what & where these should be put.
    Kindly help!
    Many thanks

    Hi
    It is probable that you should configure the route of your reports the the file 6iserver located in
    <ORACLE HOME>\806\CONF.
    Example: 6iServer
    SetEnvIf Request_URI "rwcgi60" ORACLE_HOME=D:\ORACLE\806
    SetEnvIf Request_URI "rwcgi60" RW60=E:\reports\

  • Help on FRM-41211 Integration error: SSL failure running another product.

    Am getting the above error, whenever I run my interface form calling a Report module.
    What's baffling though is - this only happens during the initial call to the RUN_PRODUCT built-in. That is, after acknowledging the Form error, the Reports Background Engine is displayed, then everything would seem to be work after that.
    Could this be a bug or is there a run-around to this?
    Thanks a lot for your ideas and help.

    We were getting this error on windows98 machines if someone had opened wordpad or some other unrelated application before running a report after they booted the machine. We solved the problem by forcing the reports backgroup engine to run at startup to prevent this error.
    HOST (
    'start /m RWRBE60.exe ',
    no_screen); -- START BACKGROUND ENGINE TO PREVENT SSL INTEGRATION ERROR

  • Forms Migration to 11g, RUN_PRODUCT must be declared

    Hi All,
    I'm performing forms migration from 10g to 11g,
    I used Forms Migration Assistant to Migrate forms, But if a form is calling reports then those forms are
    not getting compiled and giving the error RUN_PRODUCT must be declared. I know that RUN_PRODUCT
    is not supported in 11g, but is there any way to configure Forms Migration Assistant so that it replaces this
    code with appropriate code. Forms Migration Assistant program asks for Report server name, Servlet Virtual Directory information for the forms that are calling reports. I don't know what to specify in virtual directory field
    and report servlet field.
    Please help me with this.
    Thanks

    You are replying to an old thread, but it looks like you didn't read it properly. It is stated that
    when migrating from 6i to 10g we have used the wizard to replace RUN_PRODUCT with rp2rro.rp2rro_run_product (rp2rro.pll).So, you also need to use rp2rro.pll if you still want to make use of RUN_PRODUCT. Even in 10g RUN_PRODUCT by itself won't work. As Christian already said:
    you probably could simply remove the call to run_product as in 10g the built-in was available but simply didn't do anything. Did you try that yet?

  • 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 on web in PDF format (Please Help)

    Hi
    I am testing my dev2000 applications on web. I am using Patch5. I have problem while running reports. When ever I am trying to run a report from forms using "RUN_PRODUCT", report is running on server m/c not on client m/c. I need this report to be opened in clients pc in acrobat. On server m/c (Win2000 Server) registry I have set forms60_repformat=PDF. Please help to solve this peoblem.
    Thanks in Advance
    Syed

    read the paper on forms and reports integration on the web from
    http://otn.oracle.com/products/forms/techlisting.html#internet

Maybe you are looking for

  • ALV Sub total texts. displayed in list not in grid.

    Hi, I am displaying data using alv and sub-totals on a particular column. i am getting the sub-totals but i am not getting the sub-total texts when i am displaying data in a grid. 'REUSE_ALV_GRID_DISPLAY'. i am getting subtotals and subtotal texts wh

  • Comments in cells not good in Numbers 3.0

    I have spreadsheets. Obviously with figures in different cells. Prior to this upgrade, I have several cells that have comments entered into them. Specifically the cell would contain a total dollar figure. The comment would contain the invoices that m

  • How can I use photoshop elements with photos

    Title says it all.  I would like to use Photoshop Elements to edit my photos--how do I open them in PSE? 

  • Troubles testing first Web Dynpro ABAP in IE6

    Hi people. I'm having some troubles testing standar web dynpro in IE, service wait service stay idle, like in this [screen cap|http://personales.ciudad.com.ar/kakon/ie.JPG]... But... when i try to see same service in firefox, works fine like in this

  • Wrt54g lost setup

    Today my PC lost the setup for my WRT54G router. It just disappeared. When I open the advisor it wants me to set up the router as if it never was set up. Somehow I am still able to connect wireless and so does my laptop. Any body know what could have