Srw.set_pdf_action( Calling Report)

Hi Friends,
I am successfully running this command to call report from another report in format trigger.
I am using it:-
srw.set_pdf_action(ACTION);
but if ACTION is more char it doesn't take all and take only 259 and shows blank page.
and when i correct that parameter in browser it work fine.
Regards
KarTiK PareeK.

It looks like a problem in acrobat.
I have an adobe acrobat, and I create a weblink URL for an area in a PDF file. I type in more than 300 characters for the URL, then re-edit the URL, I only see 259 characters.
Thanks,
-Shaun

Similar Messages

  • ERROR:SRW Packages to call report from PL/SQL.

    Hi,
    I am facing the following problem while calling a report from PL/SQL Block.
    This is my code
    SRW.Start_Debugging;
         MYPLIST :=SRW_PARAMLIST(SRW_PARAMETER('',''));
         SRW.ADD_PARAMETER(myPlist,'GATEWAY'     ,'http:..............');
         SRW.ADD_PARAMETER(myPlist,'USERID'      ,'CGIA_AUTO/AUTO_DEV@ipaddress/ORCL');
         SRW.ADD_PARAMETER(myPlist,'SERVER'      ,'rep_cgian');
         SRW.ADD_PARAMETER(myPlist,'REPORT'     ,'PGIRCGIC047.rdf');
         SRW.ADD_PARAMETER(myPlist,'DESTYPE'     ,'file');
         SRW.ADD_PARAMETER(myPlist,'DESFORMAT'     ,'pdf');
         SRW.ADD_PARAMETER(myPlist,'DESNAME'     ,'\\ipaddress\CGIA_FormPrint\WatchFolder\OTHERS\'||Z.CS_REMARKS_BL||'_'||Z.CS_CHQ_NO||'_'||M_SEQ_NO||'-'||Z.CS_FLEX_07||'-'||Z.CS_FLEX_08||'.pdf');
         SRW.ADD_PARAMETER(myPlist,'PARAMFORM'     ,'NO');
         SRW.ADD_PARAMETER(myPlist,'P_1'     ,Z.CS_BANK_CODE);
         SRW.ADD_PARAMETER(myPlist,'P_2'     ,Z.CS_BAD_ACNT_NO);
         SRW.ADD_PARAMETER(myPlist,'P_3'     ,Z.CS_CHQ_BOOK_ID);
         SRW.ADD_PARAMETER(myPlist,'P_4'     ,Z.CS_CHQ_NO);
         SRW.ADD_PARAMETER(myPlist,'P_5'     ,Z.CS_CHQ_NO);
         MYIDENT:=SRW.RUN_REPORT(MYPLIST);
    MYSTATUS := SRW.REPORT_STATUS(MYIDENT);
         SRW.STOP_DEBUGGING;
    *** Length of Paramlist : 1
    OK : Parameter added : GATEWAY=http://...
    *** Length of Paramlist : 2
    OK : Parameter added : USERID=CGIA_AUTO/AUTO_DEV@ipaddress/ORCL
    *** Length of Paramlist : 3
    OK : Parameter added : SERVER=rep_cgian
    *** Length of Paramlist : 4
    OK : Parameter added : REPORT=PGIRCGIC047.rdf
    *** Length of Paramlist : 5
    OK : Parameter added : DESTYPE=file
    *** Length of Paramlist : 6
    OK : Parameter added : DESFORMAT=pdf
    *** Length of Paramlist : 7
    OK : Parameter added :
    DESNAME=\\ipaddress\CGIA_FormPrint\WatchFolder\OTHERS\CUST000115_102024_16--.pd
    f
    *** Length of Paramlist : 8
    OK : Parameter added : PARAMFORM=NO
    *** Length of Paramlist : 9
    OK : Parameter added : P_1=SDNB
    *** Length of Paramlist : 10
    OK : Parameter added : P_2=7000674257
    *** Length of Paramlist : 11
    OK : Parameter added : P_3=7000
    *** Length of Paramlist : 12
    OK : Parameter added : P_4=102024
    *** Length of Paramlist : 13
    OK : Parameter added : P_5=102024
    Starting run_report: building url
    *** Building URL (RUN_REPORT)
    OK : URL built :
    http://ipaddress/reports/rwservlet?&USERID=CGIA_AUTO%2FAUTO_DEV%40ipaddress%2FORCL&SERVER=rep_cgian&REPORT=PGIRCGIC047.rdf&DESTYPE=file&DESFORMAT=
    pdf&DESNAME=%5C%5Cipaddress%5CCGIA_FormPrint%5CWatchFolder%5COTHERS%5CCUST00
    *** Submitting HTTP Request
    *** using URL
    :http://ipaddress/reports/rwservlet?&USERID=CGIA_AUTO%2FAUTO_DEV%ORCL&SERVER=rep_cgian&REPORT=PGIRCGIC047.rdf&DESTYPE=file&DESFORMAT
    =pdf&DESNAME=%5C%5Cipaddress%5CCGIA_FormPrint%5CWatchFolder%5COTHERS%5CCUST0001
    OK : Request submitted - Return stream : <?xml version = '1.0' encoding =
    'ISO-8859-1' standalone = 'yes'?>
    <serverQueues>
    <error code="503"
    component="REP" message="You did not specify the name of a
    report."/>
    </serverQueues>
    Here in this case even though i specify the report id in the parameter,debugger message says that 'You did not specify the name'.
    The same code is working in some other server and giving the pdf output.
    Thanks in advance for any clarification.

    Hello Chirag,
    If you want to invoke and run a report from your PL/SQL code in the database, you can do so by installing and using the SRW package supplied with Reports. This package allows you to run parametrized report jobs on a specified Reports Server from your PL/SQL program and track the job status. Please take a look at the documentation for this package in the Publishing Reports manual on OTN at: http://download-west.oracle.com/docs/html/A92102_01/toc.htm.
    On the other hand, if you just need to invoke the Reports Builder program from your PL/SQL routine, you would need to use the default builtin for calling external applications from PL/SQL.
    Thanks,
    The Oracle Reports Team.

  • Call Report from Report

    Dear friends,
    Any body know abt the script or process to call report from report.

    Hi,
    I have been able to call Report from Report using the hyperlink.
    I put these code in my Field on the Report caller.
    function F_3FormatTrigger return boolean is
      temp varchar2(2000);
    begin
      temp := 'http://<computer_name>:8889/reports/rwservlet?';
      temp := temp || 'server=repsrv' || '&' ||
                         'report=C:\MyReport\rep_detail.jsp' || '&' ||
                         'userid=scott/tiger@orcl' || '&' ||
                         'desformat=htmlcss' || '&' ||
                         'destype=cache' || '&' ||
                         'P_1=' || :ItemID || '&' ||
                         'P_2=' || :ItemName;
      SRW.Set_Hyperlink(temp);
      return (TRUE);
    end;The hyperlink showed, and I can see the rep_detail.jsp showed in the same browser after I clicked the hyperlink.
    The problem is, the hyperlink has to include the reports path and also userid and password.
    If I did not put the userid and password, it will showed in another browse that
    "The report has uncompiled PL/SQL"
    How can I hide those userid, password, and the reports path?
    BTW, Is there anyway to show the report callee in different page from the report caller?
    Any help would be grateful.
    Many thanks,
    Buntoro

  • Error in calling report from report??

    Hello experts,
    i am using oracle fusion middleware form and report 11.1.2.1.0 release.
    i am calling the report from report by using srw.set_hyperlink() function:
    format trigger code is below:
    srw.set_hyperlink(temp_path||'/reports/rwservlet?dblogin+server='||rep_server||'+report='||global_path
                ||'fac\reports\Fac_cheque_print_icici_0121_cc.RDF+destype=cache+desformat=pdf'
                ||'+paramform=no+locn_code='||:locn_code||'+vch_type='||:vch_type||'+vch_vch_no='||:vch_vch_#);error: EP-52005: The specified key dblogin does not exist in the key map file
    please help me out.
    thanks
    yash

    yash_08031983 wrote:
    Hello experts,
    i am using oracle fusion middleware form and report 11.1.2.1.0 release.
    i am calling the report from report by using srw.set_hyperlink() function:
    format trigger code is below:
    srw.set_hyperlink(temp_path||'/reports/rwservlet?dblogin+server='||rep_server||'+report='||global_path
                ||'fac\reports\Fac_cheque_print_icici_0121_cc.RDF+destype=cache+desformat=pdf'
                ||'+paramform=no+locn_code='||:locn_code||'+vch_type='||:vch_type||'+vch_vch_no='||:vch_vch_#);error: EP-52005: The specified key dblogin does not exist in the key map file
    please help me out.Hi, yash
    Check this link. try in sequences.
    1.http://www.orafaq.com/forum/t/164277/0/
    2. {thread:id=2383372}
    3. http://docs.oracle.com/cd/E12839_01/bi.1111/b32122/orbr_howto006.htm#i1058669
    Hope this helps
    Hamid
    Mark correct/helpful to help others to get right answer(s).*
    Edited by: HamidHelal on Apr 4, 2013 12:51 PM

  • Help: calling report from report in report 9i

    Background:
    1. Report Builder 9i and the outputs are PDF files;
    2. Report A and Report B both have two identical parameters: P1 and P2;
    3. Calling Report A through FORM using web.show_document() with paraform=YES,
    Help:
    If Report B can be called from Report A, the parameters P1, P2 passed through calling report A, the user then needs not to enter twice P1 and P2 using web.show_document().
    Wishful way of thinking:
    The Calling FORM refered here is the one that provides all buttons for more than 20 reports and that is the reason of using parameter form. Consequently, I am looking for ways of making:
    Calling FORM -> REPORT A -> REPORT B
    where both Report A and B have same parameters, calling FORM calls REPORT A using REPORT A parameter form and hoping that REPORT A can call REPORT B with these parameters.
    Any help are greatly appreciated.
    Jimmy

    I tried something in Before Report trigger like:
    function BeforeReport return boolean is
    begin
    srw.run_report('batch=yes sf1='||:pf1 || 'sf2='||:pf2 || ' report=REPORT_B destype=cache desformat=pdf');
    return (TRUE);
    end;
    An error raised as: REP-1428: 'beforereport': Error while running SRW.RUN_REPORT.
    Here sf1, pf1 and sf2, pf2 and two pairs of identical parameters.
    Any suggestions?

  • Hide UserID, Password, and Report Path when call Report from Report

    Hi,
    I have been able to call Report from Report using the hyperlink.
    I put these code in my Field on the Report caller.
    function F_3FormatTrigger return boolean is
      temp varchar2(2000);
    begin
      temp := 'http://<computer_name>:8889/reports/rwservlet?';
      temp := temp || 'server=repsrv' || '&' ||
                         'report=C:\MyReport\rep_detail.jsp' || '&' ||
                         'userid=scott/tiger@orcl' || '&' ||
                         'desformat=htmlcss' || '&' ||
                         'destype=cache' || '&' ||
                         'P_1=' || :ItemID || '&' ||
                         'P_2=' || :ItemName;
      SRW.Set_Hyperlink(temp);
      return (TRUE);
    end;The hyperlink showed, and I can see the rep_detail.jsp showed in the same browser after I clicked the hyperlink.
    The problem is, the hyperlink has to include the reports path and also userid and password.
    If I did not put the userid and password, it will showed in another browse that
    "The report has uncompiled PL/SQL"
    How can I hide those userid, password, and the reports path?
    BTW, Is there anyway to show the report callee in different page (precisely, open another IE) from the report caller?
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Thanks for the answers.
    Yet, I am still doubt about using cgicmd.dat.
    I have looked around in this forum saying that it is not secure to use cgicmd.dat. Because all report request does not use authentication (the client can directly open report without login).
    In Form, I can use the On-Logon to do the Oracle Form login (to do logon to the database), and then I use my own custom user login to restrict the menu for each user.
    I do this since I want to restrict the user,
    i.e user A can only view the sales form as well as sales report,
    user B can only view the purchasing form as well as purchasing report.
    Well, I am not so fond about the SSO itself.
    It comes to my mind, since I don't have to re-login (to the database) each time I call another form (login database is only once at the first Form, On-Logon). It also goes to when calling the report caller.
    What is RAD?
    How can we use it?
    Is OID = Oracle Internet Directory?
    If true, maybe, I won't use it since I don't understand about it also.
    Why we don't have to specify the userid and password when Form calls Report1 (using Run_Report_Object and Web.Show_Document())?
    But we have to specify the userid and password when Report1 calls Report2.
    Any help is appreciated.
    Many thanks,
    Buntoro

  • Interface to call reports

    Hi,
    I am looking for an interface to call oracle reports. I am using 9iAS and I thought of using Oracle Forms interface or PL/SQL cartridges(htp.p package).
    Could you please give your suggestions/useful docs/pros and cons in between PL/SQL cartridges(htp.p package) and Oracle Forms.
    Thank you,
    Prasad

    Prasad,
    There are many possibilities to call reports.
    You can call it from a browser, using the rwservlet, from a client using rwclient, from Forms using Run_Report_Object and/or web.show_document, from the database using the SRW package, using a thin client (available for most application servers).
    Probably you want to have a nice parameter Form to start the report from. You can build it with Forms or with JDeveloper as a JSP, and deploy your reports as JSPs as well. Many possibilities.
    Peter

  • SRW.SET_PDF_ACTION function with local path

    Hello,
    I need to lunch a new window browser from PDF generated by Report to start a
    Web Form.
    The documentation says i can put a local command in the SRW.SET_PDF_ACTION.
    my command is : C:\Program Files\Internet Explorer\IEXPLORE.EXE
    But when i generate the report from Report Server i get the following message :
    Unable to find file://c:\\machine.7777\reports\\Program
    Any idea ?

    Hello,
    Just add userid= in the URL , the reports Servlet will use the cookie to retrieve the
    userid info provided for the execution of the first Reports
    Regards

  • SRW.SET_PDF_ACTION reference to directory Names with spaces

    Hello,
    I'm trying to create a hyperlink that will spawn a new browser from a PDF report by using the SRW.SET_PDF_ACTION function; however this is not working when my directory structure has spaces in the names
    SRW.SET_PDF_ACTION('C:\"Program Files"\"Internet Explorer"\iexplore.exe www.yahoo.com');
    SRW.SET_PDF_ACTION('C:\Program Files\Internet Explorer\iexplore.exe www.yahoo.com');
    Each of these returns an error - This does work when I place iexplore.exe in folders without spaces.
    Any suggestions?
    TIA
    Brian

    Acrobat does not support automation of the Reader-extension process by any method. It is a feature which Adobe reserve solely for their LiveCycle server product range.

  • How to call reports 6i or forms 6i directly from oracle procedure

    Hi,
    Hi,
    Env: 6.0.8.25.2 (forms 6i/reports 6i)
    Database: Oracle 10g r2
    We are running a client server environment and not web based.
    I want to run the forms 6i or reports 6i directly from a database procedure/function and not by creating a procedure inside a form and then call a report.
    Looking for calling forms6i/reports 6i directly from sql*plus commands used inside the PLSQL database procedure/function. (Just like we create a stand alone package/procedure/function).
    I have developed many forms and reports and very comfortable in calling reports from forms 6i.
    My question was completely different but looks like i was not able to explain properly:
    I want to call the forms 6i or reports 6i directly from sqlplus* prompt and through stand alone oracle database procedure/function (procedure created directly in database but not as a program unit within form or report).
    There is a requirement to call the form through database scheduling by passing fixed parameters and then generate the report pdf and email automatically to various users.
    Also, is there any way to schedule a report automatically so that the report runs automatically in the scheduled time and send out reports to the users. I have developed a email program but looking for scheduling the report or forms 6i.
    Thanks,
    Srinivas

    Hi,
    There are couple of existing reports and forms developed in 6i and users are using them when required.
    For certain MIS reports, management wants them to be generated on daily/weekly basis and email to be sent to them as PDF files.
    Have a program which will convert to PDF and email to users but not able to trace on how to call the forms 6i or reports 6i and pass the report parameters so that the report is called directly through pl/sql so that i can schedule them.
    All the forms and report executables are located on server1 and database server is located in server2 and running on client/server architecture.
    Database version is 10g r2 and Forms/Reports version is 6i.
    Any code samples would be of great use.
    Srinivas

  • Calling Report from Menu (Oracle Forms 10g)

    We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
    Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.

    Here is the code to call report from menu in 10g
    DECLARE
    pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    v_server VARCHAR2(100);
    rep_status varchar2(100);
    v_host VARCHAR2(100);
    BEGIN
         select rep_server into v_server from reports_data;
         select machine into v_host from reports_data;
    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,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
    Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
         repid := find_report_object('REPORTOBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
              v_rep := RUN_REPORT_OBJECT(repid, pl_id);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
              WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   LOOP
                        rep_status := report_object_status(v_rep);
                             message('Running');
                   END LOOP;
              IF rep_status = 'FINISHED' or rep_status is NULL THEN
                   --Display report in the browser
                   WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
              ELSE
                   null;
         END IF;
    END;

  • Error calling Report and unable to bind Report Server

    Hi,
    I use Oracle Database 10g with Oracle Developer 10.1.2, in Windows 2000.
    I don't have nor use Oracle Application Server though.
    I tried to call a report from a Form, using Run_Report_Object.
    But the following error appeared.
    Error FRM-41213 Unable to connect to Report Server rep_<computer_name>
    I also tried to call a report, using Web.Show_Document.
    It launch another web browser, but the following error occured
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    Based on the white paper of Oracle Application Server 10g - Integrating Oracle Reports in Oracle Forms Services applications.
    I create my own report server using following command
    rwserver server=repsrv.
    Another java-based windows showed up. It shows that the server 'repsrv' is ready.
    I do the following:
    1. Navigate to http://localhost:8889/reports/rwservlet using web browser.
    It showed OracleAS Report Services - Servlet Command Help page.
    But there is no other window popup (The white paper stated that a 'in process' server
    should be invoked when starting a report for the first time).
    2. Navigate to http://localhost:8889/reports/rwservlet?userid=PRACTICE/PRTC@MYDB&report=C:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html&paramform=no&p_1=P1&p_1=P2
    my schema is PRACTICE, password PRTC and database instance MYDB
    the report path = C:\FORM\MODULE1.JSP
    The following error occured
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    3. Finally, I tried
    http://localhost:8889/reports/rwservlet?server=REPSRV&userid=PRACTICE/PRTC@MYDB&report=C:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html&paramform=no&p_1=P1&p_1=P2
    The following error occured
    REP-51002: Bind to Reports Server repsrv failed
    I don't understand.
    It seems that the Report Service is not recognized although the java-based window state that the Report Server (repsrv) is ready.
    My questions:
    1. Does it means that my report server is not running?
    Or it is running but the web browser didn't recognize it?
    I use Internet Explorer 5 and Netscape 7, both of them showed the same error message.
    2. The paper said there is supposed to be 2 type of server, 'In process' and custom server.
    Both of them will create a configuration file in /reports/conf in DevSuiteHomeDirectory.
    I can see the custom report server's configuration file which I create using rwserver
    (repsrv.conf)
    but I can't see the 'in process' server's configuration file (rep_<computer_name>.conf).
    What am I supposed to do?
    3. Is there any steps with I supposed to do after the installation?
    Well, I didn't find any error during the installation, everything seems to be just fine.
    Perhaps, I need to modify some files, specifya report server name,
    create the 'in process' server manually.
    Many thanks,
    Imelda

    Hi,
    I have already tried your suggestion.
    Since I am in Windows 2000 platform, so I do the first suggestion from the documentation.
    If the host machine is not in a network (that is, it is a standalone machine).
    Solution for Windows platform: Install the MS loopback adapter, as described on the Miscrosoft Web site (http:\\microsoft.support.com). Then, specify an IP address for your machine (either XP or Windows 2000), as follows:
    1. On your desktop, right-click My Network Places, and choose Properties.
    2. Right-click the MS loopback adapter, and choose Properties.
    3. In the Properties dialog box, select Internet Protocol (TCP/IP), and click Properties.
    4. Select Use the following IP address, and enter a valid IP address. The subnet mask field will automatically populate. Do not use the local host IP (that is, 127.0.0.1). For example, enter: 198.162.1.1.
    5. Click OK, and follow the instructions displayed.
    There is also solution for UNIX platform.
    But I do the Solution for Windows platform only.
    But still I've got the following error message :
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    And in the command line of OC4J which I started, the following error appeared :
    Not able to load oracle.reports.util.EnvironmentGlobal class
    Using oracle.reports.util.Environment class
    BTW,
    I also tried to use the command lin rwrun :
    rwrun report="D:\My Documents\TryReport\module1.jsp" userid=scott/tiger@orcl destype=file desformat=pdf desname="D:\My Documents\TryReport\module1.pdf"
    And somehow a PDF file appeared.
    It contains the output of the report I created.
    It exactly the same as the preview of the web layout which is run from Report Builder (Run Web Layout CTRL-R).
    Could this mean that the In-Process server is running?
    Perhaps the browser did not understand how to connect to Report Server?
    Is there anything should be done?
    Should I also do the Solution for UNIX platform? (Mine is Windows)
    And, why for Oracle Form (running as a servlet), everything seems to be normal?
    Does the Oracle Form use different server from Oracle Report?
    The problem is only when I tried to call report using a button inside Oracle Form.
    (Run_Report_Object and Web.Show_Document)
    Any light would be grateful.
    Many thanks,
    Buntoro

  • Calling Report from Oracle form 11g

    I am new to Forms 11g, trying to call report from Oracle forms 11g .
    I want to call report from oracle forms, but its giving error.
    Below is the code
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('empreport'); -- report node in forms builder
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, BATCH);
    set_report_object_property ( repid, report_filename, 'empreport.rdf' ); -- report name
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'RptSvr'); -- report server name
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    if
    rep_status = 'FINISHED'
    then
    WEB.SHOW_DOCUMENT('http://inorasrv-pc:7001/reports/dtd/rwservlet/getjobid='||v_rep||'?server='||'RptSvr','_blank');
    else
    message ( 'error while running reports-object ' || error_text );
    message ( ' ' );
    clear_message;
    end if;
    end;
    Above code giving following error :
    Unable to connect to report server RptSvr
    I think my report servername is wrong
    Where to find report server name in 11g.
    I am Using weblogic server, so can i give weblogic server name
    Thanks in advance.
    Edited by: parapr on Aug 17, 2012 1:52 AM
    Edited by: parapr on Aug 17, 2012 3:21 AM

    Hi,
    You have to have the report server
    a. Installed and configured
    b. Running.
    See
    http://docs.oracle.com/cd/E21764_01/bi.1111/b32121/pbr_strt001.htm
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_verify004.htm
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_conf003.htm#i1007341
    If you are using rwservlet then you will find the name from the Configuration file referred to in the last link.
    Cheers,

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

Maybe you are looking for

  • Where are the HP drivers?

    Hi, Apple itself mentiones HP drivers for e.g. the HP DeskJet 6127, they say Version 3.3.1, besides the Gutenprint 5.1.3 drivers. (http://docs.info.apple.com/article.html?artnum=306684) Where are these HP drivers? I cannot find them, even after insta

  • Can't set sample rate 1609

    Hi, we've recently upgraded to LV 8.6 and DAQmx 8.7 and then got problem with the data aquisition that uses the DAQmx API. For example, we have a cDAQ-9172 and 9239 AI module. The device could be user configured and a typical configuration could be a

  • Why are my Hyperlinks not working in mail?

    i Have rebooted and am able to read my mail but nothing happens when I touch the hyperlinks why is this?

  • Hooking up a touchsmart IQ500 series as a monitor

    Is it possible to hook up a TouchSmart IQ500 Series computer as a touch screen monitor for another HP Computer (Envy Phoenix 810 running Windows 365.

  • Final Cut Pro X frame error

    whenever I try to upload it says this The operation could not be completed because an error occurred when creating frame ___ PLEASE HALP