Calling report from a  form(Oracle team urgent)

Hi all,
I am using the following code to call a report from form
PROCEDURE Run_Report (cMode varchar2) IS
pl_id ParamList;
BEGIN
pl_id := Get_Parameter_List('OPEN');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('OPEN');
add_parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'SCREEN');
add_parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
run_product(REPORTS, 'c:/chips/reports/module6', SYNCHRONOUS,RUNTIME,
FILESYSTEM, pl_id, NULL);
null;
END;
When I run the form it is giving me
an error message :
FRM-10214- No authorization to run any application
But i can run the report in report builder and works fine.
When I press the Ok button for the above message.
It prompiting me againg username and password
When i enter Username and password it's not doing anything.
I am using forms6i in oracle8i.
Thanks for your help.
Thanks

Hi Rohit,
If u see my above message.I can able to run the report in reports builder.The Only problemn is I can't able to call the report from Form.
I have a button which call the report.When i Press the button it is Prompting me to enter the username,password and database .When i enter it is not doing anything.
But mt reports server is opening.
Please let me know whats the problemn
Thanks fo ryour help
Thanks
Krishna

Similar Messages

  • Calling report from a form with user input parameters

    Hello,
    I am new to Oracle reports. I have an application coded in 6i. I am currently running the application in Oracle Forms Builder 9i. There are also few reports which are called from the forms. Since the application was developed in 6i, the report was called using Run_Product. The forms pass a set of user parameters to the report using the parameter list pl_id. The syntax used was Run_Product(REPORTS, 'D:\Report\sales.rdf', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);
    I learnt that the Run_product doesnt work in 9i and we need to use run_report_object. I have changed the code to use run_report_object and using web.show_document () i am able to run the report from the form. There are 2 parameters that need to be passed from forms to reports. The parameters are from_date and to_date which the user will be prompted to enter on running the form. In the report, the initial values for these parametes are defined. So, the report runs fine for the initial value always. But when i try to change the user inputs for the form_date and to_date, the report output doesnt seem to take the new values, instead the old report with the initial values(defined in the report) runs again.
    Can someone give me the code to pass the user defined parameters to the report from the forms? I have defined a report object in the forms node as REPTEST and defined a parameter list pl_id and added form_date and to_date to pl_id and used the following coding:
    vrepid := FIND_REPORT_OBJECT ('REPTEST');
    vrep := RUN_REPORT_OBJECT (vrepid,pl_id);
    But this doesnt work.
    Also, Should the parameters defined in the forms and reports have the same name?

    Thanks for the quick response Denis.
    I had referred to the document link before and tried using the RUN_REPORT_OBJECT_PROC procedure and ENCODE functions as given in the doc and added the following SET_REPORT_OBJECT_PROPERTY in the RUN_REPORT_OBJECT_PROC :
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,' FROM_DATE='||:BLK_INPUT.FROM_DATE||' TO_DATE='||:BLK_INPUT.TO_DATE||' paramform=no');
    But this also dint work. Please help me understand what difference does setting paramform=no OR paramform=yes make?
    In the report, i have defined the user parameters as FROM_DATE and TO_DATE respectively so that they match the form datablock BLK_INPUT items FROM_DATE and TO_DATE.
    My WHEN_BUTTON_PRESSED trigger is as below:
    DECLARE
    report_id report_object;
    vrep VARCHAR2 (100);
    v_show_document VARCHAR2 (2000) := '/reports/rwservlet?';
    v_connect VARCHAR2 (30) := '&userid=scott/tiger@oracle';
    v_report_server VARCHAR2 (30) := 'repserver90';
    BEGIN
    report_id:= find_report_object('REPTEST');
    -- Call the generic PL/SQL procedure to run the Reports
    RUN_REPORT_OBJECT_PROC( report_id,'repserver90','PDF',CACHE,'D:\Report\sales.rdf','paramform=no','/reports/rwservlet');
    END;
    ... and the SET_REPORT_OBJECT_PROPERTY code in the RUN_REPORT_OBJECT_PROC procedure is as:
    PROCEDURE RUN_REPORT_OBJECT_PROC(
    report_id REPORT_OBJECT,
    report_server_name VARCHAR2,
    report_format VARCHAR2,
    report_destype_name NUMBER,
    report_file_name VARCHAR2,
    report_otherparam VARCHAR2,
    reports_servlet VARCHAR2) IS
    report_message VARCHAR2(100) :='';
    rep_status VARCHAR2(100) :='';
    vjob_id VARCHAR2(4000) :='';
    hidden_action VARCHAR2(2000) :='';
    v_report_other VARCHAR2(4000) :='';
    i number (5);
    c char;
    c_old char;
    c_new char;
    BEGIN
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,report_file_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,report_server_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,report_destype_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,report_format);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,' FROM_DATE='||:BLK_INPUT.FROM_DATE||' TO_DATE='||:BLK_INPUT.TO_DATE||' paramform=no');
    hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME);
    hidden_action := hidden_action||'&destype='||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE);
    hidden_action := hidden_action||'&desformat='||GET_REPORT_OBJECT_PROPERTY (report_id,REPORT_DESFORMAT);
    hidden_action := hidden_action ||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string);
    c_old :='@';
    FOR i IN 1..LENGTH(report_otherparam) LOOP
    c_new:= substr(report_otherparam,i,1);
    IF (c_new =' ') THEN
    c:='&';
    ELSE
    c:= c_new;
    END IF;
    -- eliminate multiple blanks
    IF (c_old =' ' and c_new = ' ') THEN
    null;
    ELSE
    v_report_other := v_report_other||c;
    END IF;
    c_old := c_new;
    END LOOP;
    hidden_action := hidden_action ||'&'|| v_report_other;
    hidden_action := reports_servlet||'?_hidden_server='||report_server_name|| encode(hidden_action);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'pfaction='||hidden_action||' '||report_otherparam);
    -- run Reports
    report_message := run_report_object(report_id);
    rep_status := report_object_status(report_message);
    IF rep_status='FINISHED' THEN
    vjob_id :=substr(report_message,length(report_server_name)+2,length(report_message));
    message('job id is'||vjob_id);pause;
    WEB.SHOW_DOCUMENT(reports_servlet||'/getjobid'||vjob_id||'?server='||report_server_name,' _blank');
    ELSE
    --handle errors
    null;
    END IF;
    In the code - " hidden_action := hidden_action ||'&'|| v_report_other; " in the RUN_REPORT_OBJECT_PROC procedure above, how do i make sure that the v_report_other variable reflects the user input parameters FROM_DATE and TO_DATE ??? v_report_other is initialised as v_report_other VARCHAR2(4000) :=''; in the procedure. Will ensuring that the v_report_other contains the user input parameters FROM_DATE and TO_DATE ensure that my report will run fine for the input parameters?
    Thanks in advance.
    Edited by: user10713842 on Apr 7, 2009 6:05 AM

  • Calling Report from a Form

    Hi All,
    I tried to call a report from a form (using this form as a parameter form)but unfortunately it is not working out for me. I used the run_product built in.
    Could someone examine my code and tell me what is wrong?
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id := Get_Parameter_List('OPEN');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('OPEN');
    Add_Parameter(pl_id,'P_BUNIT',TEXT_PARAMETER, :BLOCK3.BUNIT);
    Add_Parameter(pl_id,'P_AGRMT',TEXT_PARAMETER,:BLOCK3.AGRMT);
    add_parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'SCREEN');
    add_parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    run_product(REPORTS, 'APRIL11', SYNCHRONOUS,RUNTIME,
    FILESYSTEM, pl_id, NULL);
    END;
    null

    Olan,
    Your code looks good, and it should work.
    Maybe you should check your report to make sure it is under oralce report path, user-defined parameters in the report are same name, type,lengh as in the form parameters, and correct system parameters.
    good luck.
    Jingning

  • FRM-41213 When calling report from a form using RUN_REPORT_OBJECT

    Hi,
    I get an error frm-41214:unable to connect to the report server when i am trying to call a report from a form using RUN_REPORT_OBJECT.
    My code is as follows:
    I have created a simple report using employee table such tht when i give the department number as parameter it should get the corresponding details along with that i also have highlited the system parameters:
    DESFORMAT
    DESNAME
    DESTYPE
    also other user parameters as
    p_action
    p_servername
    p_user_connect
    and in the before parameter form trigger the following code:
    function BeforePForm return boolean is
    vc_parameter_form VARCHAR2(4000);
    vc_hidden_runtime_values VARCHAR2(1000);
    vc_report_name VARCHAR2(100);
    begin
    IF (:P_ACTION = '_action_') THEN
         vc_hidden_runtime_values := '_hidden_';
    ELSE
         srw.get_report_name(vc_report_name);
              vc_hidden_runtime_values:='report='||vc_report_name||'&destype='||:destype||'&desformat='
    ||:desformat||'&userid='||:p_user_connect||'&server='||:p_servername;
    END IF;
    vc_parameter_form:='<html><body bgcolor="#ffffff"><form method=post action="'
    ||:P_ACTION||'">'||'<input name="hidden_run_parameters" type=hidden value="'
    ||vc_hidden_runtime_values||'">'||'<center><p><table border=0 cellspacing=0 cellpadding=0><tr><td>'
    ||'<input type=submit></td><td width=15><td><input type=reset></td>'||'</tr></table><p><hr><p>';
                        srw.set_before_form_html(srw.text_escape,vc_parameter_form);
    return (TRUE);
    end;
    After this i created a form with department table as my datablock:
    I created a report object in the form with name REPORT6.
    -Created a procedure in the form with the following code
    PROCEDURE RUN_REPORT_OBJECT_PROC(report_id REPORT_OBJECT,reportserver VARCHAR2,runformat VARCHAR2) IS
    report_message VARCHAR2(100);
    rep_status VARCHAR2(100);
    vc_user_name VARCHAR2(100);
    vc_user_password VARCHAR2(100);
    vc_user_connect VARCHAR2(100);
    vc_connect VARCHAR2(300);
    BEGIN
    vc_user_name:=get_application_property(username);
    vc_user_password:=get_application_property(password);
    vc_user_connect:=get_application_property(connect_string);
    vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,runformat);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,reportserver);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_deptno='
    ||:Dept.Deptno
    ||' paramform=yes P_USER_CONNECT='
    ||vc_connect||' P_SERVERNAME='||reportserver
    ||' P_ACTION=http://iitv-1:8888/reports/rwservlet?');
    report_message:=run_report_object(report_id);
    rep_status := report_object_status(report_message);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    rep_status := report_object_status(report_message);
    END LOOP /* Wait for Report to be finished */;
    IF rep_status='FINISHED' then
    web.show_document('http://iitv-1:8888/reports/rwservlet/getjobid'||
    substr(report_message,instr(report_message,'_',-1)+1)||'?server'
    ||reportserver,'_blank');
    ELSE
    message (rep_status||' Report output aborted');
    END IF;
    END;
    I created a press button and in the when_button_pressed trigger i added the following code:
    declare
         repid REPORT_OBJECT;
         repserver VARCHAR2(100);
         runformat VARCHAR2(10);
    BEGIN
         repid := find_report_object('REPORT6');
         repserver := 'rep_iitv-1';
         runformat := 'HTML';
         run_report_object_proc(repid,repserver,runformat);
         END;
    Then tried to run the form but i got this error frm-41213 unable to connect to the report server.
    Any one please help me.

    Run_report_object can't work with forms9i
    Regards
    Vikas Singhal

  • Issue calling report from a Form(11.1.2).

    Hi,
    I have an existing code in the form to call a report and it seems to be working in the current 10g version of production server and I am migrating forms 10g to 11gR2. My issue here is when, I want to call the report from Forms 11g ( i.e. in developer suite) it is taking the report server as a blank. My Oracle FMW (11.1.2) is installed on the Windows 2008 R2 server. I do not know, if I need to configure the report server locally after the installation of FMW. Please help me out, if someone has faced a similar issue before.
    DECLARE
              rep_Report                                                            report_object     := find_report_object('XYZ');
                   rep_server                                                        varchar2(100);
                   rep_jobidFull                                                            varchar2(100);
                   rep_jobidPartial                                                                            varchar2(100);     
    BEGIN
                   -- Get the report server name
                   tool_env.getvar('REPORTS_SERVER_NAME', rep_server); --UNIX
              IF rep_server IS NULL THEN -- WINDOWS
                   tool_env.getvar('HOSTNAME', rep_server);
              END IF;     
              message('rep_server'||' '||rep_server);
                   SET_REPORT_OBJECT_PROPERTY(rep_Report,REPORT_SERVER,rep_server);
                   rep_jobidFull := run_report_object(rep_Report, pl_id);
                   message('rep_jobidFull'||' '||rep_jobidFull);
                   rep_jobidPartial := substr(rep_jobidFull,length(rep_server)+2,length(rep_jobidFull));
                   message('rep_jobidPartial'||' '||rep_jobidPartial);
         web.show_document('/reports/rwservlet/getjobid'||rep_jobidPartial||'?server='||rep_server,'_blank');
    END;
    Errors:
    FRM-41211: Integration error: SSL failure running another product.
    REP-51000: The Reports Server name is not specified.
    Thnx,
    Sona.

    Hello,
    Usually in development installation report server gets installed by default unless you uncheck it.
    You can find the report server name by:
    a)looking into rwservlet.properties file
    or
    b)as entry in Start > All Programs > Oracle Classic instance - asinst_1 > Reports Services > Start Report Server rep_wls_reports_<hostname>_<InstanceName>
    or
    c)http://<yourhostname>:7001/reports/rwservlet/getserverinfo
    In order to run the report from froms you need:
    -to implement the solution i described in a previous update
    or
    -use a harcoded value in the form
    SET_REPORT_OBJECT_PROPERTY(rep_Report,REPORT_SERVER,'your_report_server name');
    Since you are in 11gR2 development mode you cannote use EM or OPMN to get the status of the report server as Roberto Suggested.
    For your reference also check:
    Oracle Forms and Reports 11g Release 2 (11.1.2) Development Installation FAQ (Doc ID 1373210.1)
    Regards,
    Alex
    If someone answer helped please mark it accordingly.

  • Calling report from a form/report

    Hello all,
    My Apex version 3.2.1
    I have created an application on some tables. Each table has a report and form page. Now everything in these pages is working fine(inserting, updating, deleting records).
    I have a situation here, where after I insert a new record in to a table from the form page, here I have to show a report page based on a SQL query which queries the records from another table and the current table passing the parameters. Parameters should be the values that I enter during inserting a record.
    Can I do this from form or report? If yes, how?
    Please help me...

    I think you could create an unconditional branch after submit that would go to the report page that calls the said report.
    Process flow:
    insert row in TABLE_A
    click update - adds row into table
    submits page
    processes validations, computations, etc
    branches to report page
    report page pulls data from TABLE_A (new row is inserted)
    You could have a separate branch on each form to accomplish this.
    Hope that helps
    Paul

  • Calling Reports from Web Forms

    Hi all,
    I have Forms and Reports services 10g running on Linux RHEL3, and it's all right so far, with only one application.
    Now I have to use another application, which has some forms and reports with same name as the first one. At this point I cannot use FORMS90_PATH and REPORTS_PATH anymore.
    I solved the problem about forms and icons (simply changing configuration files), and I found a solution for Reports, but this one obliges me to modify all forms calling reports. Of course I don't like it so much, and I'm wondering if someone has a solution without changing anything in the applications, as for forms and icons.
    Thanks in advance
    Paul

    Hi Martin,
    I'm afraid there was a little misunderstanding : I tried your solution, and it works fine for forms (but for forms I already had a solution, workingDirectory in the project section of formsweb.cfg).
    It doesn't work for reports : it seems that the only way to specify reports location is in reports.sh, but to make applications independent I should use different reports servers for different applications, not acceptable.
    Do you know a way to obtain the same result for reports (as for forms) without changing applications ?
    BTW, the solution should work on Windows OS too.
    Thanks again.

  • Little help for calling report from a form

    hi,
    I AM NOT ABLE TO CALL THE REPORT WITH THE FOLLOWING CODE. PLEASE TELL ME WHERE I AM DOING WRONG! THANKS A LOT!!
    It is Oracle 9i and Reports 6i.
    -> I have a form with only one BUTTON.
    -> I have a REPORT with only one USER PARAMETER 'P_1' which is a number.
    -> I have only one query INSIDE the report. It is "SELECT * FROM EMP WHERE EMPNO = :P_1'
    -> I added the report to form in the OBJECT NAVAVIGATOR of FORM and the NAME OF REPORT is 'REOPRT4'
    here is the code on the form:
    ================================
    When_button_pressed
    DECLARE
    vid report_object;
    vname varchar2(100);
    BEGIN
    vid := find_report_object('Report4');
    vname := run_report_object(vid);
    END;
    ==================================
    -> the FORM and REPORT are in "c:\helloworld" directory.
    -> the error I am getting is 'internal pl/sql error'
    -> I WANT THE USER TO ENTER THE RUNTIME PARAMETER FOR THE REPORT AT RUNTIME, so no need to worry about supplying the parameter through code!!!
    Thank You very much. I appreciate your kind help!!

    I think that you have to add some code, see page 15 in this:
    http://otn.oracle.com/products/forms/pdf/277282.pdf
    Helena

  • Calling Report from a Form on the same page

    Hi,
    We have a SEARCH Form and when user inputs search criteria, then we want to call a report on the same page, just below the search button. We tried many things but the report does not show up on the same page, it navigates to next page.
    Please help..
    Thanks
    Kumar.

    I am trying to do a similar thing... I have created a form application component and a Report application component which is called from the search form. This works fine.
    I expose the search form as a component and put it on a portal page. I do the same with the report.
    When I call the page and enter the search params in the form and call the report, the report appears in a separate non-portal window. I would like the report in the same portal page to be run in-line with the new parameters.
    Has anyone done this before?

  • Calling report from the form

    I,am using developer 2000 ver.1.32 always i develop new forms and reports,but in my recently developed form which calls a report in the same directory i am getting this message:
    REP-0110: Unable to open file 'PEER_PEE'.
    REP-1070: Object store failure occurred.
    REP-0110: Unable to open file 'PEER_PEE'.
    End report PETR_PRM [Mon Jul 31 09:35:37 2000].
    and didn't get in the decomentation any solve.
    so can anybody can help me.

    thank you
    mr: Abouzaid
    it worked properly,
    i added the report path to the reports_path in the oracle.ini.
    thank you again mr: Abouzaid.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Abozaid Abdelmeged ([email protected]):
    hi
    Please make sure that your reports directory
    was defined on report_path on registry first.
    thanks alot
    Abouzaid<HR></BLOCKQUOTE>
    null

  • Calling Reports from a Form - Application Server Forms and Reports Services

    Hi
    We currently are running App Server 10G Forms and Reports and Oracle DB 11G. Forms are running fine with the Apps Server but what I need to find out is how do I set the path for the .rdf files of the reports and how do I configure the Apps Server to present the Reports? I am sure we have to edit a .conf file and add the server name but not sure what to do or how to do it?
    ps. I am a newb but I managed to get both of Apps Server and Database configured on my lonesome so I am just missing the info on the Reports side of things.
    The Developer has asked the following questions :-
    We want to run a report created in report builder from forms by using the following command in forms;
    web.show_document(v_url,'_blank');
    what does v_url need to be - we need to find an example showing the v_web_address and v_rpt_server
    v_url := 'http://'||v_web_address||'/reports/rwservlet?server='||v_rpt_server||'+report=test_report.rdf &desformat=PDF&userid=user/pw@database'
    Do we need to make changes on the report server configuration and where should the rdf files reside?
    Regards

    Hiya
    Thanks for the message.
    I have started to look at the response you sent me. I have included an output of the rwservlet.properties file and the rep_s-lon-w-001_frhome1 file.
    rwservlet.properties
    SERVER_IN_PROCESS=YES
    RELOAD_KEYMAP=NO
    #DIAGNOSTIC=YES
    #TRACEOPTS=TRACE_ALL
    #TRACEFILE=rwservlet.trc
    #TRACEMODE=TRACE_REPLACE
    #SERVER=<reports_server_name>
    #IMAGEURL=http://<web_server_name>:<port_num>/reports/rwservlet
    #KEYMAPFILE=CGICMD.DAT
    #DBAUTH=RWDBAUTH.HTM
    #SYSAUTH=RWSYSAUTH.HTM
    #ERRORTEMPLATE=RWERROR.HTM
    #COOKIEEXPIRE=30
    #ENCRYPTIONKEY=reports9i
    #DIAGBODYTAGS=<reports_servlet_help_file_title>
    #DIAGHEADTAGS=<reports_servlet_help_file_body_tag>
    #HELPURL=<url_of_customized_help_file_for_reports_servlet>
    #SINGLESIGNON=YES
    OID_ENTITY=%REPORTS_OID_ENTITY%
    #ALLOWHTMLTAGS=NO
    #REPORTS_NETWORK_CONFIG=rwnetwork.conf
    #OIDCON_INIT=10
    #OIDCON_INCREMENT=10
    #OIDCON_TIMEOUT=0
    SERVER=rep_s-lon-w-001_FRHome1
    rep_s-lon-w-001_frhome1
    <?xml version = '1.0' encoding = 'ISO-8859-1'?>
    <!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:C:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">
    <server version="10.1.2.0.2">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    <!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000">
    <!--property name="sourceDir" value=c:\reports/-->
    <!--property name="tempDir" value=c:\reports_temp/-->
    <!--property name="keepConnection" value="yes"/-->
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000"/>
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    <property name="oidEntity" value="%REPORTS_OID_ENTITY%"/>
    </security-->
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </destination-->
    <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <!-- By default server will use rwnetwork.conf as network config file
    Use this element to override the same -->
    <!--networkConfig file="rwnetwork.conf"></networkConfig-->
    <job jobType="report" engineId="rwEng"/>
    <job jobType="rwurl" engineId="rwURLEng"/>
    <notification id="mailNotify" class="oracle.reports.server.MailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </notification-->
    <log option="noJob"/>
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="repositoryConn" value="repo_db_username/repo_db_password@repo_db_tnsname" confidential="yes" encrypted="no"/>
    </jobStatusRepository-->
    <!--trace traceOpts="trace_all"/-->
    <connection maxConnect="20" idleTimeOut="15">
    <orbClient id="RWClient" publicKeyFile="clientpub.key"/>
    </connection>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <!--
    The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD
    SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml
    file should match for Reports EM pages to display data correctly.
    Corresponding entries of username and password in targets.xml:
    <Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>
    <Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>
    -->
    <identifier confidential="yes" encrypted="yes">ZgZCDkywAUaHwMnb+A6YTg0UVX12puJiKZe8PYR1NHiooqnkbstGLcLqn5sWJCnWjREALf9UVz0N/P7HpgkTrPTCwgYirXmx1oZKCWkodsu06FNAJJ8ioXQCBWAG+SeHElcR5At9pTaiZZjXv8MtUP6cEUcH//E5eI4JnO/PLfS0u0OmElFdQn9lsDYF/ETYcK7QVswlN0LAE0yUqCC7bI+mVhhSkW80XXnh5oPISEiMwb+KcNW2T2zz+m1KLJAQFDk0S3cCIMaj6NBF7yXmoJOoGRNmfQBk8HHfx7Z6+l//BZP/hswX5NojatpWa46uDU8HNtNfcLSKxSUHH64g/FaEqzoXIXbIVWuGVwUA4gRUulJ0Ew0HVtyXC5wsnUW5zD0HnUFYoKXeNssDrT6HapRoEwSYE3n2ogux3vOefUXkPy5hsPCc9I3R5tmdljjuUGxmF1QXckIv12aMw0+JGIyevbv7X33vhJc=</identifier>
    <!--pluginParam name="mailServer">%MAILSERVER_NAME%</pluginParam-->
    <!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
    <pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>
    <pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>
    <pluginParam name="textpds" type="file">textpds.conf</pluginParam>
    </server>
    If our Apps server is s-lon-w-001.homes.local, where do I make the changes in these two files to make the reports to run. You can see I have defined the reports on the C: on the server.
    Many thanks in advance!

  • Calling Report From Oracle Forms

    Hi
    I am calling this one report from oracle forms, I am using global temporary table to run that report. I am first inserting data into the temporary table through oracle form and then i am calling report in that form to view the data in that temporary table. The problem is, we can not view the data of an other session if we are using temporary table. When i call report from that form a new session get created due to which i can not see the data. Is there any method of calling report from oracle form that a same session is used to run the report?
    Thanks.

    As you mention Forms and Reports do not share the database session. I had the same problem and resolved it using record groups and DATA_PARAMETER to transfer data from Forms to Reports. You could also read the Note 110495.1 on Metalink to find useful information regarding this issue.
    Adi

  • Getting rep-3002 when calling report from form on web

    i am getting rep-3002 when i call report from a form on web environment. Report is in character mode. It is coming proper if i change it to bitmap. but my requirement is of character mode. pl. give some solution.

    Hello,
    If you are running in WinNT/2000 environment, the NT/2000 user which runs the Report Server service must have a printer defined. In the control panel, look at the properties for the Report Server to see what user it runs as. Log in as that user and make sure a default printer is defined.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Calling report from form in Web environment

    Hi,
    We are in the process of migrating our C/S appication (developed in Developer2k) to intranet using OAS. My question :
    a) Is there any other way to call report from a form other than web.show_document?
    b) When a report is called from the report server(using web.show_document), a log-in screen comes up unless the login and password is passed as parameter. Only problem with this is the password shows in the URL. Is there any other way to make the call so that the login & password does not show and the user won't have to login a second time to run the report?
    Any reply would be appreciated..Thanks

    1. Yes you can use run_product package procedure to call reports on web, Oracle documentation says that run_product command will run in web env.
    2. Yes you can hide username & password from user, it depends on which method you are using to call reports, if you are using web cgi then add username & password in file "cgicmd.dat" and "oascmd.dat" for web catridge or in cartridge parameter setting you will find this files in directory "\orant\report60\server\".
    Darshan Desai
    [email protected]
    null

  • Call report from form 10g (10.1.2.0.2)

    hi
    i using win 2003 and db 10g and dev10g ( 10.1.2.0.2)
    and i want to call report from my form as following code :
    DECLARE
    dir varchar2(200);
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    dir:=co$win.get_current_directory ;
    repid := find_report_object('CGNV$OFG_REPORT');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,dir||'\rep.jsp');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,runtime);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rws');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
    v_rep := RUN_REPORT_OBJECT(repid);
    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;
    IF rep_status = 'FINISHED' --or rep_status is null
    THEN
    WEB.SHOW_DOCUMENT('http://hamid:8889/reports/rwservlet/getjobid'||
    substr(v_rep, instr(v_rep,'_',-1)+1)||'?server=rws','_blank');
    ELSE
    message(ER_RP);
    END IF;
    END;
    but i get error :
    frm-41213: unable to connect to the report server rws
    plz help me

    hi
    i using win 2003 and db 10g and dev10g ( 10.1.2.0.2)
    and i want to call report from my form as following code :
    DECLARE
    dir varchar2(200);
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    dir:=co$win.get_current_directory ;
    repid := find_report_object('CGNV$OFG_REPORT');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,dir||'\rep.jsp');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,runtime);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rws');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
    v_rep := RUN_REPORT_OBJECT(repid);
    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;
    IF rep_status = 'FINISHED' --or rep_status is null
    THEN
    WEB.SHOW_DOCUMENT('http://hamid:8889/reports/rwservlet/getjobid'||
    substr(v_rep, instr(v_rep,'_',-1)+1)||'?server=rws','_blank');
    ELSE
    message(ER_RP);
    END IF;
    END;
    but i get error :
    frm-41213: unable to connect to the report server rws
    plz help me

Maybe you are looking for