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

Similar Messages

  • How to add the parameters onto the reports while calling from forms

    Hi all,
    I am using oracle forms 10g. I want to call a report from the form.
    But i dont know how to add parameters to the url while using
    web.show_document();
    i have a sample code. But it does not add the forms values onto the url.
    DECLARE
    v_host varchar2(100);
    v_port varchar2(10);
    v_parameter_string varchar2(4000);
    v_username varchar2(50);
    v_password varchar2(50);
    v_database varchar2(50);
    BEGIN
    -- Get the full domain name of the server from the formsweb.cfg
    tool_env.getvar('SERVER_URL',v_host);
    -- Get the username/password and database from the .env file
    tool_env.getvar('APPLICATION_USERNAME',v_username);
    tool_env.getvar('APPLICATION_PASSWORD',v_password);
    tool_env.getvar('APPLICATION_DATABASE',v_database);
    -- If it is localhost then we are running on windows and need to use the windows port, otherwise we
    -- are on AIX and need to use the AIX port
    IF v_host = 'localhost' THEN
         v_port := '8889';
    ELSE
         v_port := '7778';
    END IF;
    -- Now build the parameter string for running the report      
    v_parameter_string := 'server=rep_fsprod';
    v_parameter_string := v_parameter_string||'&report=AAP_TOTAL_CONTRACT_VALUE_RPT.rdf';
    v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||v_password||'@'||v_database;
    v_parameter_string := v_parameter_string||'&execution_mode=batch';
    v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
    v_parameter_string := v_parameter_string||'&destype=cache';
    v_parameter_string := v_parameter_string||'&desformat=pdf';
    -- Now run the report
    web.show_document('http://'||v_host||':'||v_port||'/reports/rwservlet?'||v_parameter_string,'_blank');
    END;
    Are we able to add the text values in the form from to the URL.
    Please let me know....
    thanks in advance....
    Naveen

    hello
    read the following white paper http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    cheers
    Q

  • 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

  • REP 110 & REP 0110 .calling reports from Form 10g(10.1.2.0.2)

    Hi All,
    We are migrating form from Oracle form 6i to Oracle 10g(10.1.2.0.2). I am calling reports from forms
    using Web.Show_Docment(). When we run reports in report builder 10g it works fine.
    But when we try to run reports from Forms 10g it throws error which is given below.
    We want to run reports from UNIX. After using this url to submit report we get error REP 110 and REP 0110
    URL
    http://GEM:7777/reports/rwservlet?server=rep_server&report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    ERROR
    REP-110: File '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2' not found.
    REP-0110: Unable to open file '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2'.
    I will really appreciate your help.
    Thanks
    Sandy

    Hello,
    You are mixing 2 separators in the URL : & and +
    Use only one separator in the URL :
    Example :
    http://GEM:7777/reports/rwservlet?server=rep_server+report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    Regards

  • 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

  • Problem in running oracle report from form 10g Version 10.1.2.0.2

    Hi All,
    I am facing problem while running the report from forms 10g getting FRM-41219
    For this i am using the following procedure :
    PROCEDURE RUN_REPORT IS
    L_RUN_TEXT VARCHAR2 (2000);
    L_USRID VARCHAR2 (100);
    L_PASSWD VARCHAR2 (100);
    L_DESNAME VARCHAR2 (100);
    FILE_OUT_PUT VARCHAR2(200);
    REP_STATUS VARCHAR2(20);
    REP_NAME VARCHAR2(50);
    PL_ID PARAMLIST;
    REP_URL VARCHAR2(2000);
    V_REP VARCHAR2(200);
    BEGIN
    display_me('RUN_REPORT');
    -- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
    -- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
    -- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
    -- PROCEDURE.
    IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
    RETURN;
    END IF;
    COMMIT_FORM;
    IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
    L_DESNAME := 'LP';
    ELSE
    L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
    display_me(L_DESNAME);
    END IF ;
    /* SETTING THE REPORT OBJECT PROPERTIES */
    /* G_PRAM1 IS THE NAME OF REPORT ****/
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
    display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
    PL_ID := GET_PARAMETER_LIST ('REP_PARA');
    IF NOT ID_NULL (PL_ID) THEN
    DESTROY_PARAMETER_LIST ('REP_PARA');
    END IF;
    PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
    ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
    ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
    ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
    ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
    ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
    ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
    ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
    ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
    display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
    REP_NAME := :GLOBAL.G_PARAM1||'.REP';
    display_me('REP_NAME'||REP_NAME);
    V_REP := RUN_REPORT_OBJECT('REPOBJ');
    display_me('V_REP '||V_REP);
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    display_me('REP_STATUS'||REP_STATUS);
         WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    END LOOP;
    IF REP_STATUS = 'FINISHED' THEN
    REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
    display_me('REP_URL '||REP_URL);
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    ELSE
    MESSAGE('ERROR WHEN RUNNING REPORT');
    END IF;
    END;
    Which is called on a button , can any body share there idea to help out
    Warm Regards
    Ashutosh

    Yes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
    declare
         REP_URL varchar2(2000);
    begin
    REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache&paramform=no';
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    end;
    I had the 2nd code also but both r not working on my machine ......... !!
    I have made the following setting on my machine:
    1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    3. Entry made in the DevSuiteHome_1\forms\server ->default.env
    FORMS_PATH=D:\vision_soft\VSS\exe
    4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
    #SERVER= rep10
    As my forms is working well & but the report are not able to call.
    Could you please let me know is there is any other mandatory setting required for the report 10g.
    Regards,
    Ashutosh

  • Replacement routine for running reports from Forms 10G?

    Hi,
    I have the following routine that I have been using in Forms 6i to run all of my system reports. I know that Run_Product can no longer be used in 10G and has to be replaced with RUN_REPORT_OBJECT, but can anyone suggest a suitable replacement routine that can be called from my 10G Forms (to avoid getting the FRM-41842 message)?
    Many thanks,
    Keith.
    PROCEDURE RUN_REPORT (IN_RPTNAME IN CHARACTER) IS
    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, 'MAXIMIZE', TEXT_PARAMETER, 'YES');
    Run_Product(REPORTS, '..\Reports\'||IN_RPTNAME, SYNCHRONOUS, RUNTIME,
    FILESYSTEM, pl_id, NULL);
    END;

    attached link should provide you a clear concept:
    http://www.oracle.com/technology/products/forms/pdf/frm9isrw9i.pdf

  • 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

  • How to run report on web in forms 10g

    dear all,
    i have a form which call a report in form 6i i used the run_object();
    how to run the report on web in forms 10g?
    is there any html settings?
    thanks
    Muhammad Nadeem

    Hello,
    <p>You can inspire from this article<br>It is a sample dialog that allows to launch any report with 0 up to 10 parameters.<br>Open the sample dialog, then you can see how the Run_Report_Object() built-in is used in the Start_Report program unit..<p>
    Francois

  • How to get the report server name in Forms 10g.

    How to get the report server name in Forms 10g.
    I'm using the Application Server 10g 10.1.2.

    Hello,
    I do not think that you can get this value from anywhere. A solution is to put the Reports server name in an environment variable stored in the /forms/server/default.env file, then to query it at Forms runtime with the TOOL_ENV.Getvar() built-in.
    Francois

  • How send mail from forms 10g

    hi all,
    can any help in this,
    i want send a mail from forms 10g,how???
    thanx in advace,
    chands

    hi,
    my oracle version is 10.1.0.4.2
    this is my code....
    PROCEDURE Send_Mail_001 (sender IN VARCHAR2,
    recipient IN VARCHAR2,
    subject IN VARCHAR2,
    message IN VARCHAR2)
    IS
    mailhost VARCHAR2(30) := '10.192.30.12';
    mail_conn utl_smtp.connection;
    TEST VARCHAR2(100);
    crlf VARCHAR2(2):= CHR( 13 ) || CHR( 10 );
    mesg VARCHAR2(2000);
    BEGIN
    mail_conn := utl_smtp.open_connection(mailhost,25);
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, sender);
    utl_smtp.rcpt(mail_conn, recipient);
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: ' || sender || crlf ||
    'To: ' || recipient || crlf ||
    'Subject: '|| subject || crlf;
    mesg:= mesg || ' ' || crlf || crlf || message ||'.' || crlf || '.'|| crlf;
    UTL_SMTP.OPEN_DATA(mail_conn);
    utl_smtp.write_data (mail_conn, mesg);
    /* body of email with multiple
    utl_smtp.write_data (v_mail_conn, v_message);
    call to write_data
    utl_smtp.write_data (mail_conn, mesg);
    UTL_SMTP.CLOSE_DATA(mail_conn);
    utl_smtp.quit(mail_conn);
    premia_wf_log('mail','hi');
    EXCEPTION
    WHEN OTHERS THEN
    premia_wf_log('mail',sqlerrm);
    END;
    can u help me in this..........
    thanx in advance
    chands

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

  • Hide report path in oracle form 10g (10.1.2.0.2)

    Dear all,
    I m oracle form 10g (10.1.2.0.2) ,when i run report through form using paramform='yes' then parameter form open with path and userid/pass please
    help me how to hide this path

    Dear all,
    I m using WEB.SHOW_DOCUMENT, but i m running report without AS
    using following code,
    v_pw:=
    get_application_property(password);
    v_user:=
    user;
    v_conn:=
    get_application_property(connect_string);
    lv_host:=
    :global.gv_ser_add;
    lv_sys_param:=
    '&server='||:global.gv_ser_nm||'&DESTYPE=CACHE&DESFORMAT=PDF&mode=DEFAULT&PARAMFORM=yes';
    lv_path:='report=D:\test.rep';
    lv_usr_dtls:='&USERID='||v_user||'/'||v_pw||'@'||v_conn;
    lv_url:=lv_host||lv_path||lv_sys_param||lv_gen_param||lv_usr_dtls;
    lv_url:=replace(lv_url,' ',lv_url);
    hidden_action := hidden_action ||'&USERID='||get_application_property(username)||'/'||v_pw;
    web.show_document(lv_url,'_blank');
    please suggest where i m doing wrong
    Thanks
    Manoj rajput
    hide report path in oracle form 10g (10.1.2.0.2) 

  • How to connect to SQL Server from Forms 10g?

    Hello all,
    How do we connect to SQL Server database from Forms 10g?
    In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
    But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
    without installing anything on the database server?
    Pls help!
    Regards,
    Sam

    Hello all,
    I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
    Transparent gateway was not required.
    Followed metalink note 109730.1
    So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
    When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
    "ORA-02070 - ROWID is not supported in this context."
    This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
    no Rowid is fetched since SQL Server table doesn't have one.
    Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
    Pls suggest.
    Regards,
    Sam

  • DB-link is not connected from Forms 10g

    Hi,
    I have created the db-link(visdev) from mytest schema to APPS schema -- created successfully
    ->Login to mytest schema and ran the query: select * from all_objects@dblink -- Return values.
    -> I have used the same dblink with below code from Forms 10g (Datablock - Pre-insert trigger)
    cursor_handle := dbms_sql.open_cursor;
    dbms_sql.parse(cursor_handle, 'select decode(object_type,''TABLE'',''T'',''VIEW'',''V'',null) col1 from all_objects'||'@'||db-link, 1);
    dbms_sql.define_column(cursor_handle,1,col1,30);
    execute_feedback := dbms_sql.execute (cursor_handle);
    execute_feedback := dbms_sql.fetch_rows(cursor_handle);
    dbms_sql.column_value(cursor_handle,1,col1);
    Its throws error in Pre-insert trigger : select decode(object_type,'TABLE','T','VIEW','V',null) col1 from all_objects@db-link ---- Not return values -- error out
    I found this error using log message.
    Can you please help us... its very critical for us.
    Edited by: user775668 on Jun 17, 2011 5:46 AM
    Edited by: user775668 on Jun 17, 2011 5:46 AM

    In terms of trying to debug this why don't you login to your schema and create a view:
    create view testview as select * from all_objects@dblink
    and deal with that instead?
    (You would need to grant permissions to that view.)
    I mean as a way to keep the complex dbms_sql out of the loop and look
    more to permissions and schema issues. In the long term the view hard codes the structure and is
    not a good solution if the structure changes. I just mean as a test.
    BTW you know there is an all_objects already? Didn't know if you meant that literally or not.
    You could not use that name.

Maybe you are looking for

  • Wrongly posted to asset instead of GL

    Hi All I have a asset which was wrongly  posted as an asset in the last year and now users want to transfer that to a Balance sheet GL account .Depreciation has been run on the same for the last year and the current year  .Any ideas? Can I scrap the

  • SRM - Create Purchase order

    Hello, What is the procedure (transactions ??) for create a Purchase Order on SRM ?? Thanks in advance.

  • Anyone got a FP controller for sale?

    Has anyone got a FP-2000, FP-2010 or FP-2015 that they'd be happy to let got for a few bucks? I've got a buddy who's automating his home brewing operation, and I've got the DAQ modules and TBs, but no controller. Copyright © 2004-2015 Christopher G.

  • I've deleted some photos!!!

    Hi, I have accidently deleted some photos from my i-phone 5c, they were in Camera Roll and Photo Stream. Everything was turned on in i-cloud, I was just wondering if I can retrive them somehow?, the only option I seem to have at the momnet is to use

  • N8 Communication Log?

    Hi everybody i have a question about the log - on all of my previous Nokia phones, the log has a Communication Details tab that shows everything the phone does; calls, text, data connections, etc. On the N8, that log is only showing voice and message