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

Similar Messages

  • 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 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

  • Htmlcss Problem in calling Report using Forms 6i

    Hi
    My form6i server is on win2000 server.
    I am calling Reports(Report6i) using forms 6i, my problem is when html report get generated in a IE browser, cell border AND background color are not coming, i tried desformat property set as htmlcss even tho i not get proper output. i only get report without borders.
    Q1 ) My quetion is how i can get web html report with cell background and cell border using Report6i calling from forms 6i.
    Q2 ) MY forms 6i service always get hagged after 2..3 hr, when restart it, i get my form in a browser. but again after some time my service get in some invalid state, how i can solve this problem.
    thanks
    sudarshan s vatturkar

    Sudarshan,
    Q1 ) My quetion is how i can get web html report with cell background and cell border using Report6i calling from forms 6i.
    Reports6i does not support cell background colors in html format. Htmlcss in Reports does render table borders, but it does so in the color that is assigned to teh table in teh building environment
    Q2 ) MY forms 6i service always get hagged after 2..3 hr, when restart it, i get my form in a browser. but again after some time my service get in some invalid state, how i can solve this problem.
    This is hard to answer via the forum as it may have platform dependencies. If this is a serious issue then I recommend consulting Oracle customer support.

  • Calling Crystal Reports XI from Forms 10g

    Any one succeed in calling Crystal Reports XI from Forms 10g,
    or using Import Java Class in Forms 10g
    to call Crystal Reports XI
    or any other method to invoke crystal Reports XI from FORMS
    share your Knowledge to OTN
    please provide me the steps,documents to [email protected]
    Message was edited by:
    user501763

    Hi,
    Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
    -Arun

  • Accessing clustered report servers from Forms

    Hi
    The "Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services 11g R2 (11.1.2)" manual in Section 2.5 talks about setting up a High Availability environment for Reports.
    It discusses how to set the cluster configuration and how to create a reports job repository in the database. It says that you need to have a unique name for each report server, finally it says that you should use Oracle Web Cache to load balance for the reports cluster.
    If you are calling the report server from Forms with a run_report_object then you don't go via the web cache, so I am confused how you send your report request to the reports cluster in a load balanced fashion.
    Has anyone done this or can explain how this works for Forms?
    TIA
    Tony

    I know that this is an old thread, but I've taken the liberty to bump it up, as I have the same question.
    The Reports documentation describes quite succinctly how to configure the report servers to be clustered - no problem there.
    The issue is that when you run a report from forms using run_report_object, you are required to specify a report server name. The Reports docs specify that all of the server names must be unique, so this seems to indicate that you cannot use a clustered report server environment from Forms, or am I missing something somewhere? Oh, wait - an insight coming here - Can you (I'll test this, but it would be good to know) specify a cluster name instead of an actual report server name? Google to the rescue:
    Using RUN_REPORT_OBJECT: If the call specifies a Reports Server cluster name instead of a Reports Server name, the reports_servermap environment variable must be set in the Oracle Forms Services default.env file. If your Oracle Forms application uses multiple Reports Server cluster names, you can map each of those cluster names to a different Reports Server using reports_servermap in rwservlet.properties, as follows:
    There's the answer. Sometimes writing the question down helps figure out the answer :)
    Regards,
    John

  • Calling Oracle graphics from forms

    Dear friends,
    My problem is that whenever i called a graph from forms
    5.0 it give me error message that "PL/SQL evnivornment cannot
    created"
    Thanx
    Faisal
    null

    Hi friends,
    I got the same problem and when I discussed with some one, he told me that it is a bug of forms 5.0 So when I used same code in forms 6.0 beta, it worked !
    Nadeem

  • Start report server from forms.

    Hello everybody, merry chrismats to all.
    Im working with Forms & Developer DevSuite in Red Hat Linux ES/AS.
    Sometimes when I call a report from form using RUN_REPORT_OBJECT the report server is up & working but the forms dont find it & say FRM-41213 error, but after trying sometimes it begin to work.
    Question : ¿ Is there anyway to start and stop report server from forms ?
    Thanks in advanced & regards.

    Hello,
    For all queries involving testcases or queries that are potentially bug related
    we recommend you log a Service Request (SR) with Support via Metalink (http://metalink.oracle.com).
    This will ensure your query is tracked appropriately and any urgent requests can be
    dealt with in a timely manner by Global Support Services. May we also take this opportunity to remind you that the Metalink Library pages contain many Forms / Reports
    articles which could be of use to you.
    Best Regards
    Denis SEGARD

  • How to call Reports in oracle forms 10g

    Dear All,
    How to call Reports in oracle forms 10g.
    I am using Oracle Forms 10g Reports 10g and Database 10 and and Operating system Windows XP.
    Please give me the Solution.
    Thanks and Regards,
    Faziludeen

    Hi Omkar,
    Please check the following code.
    DECLARE
      repid REPORT_OBJECT;
      v_rep VARCHAR2(100);
      rep_status VARCHAR2(20);
      plid ParamList;
    BEGIN
      plid := Get_parameter_List('tmp');
      IF NOT Id_Null(plid) THEN
      Destroy_parameter_List( plid );
      END IF;
      plid := Create_parameter_List('tmp');
      add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
      Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
      repid := FIND_REPORT_OBJECT('POL_REP');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
      v_rep := RUN_REPORT_OBJECT(repid,plid);
      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;
      WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
      '||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
      '&paramform=no');
    END;
    I am used to Start the Report sever   'Rwserver Server=prod_Report_Server Start'
    OracleAS Report Services
    Version :-   10.1.2.0.2
    Name    :-   prod_report_server
    Status  :-   Server is Shutting down
    Jobs in Queue  0
    Active Engines  0
    I got the Following Error when I trying to run the Report
    FRM-41211: Integration error:SSL failure running another product
    Thanks and Regards,
    Faziludeen

  • Calling SQL*Loader from Forms

    Hi,
    I was wondering if anyone has called SQL*Loader from Forms?
    What I am wanting to do is use Oracle Forms as the interface where you can specify a file that you can import into the database and it will use a set control file. Push the import button and SQL*Loader does the rest.
    Is using Java code to call SQL*Loader from Forms a viable option, or is there an easier way to achieve the desired outcome.
    Any ideas or guidance will be much appreciated.
    Thanks,
    Scott.

    Scott,
    In forms, there's a HOST built-in command which is supposed to execute any o/s commands.
    What you have to do is :
    1. Bult up the string exacltly in the fashion which you will run in o/s
    2. Call the HOST Built-in and pass in the string
    Here's a example :
    Declare
    lOsCmd Varchar2(1000) := Null;
    Begin
    lOsCmd := 'sqlldr user-id=userid/passwd@connectStr '
    || ' control=c:\temp\abc.ctl log=c:\temp\abc.log '
    || ' bad = c:\temp\abc.log';
    Host (lOsCmd, No_Screen);
    End;
    -- Shailender Mehta --

  • How to call a URL from forms ?

    Dear All,
    I would like to invoke / call a URL from forms. I know we can make a call Using Web.show_document. But this will execute in a browser.
    What i need to do is, i have to send a request to by calling an URL, that should not visible to any body.
    This is my requirement, please help if you know.
    Thanks
    Balaji

    hi,
    here is a quick example : (data from url returns as a clob. you need to write it at db. and call from forms.)
    FUNCTION Get_DataFromUrl(pUrl IN VARCHAR2,pProxy IN VARCHAR2,pData IN OUT CLOB) RETURN NUMBER IS
    vRcv UTL_HTTP.HTML_PIECES;
    vData CLOB;
    eNoDataReceived EXCEPTION;
    BEGIN
    UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(TRUE);
    -- Get data pieces from Url
    vRcv := UTL_HTTP.REQUEST_PIECES(pUrl,Proxy => pProxy);
    IF vRcv.COUNT < 1 THEN
    RAISE eNoDataReceived;
    ELSE
    -- Append varchar2 table data into clob variable
    DBMS_LOB.CreateTemporary(vData,FALSE,DBMS_LOB.CALL);
    FOR i IN 1..vRcv.COUNT LOOP
    DBMS_LOB.WriteAppend(vData,LENGTH(vRcv(i)),vRcv(i));
    END LOOP;
    -- Copy local data into return variable
    DBMS_LOB.Copy(pData,vData,DBMS_LOB.GetLength(vData));
    DBMS_LOB.FreeTemporary(vData);
    END IF;
    RETURN SUCCESS;
    EXCEPTION
    WHEN eNoDataReceived THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.INIT_FAILED THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.Request_Failed THEN
    RETURN FAILURE;
    WHEN OTHERS THEN
    RETURN FAILURE;
    END Get_DataFromUrl;
    hope this helps.
    Engin.

  • Calling an EXE from Forms 4.5

    How do i call a windows Exe from forms. Whats the exact syntax to do that? Code sample would help.
    Thanks!

    Client/server mode calling an EXE from Forms 4.5
    The following is a Foreign Function Interface that I employed to launch an outside program in its own asynchronous window. It was a great alternative to the HOST command.
    The disadvantage to the HOST command was that the launched program would have to be closed before you could return to the form. With this method the the launched program
    could be minimized etc. and you could switch back and forth between forms and it.
    ===============================================================
    PACKAGE fp_winexec IS
    FUNCTION run(p_cmd IN OUT VARCHAR2)
    RETURN BOOLEAN;
    END;
    PACKAGE BODY fp_winexec IS
    dll_handle ORA_FFI.LIBHANDLETYPE;
    winexec_handle ORA_FFI.FUNCHANDLETYPE;
    FUNCTION RunICD(
    handle IN ORA_FFI.FUNCHANDLETYPE;
    cmd IN OUT VARCHAR2;
    disp_mode IN PLS_INTEGER)
    RETURN PLS_INTEGER;
    PRAGMA INTERFACE(C, RunICD, 11265);
    FUNCTION run(p_cmd IN OUT VARCHAR2)
    RETURN BOOLEAN IS
    v_tmp PLS_INTEGER;
    v_cmd VARCHAR2(2000) := p_cmd;
    v_retval BOOLEAN := TRUE;
    BEGIN
    v_tmp := RunICD(winexec_handle, v_cmd, 1);
    IF v_tmp = 2
    THEN
    MESSAGE('Cannot find '||v_cmd||' or one of its components);
    v_retval := FALSE;
    END IF;
    return(v_retval);
    END run;
    BEGIN
    dll_handle := ORA_FFI.REGISTER_LIBRARY
    (NULL, 'krn386.exe');
    winexec_handle := ORA_FFI.REGISTER_FUNCTION(dll_handle, 'WinExec', ORA_FFI.PASCAL_STD);
    ORA_FFI.REGISTER_RETURN(winexec_handle, ORA_FFI.C_INT);
    ORA_FFI.REGISTER_PARAMETER(winexec_handle, ORA_FFI.C_CHAR_PTR);
    ORA_FFI_REGISTER_PARAMETER(winexec_handle, ORA_FFI.C_INT);
    END;
    ====================================================================
    -- To call the program from forms
    DECLARE
    v_retval BOOLEAN;
    BEGIN
    v_retval := fp_winexec.run(:control_block.program_to_run);
    END;

  • 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

  • Can I call a report in Reports 6i from Forms Services 10g?

    Hi there,
    I was wondering if I could call a report in Reports 6i from my application in Forms Services 10g. If so, how could I do it?
    Thanks!

    In Forms 6i you probably did use RUN_PRODUCT to call reports. In 9i onwards you should use RUN_REPORT_OBJECT instead.
    See http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Note that you should be able to run RDF files without any conversion.

  • Calling concurrent program from form giving problem

    hi
    i have designed one concurrent program
    this concurrent program in turn calls another concurrent program.
    when i run it using SRS it is running fine
    but when i am submitting from FORM it is giving following error
    ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXPOS_MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    script in form
    declare
         l_request_id number;
         l_errbuf varchar2(30);
         l_retcode number;
    begin
    l_request_id := FND_REQUEST.SUBMIT_REQUEST('CUSTOM',     -- application
    'XXINVSIMREV',     -- program
    'Postpaid SIM Reversal after rejection',
    SYSDATE,     -- start_time (optional)
    FALSE, -- sub_request
    l_errbuf,l_retcode,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
                   IF l_request_id = 0 THEN     
                        fnd_message.set_string('Program submission for sim reversal into inventory is failure');
                        fnd_message.show;
                   else
                             fnd_message.set_string('Program submission for sim reversal into inventory is success for request id='||l_request_id);
                        fnd_message.show;
                        commit;
                   End if;
    end;

    There are so many restrictions and special circumstances for creating a custom form for Applications that you should ask this question in the Apps Forum (http://forums.oracle.com/forums/category.jspa?categoryID=3). People here might or might not have any experience with this. In the Apps Forums they definitely do.

Maybe you are looking for

  • Installation Error: Exit Code 7 on macOS10.6.8

    I downloaded Adobe Premiere Elements from the online store today, and cannot install the software on my mac os 10.6.8 I get the following errors: Exit Code: 7 -------------------------------------- Summary -------------------------------------- - 0 f

  • Dbus does not start

    I just installed Arch (it is my 1st time) following beginners guide, I try to start dbus with /etc/rc.d/dbus {start} but I get: /etc/rc.conf: No such file or directory /etc/rc.d/functions: No such file or directory What could I do? Thank you Last edi

  • Adobe After effect cs5.5 Problem at the start

    the picture appear but its freeze on initializing mediacore , Can I Have a answer for this please ? Thanks

  • PO Item Locked

    Hi Expert, May I know why a PO item that is locked, appear in MD04 but not in MRP run? Thank you

  • My iPhone 4S camera keeps crashing

    Everything's I open my camera lately it keeps crashing or anytime I use a camera app. Anyone else having this problem? Just started a couple of days ago.