FRM-41213 running a report.

When I restart OC4J and then I try to run a report a I get the error FRM-41213.
I need to start manually the report engine, using something like /rwservler/showjobs before I can run the report.
I read the metalink note 218835.1 and it seems I runned in the same problem but the problem in that note was related to iDS9 and solved in 10g.
How can I solve that issue ?
Tks
Tullio

When I restart OC4J and then I try to run a report a I get the error FRM-41213.
I need to start manually the report engine, using something like /rwservler/showjobs before I can run the report.
I read the metalink note 218835.1 and it seems I runned in the same problem but the problem in that note was related to iDS9 and solved in 10g.
How can I solve that issue ?
Tks
Tullio

Similar Messages

  • 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

  • Error calling report FRM-41213 unable to connect to Report Server

    Hi,
    I have installed Oracle Database 10g R2 and Oracle Developer 10gR2.
    I installed it in both Windows 2000 SP4 and Windows XP SP2.
    I would like to call a Report using a button inside Oracle Form.
    I create my own Report Server, using : rwserver server=repsrv
    A Java-based window appear OracleAS Reports Sevice, and showed that repsrv is ready.
    In Form (inside a button -> WHEN-BUTTON-PRESSED) :
    1. Using RUN_REPORT_OBJECT()
       rep_id := find_report_object('REPORT10');
         if not id_null(rep_id) then
           v_rep := run_report_object(rep_id);
         else
              message('Null');
       end if;
       a. If I did not specify the name of the Report Server in Reports node of Form's property object
    (I leave it blank)
    The following error appear :
    FRM-41211: Integration error, SSL failure running another product
    b. If I specify the name of the Report Server : repsrv
    The following error appear :
    FRM-41213: Unable to connect to Reports Server repsrv
    2. Using WEB.SHOW_DOCUMENT()
    a. If did not I specify the server name in the parameter
    WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||,'_blank');Another web browser appear and the following error appear :
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    b. If I specify the server name in the parameter --> server='repsrv'
    WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||'server=repsrv','_blank');Another web browser appear and the following error appear :
    REP-51002: Bind to Reports Server repsrv failed
    In Report :
    If I try to navigate manually to :
    1. http://localhost:8889/reports/rwservlet using web browser.
    It showed OracleAS Report Services - Servlet Command Help page.
    2. http://localhost:8889/reports/rwservlet?userid=scott/tiger@orcl&report=D:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html
    The following error occured
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    3. Finally,
    http://localhost:8889/reports/rwservlet?server=REPSRV&userid=scott/tiger@orcl&report=C:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html
    The following error occured
    REP-51002: Bind to Reports Server repsrv failed
    4. Any attempt to different command (i.e showenv, showjobs, etc) seems failed
    If I did not specify the server then REP-51002: Bind to Reports Server rep_<computer_name> failed
    If I specify the server - 'repsrv' then REP-51002: Bind to Reports Server repsrv failed
    5. I have tried to use rwrun in command line.
    rwrun report="D:\My Documents\form\module1.jsp" userid=scott/tiger@orcl destype=file desformat=pdf desname="D:\My Documents\form\module2.pdf"
    The PDF file created and it looks exactly as the web layout as in Oracle Report Builder (Run Web Layout CTRL-R)
    Question :
    1. What supposed to be done?
    The Report server is ready, but the web browser seems unable to connect to Report Server.
    2. Can we used or call or executed an executable command line from Form (using PL/SQL inside button)?
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Problem solved.
    I got the solution from another post.
    Re: REP-51002: Bind to Reports Server rep failed
    Here are the step I did.
    Note : Please make backup for the following file : rwnetwork.conf
    - In file rwnetwork.conf, remove or commented the following
    <multicast channel="228.5.6.7" port="14021" timeout="1000" retry="3"/>
    - And then uncommented
    <namingService name="Cos" host="%NAMING_HOST%" port="%NAMING_PORT%"/>
    - replace the
    %NAMING_HOST% with your computer name or specify an IP address
    %NAMING_PORT% with 14021
    It should look like this :
    <namingService name="Cos" host="blahblah" port="14021"/>
    - I did not change the : name="Cos", since I do not understand what does it for
    - Save you changes.
    - Start the OC4J.
    - Find the location of : namingservice.bat (on Windows platform)
    - execute in the command line : namingservice.bat 14021
    - finally start the report in the web browser
    Note:
    To shutdown the namingservice, use : namingservice.bat 14021 shutdown
    Regards.
    Buntoro

  • FRM-41213 : Error raised by a form when launching report on the same server

    Hello !
    I get this error FRM-41213 when launching a report via rp2rro.rp2rro_run_product.
    I don't want to set the report server in a var or property into a library or a form cause my app is to be sent to customers who will not have the sources files.
    This app is a migration from an app 10g to 11g.
    In 10g whe hadn't to set the ReportServerURL ... But in 11g it can't be ok if we don't set the server URL (with the URL it's ok)
    The 11g Report server is running on port 9002, and the form server on port 9001 on the same machine. But the two server are accessible by an ohs on port 8888.
    What the f**k ?
    :)

    Hi
    I don't run my reports using rp2rro.rp2rro_run_product but in both 10g and in 11g have always needed to specify the name of the report server.
    We have used different methods for different clients/customers. At times we have stored this name in a table in the application, other times in a pre-defined file on the server which we read using text_io.
    HTH
    Tony

  • Problme To Run report9i from form9i , Received Error : FRM-41213

    DEAR SIR
    PLEASE HELP ME TO RUN REPORT9i FROM FORM 9i
    AFTER DEVELOPED REPORT FROM FORM., WHEN I TRY
    TO RUN REPORT PRESING FORM BUTTTOM I RECIVED
    ERROR AS BLOW.
    FRM-41213 : UNABLE TO CONNECT TO THE REPORT SERVER
    REPSRV
    CREATED FORM NAME MODULE1
    DATA BLOCK NAME ACCOUNTS
    ITEM ACCOUNT_ID
    BAL
    PUSH_BUTTON1
    (TRIGGER: WHEN BUTTON PRESSED)
    CODE OF WHEN BUTTON PRESSED ARE AS BLOW
    DECLARE
    Report_id Report_Object;
    ReportServerJob VARCHAR2(100);
    BEGIN
    report_id:= find_report_object('MyReport');
    ReportServerJob:=run_report_object(report_id);
    END;
    Property of MYREPORT
    Name : MYREPORT
    FILENAME: MY REPORT
    EXECUTION MODE : BARCH
    Comminicataion Moide : Synchronous
    Data source Data block : ACCOUNTS
    QUERY NAME : ACCOUNTS
    REPORT DESTINATION TYPE : CACHE
    REPORT DESTINATION FORMATE: HTMLCSS
    REPORT SERVER : SEPSRV
    Looking forward to your response.
    Kindly reply us as soon as possible
    With regards,
    Kanaiya

    Thank for reply, there is no error code, just giving this UNABLE TO INSTALL REPORT SERVER message, my report is runing through oracle form9i

  • Again FRM-41213: Unable to connect to Report Server

    Hi all
    I've been fighting with this problem a week, but I can not understand why my form, which works fine in the Oracle DS Report Server, can not run the report in the Oracle AS.
    I'm using the Oracle AS 10g. All forms and reports are done in the DS 10g too. All testing stuff I've made at once:
    1. rwclient works good
    2. rwservlet works too
    3. SSL is switched off
    The report server, which I use is in-proc sservice (installed during the installation of AS). I did not make any other service of reports - I think it must work too.
    I've made such code:
    PROCEDURE RUN_REPORT(pReportParams Report_Params_Type)
    AS
    lParamList ParamList;
    lReport REPORT_OBJECT;
    lReturn VARCHAR2(100);
    lRepServer VARCHAR2(100);
    lHost VARCHAR2(20);
    lPort VARCHAR2(6);
    lURLStr VARCHAR2(100);
    lStatus VARCHAR2(100);
    ljobID VARCHAR2(100);
    BEGIN
         lReport := FIND_REPORT_OBJECT(pReportParams.ReportName);
         TOOL_ENV.GETVAR('REPORTSERVERNAME', lRepServer);
         IF TRIM(lRepServer) IS NULL THEN
              SHOW_ERROR_MESSAGE('Report server name is not defined in the .env file');
         ELSE
              lRepServer := TRIM(lRepServer);
         END IF;     
         TOOL_ENV.GETVAR('HOSTNAME', lHost);
         IF TRIM(lHost) IS NULL THEN
              SHOW_ERROR_MESSAGE('Report server host is not defined in the .env file');
         END IF;     
    TOOL_ENV.GETVAR('REPORTSERVERPORT', lPort);
         /*IF TRIM(lPort) IS NULL THEN
              SHOW_ERROR_MESSAGE('Report server port is not defined in the .env file');
         END IF;     */
         IF ID_NULL(lReport) THEN
              Show_Error_Message('Report '||pReportParams.ReportName||' is not found');
         END IF;     
         lParamList := GET_PARAMETER_LIST('REPORT_PARAMS');
         IF NOT ID_NULL(lParamList) THEN
              DESTROY_PARAMETER_LIST(lParamList);
         END IF;     
         lParamList := CREATE_PARAMETER_LIST('REPORT_PARAMS');
    SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_COMM_MODE, ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_DESTYPE, CACHE); --cache/printer
    SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_DESFORMAT, pReportParams.Format);
    SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_SERVER, lRepServer);
    lReturn := RUN_REPORT_OBJECT(lReport, lParamList);
    ljobID := SUBSTR(lReturn, LENGTH(lRepServer) + 2, LENGTH(lReturn));
    IF ljobID IS NOT NULL THEN
    lStatus := REPORT_OBJECT_STATUS(lReturn);
    WHILE lStatus in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    lStatus := REPORT_OBJECT_STATUS(lReturn);
    END LOOP;
    IF lStatus = 'FINISHED' THEN
         IF TRIM(lPort) IS NOT NULL THEN
    lURLStr := 'http://'||lHost||':'||lPort||'/reports/rwservlet/getjobid'||ljobID||'?server='||lRepServer;
         ELSE
              lURLStr := 'http://'||lHost||'/reports/rwservlet/getjobid'||ljobID||'?server='||lRepServer;
         END IF;     
         SHOW_INFO_MESSAGE(lURLStr);
    WEB.SHOW_DOCUMENT(lURLStr, '_blank');
    ELSE
    Message('Report can not be run with status '|| lStatus);
    END IF;
    END IF;
    DESTROY_PARAMETER_LIST(lParamList);
    END;     
    END;
    The parameters: REPORTSERVERNAME, HOSTNAME, REPORTSERVERPORT are decribed in the env file. the name of the server is defined correctly.
    I noticed that the procedure
    lReturn := RUN_REPORT_OBJECT(lReport, lParamList);
    returns &lt;server_name_0&gt;. In the result, the job=0 - I think the forms service can not access to the report service, but I can not understand why.
    Could anyone help me?
    Thanks in advance

    1) pls make sure inproc server is up
    inproc server is hosted in oc4_bi_forms j2ee container. so oc4j_bi_forms should also be up
    give
    http://host:port/reports/rwservlet/getserverinfo?server=server_name
    and you can see status of server. (or you can in oracle enterprise manager)
    You can also see status of submitted jobs using
    http://host:port/reports/rwservlet/showjobs?server=server_name
    2) any reports servlet command will automatically start inproc server.
    but submitting a request thru run_report_object will not make it start automatically
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • FRM-41213 Unable to connect to the report server

    I am converting an app from 6i to 9i. There are many reports, and I am trying, rather unsuccessfully, to get them to work. I have run the report server setup, and have the service started on my laptop. I am trying to use the following code to run a report attached as an object to my form, but I am getting the above 'cannot connect to report server' error. Can anyone point me in the right direction to resolve this problem??
    declare
    plistid          paramlist;
    pl_name     varchar2(20) := 'report_params';
    rep_id REPORT_OBJECT;
    v_rep varchar2(100);
    begin
    plistid := create_parameter_list(pl_name);
         add_parameter(plistid, 'p_rpt_catg', text_parameter, v_rpt_hdr1);
         add_parameter(plistid, 'p_rpt_name', text_parameter, 'REPORT80');
         add_parameter(plistid, 'p_db_ver', text_parameter, 'V33');
    rep_id := find_report_object('REPORT80');
    set_report_object_property(rep_id, REPORT_EXECUTION_MODE, RUNTIME);
    set_report_object_property(rep_id, REPORT_DESTYPE, SCREEN);
    set_report_object_property(rep_id, REPORT_COMM_MODE, SYNCHRONOUS);
    set_report_object_property(rep_id, REPORT_SERVER, 'dvlpserver');
    v_rep := run_report_object(rep_id,plistid);
    Thanks -- Jean.

    1) destype=screen is not allowed
    2) Please refer this forms-reports integration document which explains in detail about the integration
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    3) In particular refer the pages 41-43 which explains some common errors and troubleshooting
    4) Also look at info provided on things to take care while migrating from 6i -> 9i
    Thanks
    The Oracle Reports Team

  • Error running BW report frm InfoView when pwd initialized/changed in BW

    Hi Experts,
    We encountered error "A database error occured. THe databse error text is: unable to connect to sap bw server name or password is incorrect (repeat logon) (WIS 10901)" when we tried to run a BW report from InfoView. We realize this happens only when the user's password is initialized or has been changed in BW.
    In our landscape, users SSO into InfoView via Windows Authentication. SSO between InfoView to BW is via SNC.
    The error is gone after loggin into InfoView through non-SSO method, then selecting "SAP authentication" method and login
    with new BW credentials. It seems like there' s a cache in BOBJ server containing the user's BW credentials. However, this is not a realistic scenario since users change their passwords frequently and we cannot expect them to login to InfoView with SAP authentication each time there is a password change. The requirement is that they are to SSO into InfoView using Windows Authentication.
    Similar to when password is initialized, it requires user to login to BW to change the password, then login to InfoView using SAP authentication to "sync" up the credentials. This kinda defeats the purpose of SSO isn't it? Anyone has any solution to this?
    THanks,
    ZM

    Hi Ingo,
    Thanks for the prompt reply. From the behaviour of the testing, it seems like BOBJ server has a cache ( correct me if i'm wrong here)  that contains users' BW credentials that is retrieved when user runs BW report in InfoView, as whenever the pwd is changed in BW via SAP GUI, users will always hit the error unless the user logs in the InfoView by selecting "sap" authentication on the logon page, which thus refreshes the cache in BOBJ. If users change their passwords in SAP GUI (BW), this will result in passwords in BW and cache of BOBJ server to be out of sync, and thus error still appears.
    1. Is this the standard behaviour for BOBJ cache to store the BW credentials?
    2. How can we sync up the user credentials?
    Thanks,
    ZM

  • FRM-41213 message will come up the first time

    When users run reports in Oracle Forms from time to time, particularly after the report server engine (InitEng=1, minEng=1, maxEng=2) has been idle for a while, the FRM-41213 message will come up the first time. Then, the second time (or after that) when users try to run reports again reports come up.
    It looks like, after certain idle time, all existing report server engines are killed automatically. Then, the very first call to the report server at that time will usually fail because it has exceeded the time limit to ping the report server when it is actually trying to start an engine.
    Is this an issue with the server configuration? If so, is there any way to correct it?
    Thanks.
    Andy

    The OAS version is actually 10.1.2.3 - latest patches applied to 10.1.2.0.2. The issue is actually intermittent and usually happens when there is a cold call to the report server from RUN_REPORT_OBJECT in Forms. When the first call fails, the second time (or after that) when the same report is called will always succeed. However, this failure pattern is consistent. I also tried to use "trcrro1012" to generate some trace files and got the following. Thanks.
    <pre>
    [Thu Oct 22 08:45:43 PDT 2009] Calling RUN_REPORT_OBJECT with REPORT_SERVER=apprs
    com.sun.corba.se.internal.iiop.ConnectionTable(Thread[main,5,main]): Client get called: host = 10.10.10.10 port = 4526
    com.sun.corba.se.internal.iiop.ConnectionTable(Thread[main,5,main]): SocketException java.net.ConnectException: Connection refused: connect while creating socket for new connection
    com.sun.corba.se.internal.iiop.ConnectionTable(Thread[main,5,main]): Serious error: aborting connection
    [Thu Oct 22 08:45:53 PDT 2009] RUN_REPORT_OBJECT returned : apprs_0
    ERROR TYPE : FRM
    ERROR CODE : 41213
    ERROR TEXT : Unable to connect to the Report server apprs.
    </pre>
    Here is the configuration file:
    <pre>
    <?xml version = '1.0' encoding = 'ISO-8859-1'?>
    <!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\product\midtr1012/reports/dtd/rwserverconf.dtd">
    <server version="10.1.2.0.2">
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="100"/>
    <!--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>
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="2" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000">
    <!--property name="sourceDir" value="your reports source directory"/-->
    <!--property name="tempDir" value="your reports temp directory"/-->
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="2" 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="reportsApp_oracle_oas10g.in.sfdph.net_E2EFB7E1AC6C11DEBFAB594FFB589A0E"/>
    </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" retry="3"/>
    <job jobType="rwurl" engineId="rwURLEng" retry="3"/>
    <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"/-->
    <trace traceMode="trace_append" traceOpts="trace_all"/>
    <connection maxConnect="20" idleTimeOut="20">
    <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+A6YTg0RUH18p+JnK5e6PYJzMHahoaXuaMlHLsLimJoUJC7SgRkIKvxUWzcN+fnGpAgXqPbDwQIip3iy1IVDD28qcMq341JDJJwkp3UHBmgF9iaHE1QT5Ax+oDOlbJDRu8UsVvWdEEYE+/I/eo4Lke/II/28sEGlHFJbQ39gtjMB9ULQcKnUVc8mNUTEEE+VoCCzboSmVB1Tlmw1WXrs5IPPTkiNwb6FeN+wSWv19mxKLJgUHzw3QXcGIM2h5dtO7SPlo5agERVicAVt83fWwrd5/1r7BJD/gsUS5tgob91faIqoDU8INtNWdbGJxiQJGKon/lGAqjkSIHbPVWiNUgcB4gNQtFZwFQ8BU9qQCpolnki9zj8NmkRZpqTeMsEDrj2EbJhrFg6UEnrxrgKy1vCYf0bhPyZks/mY94nW4tSekTnqUW5gFVgUe0Ms0WiPx0o=</identifier>
    <pluginParam name="mailServer">dphhub01.sfgov.org</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>
    </pre>

  • Error frm-41213

    Hi all i have install orcle 10 datbase and devloperSuite 10 on new machine
    every this is working fine but when i call the report from the form it will show me the
    UNABLE TO CONNECT THE REPort SERVER REPSERVER90 FRM-41213
    The report is saved in .rdf and in reports it will working fine
    and the my form when-button-pressed code is
    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(1000);
         rep_status VARCHAR2(1000);
    BEGIN
              repid := FIND_REPORT_OBJECT('REPORT5');
                   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' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://vikas_new:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    PAUSE;
    END;the report is connect with node available in the forms
    Please Guide
    Thanks And Regards
    vikas Singahl
    Edited by: vikas singhal on Feb 6, 2010 7:12 PM

    Vikas,
    The report server name is given wrong in your statement. If the computer name (report server name) is server90 then the report server name is rep_server90. In the code, you have given server=repserver90', You have to change that.
    Regards,
    Manu.
    If my response or the response of another was helpful, please mark it accordingly

  • Code lines which generate FRM-41213

    Hi all,
    Here is a portion of code which generate an FRM-41213's Errors:
    BEGIN
              V_rid:=FIND_REPORT_OBJECT(Rep_Obj);          
              -- setting Reports runtime parameters
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_FILENAME,'RD_DF1.rep');
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_SERVER,'myrserv');
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESTYPE,CACHE);
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESFORMAT,'PDF');
                             V_Other_Param:='userid=scott/tiger@db P_Num_Act=6212 P_Typ_Cod=O';
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_OTHER,V_Other_Param);
              V_rmessage     := RUN_REPORT_OBJECT(V_rid);
              V_rstatus      := REPORT_OBJECT_STATUS(V_rmessage);          
    END;
    When debugging is see that it's the last line which generate this error.I'm usind IAS/LINUX and the standalone report is installed on the server(rwserver).This report server works fine using showjobs or running a report by enter the full adress in the browser.
    Are There errors in my code?What's the problem
    plz help, it's very important.

    Hi,
    first of all, you don't need to pass username and password as REPORT_OTHER parameter. These values are passed implicit.
    The error message means "unable to communicate with Reports Server". You need to find out why the Reports Server cannopt be accessed from Forms (wrong name?). Ifthe Reports Server is on another server, does the Forms process have access to the network?
    If you run Forms and Reports 6i then teh Reports Server must be configured as an tnsnames entry in the Forms home.
    Frank

  • FRM - 41219 CANNOT FIND REPORT INVALID ID  - CALLING REPORT FROM FORM

    I am using Developer Suite 10g (forms 9i, reports 9i) . windows XP.
    I am using the following code in WHEN-BUTTON-PRESSED-PRESSED trigger in form to call report.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    BEGIN
    repid := find_report_object('C:\EMP.RDF');
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    as as result It is displaying FRM - 41219 CANNOT FIND REPORT INVALID ID.
    I have used the EMP.JSP also in find_report_object built-in. But there is no difference.
    what could be the reason - plz give the solution.
    with thanks
    by GMS

    Unless you made a mistake and overlooked it, what I suggested should work. Having said that, you did not mention the exact Forms version you are using. There may have been a problem in the version you are using which was corrected in a later release. I tested the example I offered using Forms 10.1.2.3 and it works correctly. Carefully review what you did. Verify that the file actually exists in the file system. Also, I would recommend renaming the file with all lower case letters and referencing it in the form with all lower case letters. Here is the complete code of the form I tested. I will also include the property values from the Report object.
    Report1 settings:
    Name - REPORT1
    Subclass Information -
    Comments -
    Filename - dummy.rdf
    Execution Mode - Batch
    Communication Mode - Synchronous
    Data Source Data Block - <Null>
    Query Name -
    Report Destination Type - File
    Report Destination Name -
    Report Destination Format -
    Report Server -
    Other Reports Parameters - On the form create the following items in BLOCK1:
    Text fields:
    <li>SERVERNAME
    <li>REPNAME
    <li>OTHERPARAMS
    Button:
    <li>CALL_REP
    In the WHEN-BUTTON-PRESSED trigger add this code:
    Declare
    repid REPORT_OBJECT;
    v_rep varchar2(256);
    rep_status varchar2(256);
    Begin
       repid := find_report_object('REPORT1');
    -- Set Report Object properties
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'HTML');
    -- Comm mode 1 = SYNCHRONOUS
    -- Comm mode 2 = ASYNCHRONOUS
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, 1);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, :block1.SERVERNAME);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, :block1.REPNAME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,:block1.otherparams);
    SYNCHRONIZE;
    -- Run report and get status
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := report_object_status(v_rep);
    SYNCHRONIZE;
    -- Wait for Reports to generate results
        WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
        LOOP
          rep_status := report_object_status(v_rep);
        END LOOP;
        SYNCHRONIZE;
    -- If DESTYPE is appropriate for displaying to user, execute WEB.SHOW ;   
        IF rep_status = 'FINISHED' THEN
          WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||:block1.SERVERNAME,'_blank');
        ELSE
          message(rep_status);
        END IF;  
    END; When you run the form, enter the Report Server name and the Report filename (include the path if you have not configured REPORTS_PATH). Then click on the button. Note that the substr logic may need to be altered slightly if you are using an old version of Forms/Reports.
    .

  • Getting   FRM-41029   when calling report from form

    Hi
    I have following procedure to run the report but its running fine but giving error FRM-41029 when calling the report from the form.
    runrep('MATREP,'REPSER','PDF','F:\rec\RepEnt.RDF');
    Repid := FIND_REPORT_OBJECT(repobj);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE, RUNTIME);
    set_report_object_property(repid, REPORT_SERVER, repserv);
    set_report_object_property(repid, REPORT_COMM_MODE, SYNCHRONOUS);
    set_report_object_property(repid, REPORT_DESTYPE,'file');
    set_report_object_property(repid, REPORT_DESFORMAT,repfor);
    set_report_object_property(repid, REPORT_FILENAME,repfile);
    rgds
    soumya

    hi
    try something like this.
    PROCEDURE sarah ( p_report_name varchar2, vParamValue number ) is
    l_param_list  paramlist;
    l_rep_id      report_object;
    l_rep_job     varchar2(100);
    l_rep_status  varchar(100);
    BEGIN
    l_param_list := Get_parameter_List('tmp');
    IF NOT Id_Null(l_param_list ) THEN
    Destroy_parameter_List( l_param_list );
    END IF;
    l_param_list := Create_parameter_List('tmp');
    add_parameter(l_param_list ,'p_num',text_parameter,to_char( vParamValue ));
    l_rep_id := FIND_REPORT_OBJECT( p_report_name );
    if
         id_null ( l_rep_id )
    then
      msg ( 'There is no Report ' || p_report_name || ' in form ' || name_in ( 'system.current_form' ) );
      raise form_trigger_failure;
    end if;
    SET_REPORT_OBJECT_PROPERTY(l_rep_id, REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(l_rep_id, REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(l_rep_id, REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(l_rep_id, REPORT_OTHER, 'paramform=no');
    l_rep_job := RUN_REPORT_OBJECT( l_rep_id, l_param_list );
    l_rep_status := REPORT_OBJECT_STATUS( l_rep_job );
    WHILE l_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    l_rep_status := report_object_status( l_rep_job );
    END LOOP;
    WEB.SHOW_DOCUMENT('http://sarah:8889/reports/rwservlet/getjobid'||substr(l_rep_job,instr(l_rep_job,'_',-1)+1) || '?server=repserver', '_blank');
    END; then u may call the procedure something like this.
    when-button-pressed trigger.
    begin
    sarah ('REPORT6', :block.item );
    end;sarah
    Edited by: S@R@h on Nov 30, 2009 9:39 PM

  • Run the Report as a Background job and Get the Output in Excel in Local PC

    Hello Gurus,
    I have one following requirement.
    One should be able to run the report as a background job and it should be possible to get the report in Excel format, also when running the report in background. The excel report should have the same information and look as the current SAPreport.
    Please provide some solution.
    Any helpful answer get surely awarded.
    Thanks a lot,
    Varlanir

    GUI_* WS_* Function In Background, CSV Upload
    GUI_* and WS_* function modules do not work in background
    When scheduling a job in the background the appropriate statement to read in your file is OPEN DATASET, and the file must be on the file system that the SAP server can see.
    At anytime, a user can switch of the Personal Computers even though the job is still running in the background.  Therefore GUI_* and WS_* function modules are not designed to work in that way, as they need to access your personal computer  file.
    To choose the correct download method to used, you can check the value of SY-BATCH in your code,
    if it is 'X' use OPEN DATASET and if it is ' ' use WS_UPLOAD.
    *-- Open dataset for reading
    DATA:
      dsn(20) VALUE '/usr/test.dat',
      rec(80).
    OPEN DATASET dsn FOR INPUT IN TEXT MODE.
    IF sy-subrc = 0.
      DO.
        READ DATASET dsn INTO rec.
        IF sy-subrc <> 0.
          EXIT.
        ELSE.
          WRITE / rec.
        ENDIF.
      ENDDO.
    ENDIF.
    CLOSE DATASET dsn.
    *-- Open dataset for writing
    DATA rec(80).
    OPEN DATASET dsn FOR OUTPUT IN TEXT MODE.
      TRANSFER rec TO '/usr/test.dat'.
    CLOSE DATASET dsn.
    What is the difference when we use upload, ws_upload, gui_upload function modules?
    UPLOAD, WS_UPLOAD, GUI_UPLOAD, are used in BDC concepts.  ie., Batch Data Communication.
    Batch Data Conversion is a concept where user can transfer the Data from non SAP to SAP R/3.  So , in these various Function Modules are used.
    UPLOAD---  upload a file to the presentation server (PC)
    WS_UPLOAD----    Load Files from the Presentation Server to Internal ABAP Tables.
    WS means Work Station.
    This is used upto SAP 4.6 version.
    GUI_UPLOAD-------    Replaces WS_UPLOAD. Upoad file from presentation server to the app server.  From 4.7 SAP version it is replaced.
    How to Upload csv file to SAP?
    Common File Download Upload Questions:
    How  you upload the data from text file to sap internal table?  From my knowledge its by upload or gui_upload. 
    How you download the data from sap internal table to text file?
    How  you upload the data from xls (excel) file to sap internal table how you download the data from sap internal table to xls(excel) file.
    You can upload data from presentation server to an internal table using gui_upload. Use gui_download to download from internal table to flat file.
    Use fm ALSM_EXCEL_TO_INTERNAL_TABLE to upload data frm excel.
    Use function module GUI_UPLOAD
    The FILETYPE refer to the type of file format you need: For e.g 'WK1' - Excel format , 'ASC' - Text Format etc.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\test.csv'
       FILETYPE                      = 'ASC'
      TABLES
        DATA_TAB                      = itab
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17.

  • Problem while running the report from a form

    Hi,
    I am able to call a report from forms9i using run_report_object. This report just has a boilertext within it. I did this just to check the functionality of run_report_object built-in. This worked perfectly.
    But when I am trying to call a report based on emp table from the form, it gives me error saying that it cannot run the report.
    Can anyone please help me.
    Thanks
    Narain

    Hi Ino Laurensse ,
    Thanks for the response.
    The error code and message is as follows
    frm-41214 Unable to run report.
    I am able to call from forms9i a report with some boilertext but not a report accessing the database. Thro' out I have never changed the username.
    The following are the changes I made
    In the rwservlet.properties
    I specified the
    reportserver name = repsrv ( I created it and started from the services)
    singlesignon = no
    I am able to run the report which is accessing the emp table from the report builder with the same user as the one which I am using in forms, but, the same I am not able to call from forms.
    thanks
    Narain

Maybe you are looking for

  • Returns to vendor PO with delivery..

    Dear All, When we process a return to vendor PO via ME21N , we selects the returns item box tick (Say company code - NZ01) Once the warehouse have confirmed the stock has been despatched we have to then create a outbound delivery via VL10B and then g

  • Order of fields in Primary key in where clause

    Hello, Does order of fields(complete primary key) in where condition matters with the performance or using of index ? Here is an example - BKPF has primary key - bukrs, gjahr, belnr. 1. select single awkey into lv_awkey   from bkpf where bukrs = p_bu

  • The reative cloud app won't open

    Downloaded all CC 2014 apps PPRO, PRELUDE,PHOTOSHOP,AUDITION etc. Premiere CC 2014 as mentioned before won't open it sends you to a trial and enter serial number page.  Thought I would reinstall all CC2014 apps but the CC app for installation won't o

  • PHP3 and Oracle8/8i

    Has anyone that has work'd with Oracle longer than me using PHP3 had any experience with actually designing a package within your database and calling it's functions/procedures rather than doing direct DML calls from your PHP3 pages? I'm currently tr

  • /usr/bin/ld: cannot find -lR

    I can not compile rkward (http://rkward.sf.net). Error infomation here: source='helpdlg.cpp' object='helpdlg.o' libtool=no depfile='.deps/helpdlg.Po' tmpdepfile='.deps/helpdlg.TPo' depmode=gcc3 /bin/sh ../admin/depcomp g++ -DHAVE_CONFIG_H -I. -I. -I.