Web.show_document built-in  problem

I use the web.show_document(url,target) built-in to call a web report from a form when i replace the target with _blank the report doesn't be called, however when i replace the target with _self,_parent,_top, the report is called.
I want to call the report in a new window so i should use _blank option
Please tell me how can i put the target equal _balnk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Note : When i run the form from forms builder, it calls the report and everything is OK, However when i run it from the web(using internet explorer 6), it doesn't call the report.
please tell me what is the problem with me ?

Similar Messages

  • Web.show_document jre+ie problem

    dear all,
    i'm trying to call reports from forms, on when_button_pressed trigger, and it works fine when the report is called from JRE applet (I'm using jre instead Jinitiator) through Firefox.
    But, when i call my form with Internet explorer, and click on button, another IE window is opened and got message "Enter your Single Sign-On user name and password to sign in"! [error_picture|[URL=http://img171.imageshack.us/i/ssoproblem.jpg/]]
    I tried to set: IE->tools->internet options->general->tabs (on the bottom of general tab)->When a pop-up is encountered:Always open pop-ups in a new tab
    and Open links from other programs in:A new tab in the current window, but still not works... :(
    Here's the code I'm using on when_button_pressed trigger.
    DECLARE
         hidden_action VARCHAR2(2000) :='';
         rep_url varchar2(2000);
    BEGIN
         hidden_action := hidden_action ||'&userid=' ||GET_APPLICATION_PROPERTY(username)||'/'||
         GET_APPLICATION_PROPERTY(password)||'@'||GET_APPLICATION_PROPERTY(connect_string);
         rep_url:='/reports/rwservlet?server=rep_ep-pis-03_OH_PORTAL&report=Acc_mrg_izvj_new.rdf'
         ||'&desformat=pdf&destype=cache&'||hidden_action||''     ||'&p_deptno=10&paramform=no';
         WEB.SHOW_DOCUMENT(rep_url,'_blank');
         message(hidden_action);
    END;my configuration:
    Forms [32 Bit] Version 10.1.2.3.0,
    IE: Version: 8.0.6001.18702
    DB: 10.2.1...
    Thx in advance,
    Adnan
    Edit: unfortunately, it seems that I have the same problem with firefox. Username which is necessary to logon on SSO window is portal administrator. It means that I have to somehow connect DB and AS (report server services) and allow database users to run reports via Oracle portal...
    Edited by: adnanBIH on Mar 25, 2010 10:22 AM

    Problem is solved ! This note from metalink helped me: [ID 316223.1]
    1.  Make a back up of the following files:
    $ORACLE_HOME/reports/conf/rwservlet.properties
    $ORACLE_HOME/reports/conf/<report server>.conf
    2.  In the rwservlet.properties:
    change:
    #SINGLESIGNON=YES
    to:
    SINGLESIGNON=NO
    3.  In the <report server>.conf:
    change:
       <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_<hostname>.us.oracle.com_BE6D095BE1044A70957E041E3DB98DE6"/>
       </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>
       <job jobType="report" engineId="rwEng" securityId="rwSec"/>
       <job jobType="rwurl" engineId="rwURLEng" securityId="rwSec"/>
    to:
       <!--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_<hostname>.us.oracle.com_BE6D095BE1044A70957E041E3DB98DE6"/>
       </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>
       <job jobType="report" engineId="rwEng"/>
       <job jobType="rwurl" engineId="rwURLEng"/>
    ...

  • Probleme mit secure web.show_document()

    Hallo,
    ich möchte einen Report wie im Dokument (http://www.oracle.com/technology/products/forms/pdf/10g/frmwebshowdoc_rep.pdf) beschrieben aufrufen!
    Beim ersten Aufruf des Reports erscheint die übliche Anmeldemaske.
    Wenn man dieses Fenster ohne Eingabe schliesst, und den Report noch einmal aufruft, erscheint die Anmeldemaske nicht mehr.
    Also Funktioniert die USERID_BEAN erst beim zweiten Aufruf???
    Die Ausgabe aus der Javakonsole:
    connectMode=HTTP, native.
    Version von Forms-Applet: 9.0.4.2
    4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    FrmReportsInteg3: Debugging true
    FrmReportsInteg3: Adding new userid string "lf/xxxxxxxx@tc10"
    FrmReportsInteg3: Setting domain to .xxxxx.de
    FrmReportsInteg3: Domain provided is not empty and is evaluated right now
    FrmReportsInteg3: First period found at 0
    FrmReportsInteg3: Second period found at 6
    FrmReportsInteg3: Cookie domain now is: .xxxxx.de
    FrmReportsInteg3: Setting cookie path to /reports/
    FrmReportsInteg3: Default cookie domain: .xxxxx.de
    FrmReportsInteg3: set RW_AUTH9i
    FrmReportsInteg3: Arguments: encryptionKey=reports9i; Reports version=RW9i
    FrmReportsInteg3: Cookie value for RW9i is: lf/xxxxxxxx@tc10;1126275499244:30
    FrmReportsInteg3: Encoded cookie value is: TXuSTNV2BEvREe5k2LSGiga4d16xt6KhwRKtsfgsaYwd
    FrmReportsInteg3: Complete cookie string is: userid=TXuSTNV2BEvREe5k2LSGiga4d16xt6KhwRKtsfgsaYwd
    FrmReportsInteg3: Added domain ".xxxxx.de" to cookie
    FrmReportsInteg3: Generated Cookie String: userid=TXuSTNV2BEvREe5k2LSGiga4d16xt6KhwRKtsfgsaYwd; domain=.xxxxx.de; path=/reports/
    FrmReportsInteg3: IE Cookie Set
    MfG D.Pfitzner

    Ich habe die Lösung selber gefunden (nach mehreren Stunden suchen).
    Ein SYNCHRONIZE vor WEB.SHOW_DOCUMENT hat mein Problem behoben!
    MfG Dirk Pfitzner
    Sorry, my next message is in english.

  • Web.show_document not working on 10.1.2.0.2 AS

    Hey guys. I just recently installed the stand alone AS forms and reports server 10.1.2.0.2.. the reporting functionality is not working...
    basically the application uses the reports engine to create a PDF file which is then read by the web.show_document built in. It works on the developer AS, but doesnt work for the forms and reports AS...
    the link I am reading the file from looks like this..
    http://<IP ADDRESS>:7777/forms/reports_output/116_rec_jan.PDF
    where the "IP ADDRESS" is the IP of the sever, and "/reports_output" is a virtual directory. Do I have the wrong port or something? The file "116_rec_jan.PDF" does exist on the server so I can't see the problem...
    Could it be that I dont have adobe reader on my server? Does the AS use the server's adobe reader to read the file or the client side adobe reader? Anyone know whats going on? Thanks for your thoughts.
    Mo

    The /forms part doesn't look right to me. Both /forms and /reports_output are virtual directories. I doubt that they resolve stacked on top of each other. Try taking out the /forms part.

  • WEB.SHOW_DOCUMENT opens additiional IE browser.

    Hi All,
    I am using web.show_document (web.show_document('file:///file_name','_blank') ) to open pdf and msg files stored at a location. For PDF files, web.show_document works fine and pdf file gets open. However for msg (email) files, a new browser gets open along with msg file. User need to close this additional browser.
    Also the word files opens in IE browser. We need not to open MS office files in IE browser.
    Any suggestions to overcome this issue.
    Regards,
    Vinit
    Edited by: Vinit on Feb 21, 2011 2:37 AM

    Vinit,
    Your code explicetly opens a new "Blank" browser window. The reason the new browser window goes away with the .pdf files is because you have an OS MIME association for .pdf's which controls how the file is opened on the OS. Clearly, there is no MIME association for the other file types.
    web.show_document (web.show_document('file:///file_name','_blank') )Try '_self' or '_parent' in place of '_blank'. For more information on the Web.Show_Document built-in please check the Forms Help system.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Feb 22, 2011 1:11 PM

  • Unable to create a reports server to test web.show_document in Forms 10.1.2

    Hi all,
    In Forms 10.1.2 DS, I'm trying to use the web.show_document built-in to 'generate' a report from a .jsp file. This JSP file was created by wizard through creating a report object in the Object Navigator. The code I'm using from a push button is as follows:
    web.show_document('http://<hostname>:8889/reports/rwservlet?report=<dirpath>\Sales.jsp&userid=<username/password@connectstring&server=<server_name>'
    As far as I am aware no 'reports server' has been created so I've tried the following command in a dos window:
    rwserver -install <server_name>
    but this just raises an 'alert' indicating that I should consult an installation guide to setup and install the server. So my questions are:
    (1) Is what I'm trying to do supported in DS?
    (2) What installation guide should I consult?
    Any information on this would be gratefully appreciated,
    Kevin.

    Hi Inol,
    Thanks for the response. I agree with the comment about exposing user details, I'm just doing a bit of experimenting at the moment! I tried to do what you suggest in terms of changing the URL but whether I reference the server or leave it out, the subsequent browser session seems to hang and then eventually I get a 'Page Not Found' response. On using the URL 'http://127.0.0.1:8889/reports/rwservlet/showenv?', I get an 'Access Denied' Error Page. Is there something additional I need to set up with regards to Reports to get this to work?
    regards,
    Kevin.

  • Forms web.show_document replace & in url

    Hi all
    i am trying to replace & in varchar for web_show.document
    v_params := v_params || '&name='
                       || replace(replace(replace(NAME, '"', ''''), '&', '%26'), ' ', '%20');
    Name ='es & tu'
    On debug all is correct Like es%20%26%20tu , but after web.show_document(v_params,'_blank') the link is ......es%20&%20tu........ WHY ?
    Why again symbol & is back ?
    Thanks
    ID
    Edited by: 1D10T on Feb 8, 2013 7:16 AM
    Edited by: 1D10T on Feb 8, 2013 7:20 AM

    Hi
    Are some configs who are changing a web.show_document ? The problem is still active
    On Debug varchar2 are correct es & tu replaced with es%20%26%20tu
    v_params := v_params || '&name='
                       || replace(replace(replace(NAME, '"', ''''), '&', '%26'), ' ', '%20');But in browser when calling a report ....es%20&%20tu why ?
    Thanks !

  • Web.Show_Document - Is there a file size limitation?

    It appears that Web.Show_Document has a problem displaying large .pdfs.
    Example: A .pdf size of *2505 KB* would not display, however I compressed the .pdf to *1172 KB* and the report displayed using web.show_document successfully.
    I am displaying the .pdf in an Oracle forms using web.show_document. The user presses a button (View Report) and it displays the report. Except, now it is not displaying reports close to 2000 KB in size.
    The error says **"Exhausted Resultset"**
    Is there a file size limitation with web.show_document?
    Environment Background:
    Forms [32 Bit] Version 9.0.4.1.0 (Production)
    Oracle Toolkit Version 9.0.4.1.0 (Production)
    PL/SQL Version 9.0.1.5.1 (Production)
    Report Builder 9.0.4.1.0
    ORACLE Server Release 9.0.1.5.1
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

    As already mentioned, WEB.SHOW_DOCUMENT has nothing to do with file size. This command simply sends a url to the system's default browser. There is no Oracle magic here.
    To the problem, you said:...The error says **"Exhausted Resultset"**Where are you seeing this message?
    Is Forms generating this message?
    Is this a custom message?
    Is this the complete message text?
    Is there an error number?
    This does not appear to be a Forms generated error message.
    I would suggest your store a large file in the same location as where your reports are located. The file should be of the same format (i.e. pdf). Open a browser and manually enter the necessary url to retrieve the content. I suspect the same problem would reproduce IF you believe the problem only occurs when the form calls WEB.SHOW. If it does reproduce then you have at least simplified the problem to a client browser requesting a document from a server.

  • Web.show_document problem

    I use the web.show_document(url,target) built-in to call a web report from a form
    when i replace the target with _blank the report doesn't be called, however when i
    replace the target with self,parent and _top, the report is called.
    I want to call the report in a new window so i should use _blank option Please tell
    me how can i put the target equal _balnk.
    Note : When i run the form from forms builder, it calls the report and everything is
    OK, However when i run it from the web(using internet explorer 6), it doesn't call
    the report.
    please tell me what is the problem with me ?

    Martin,
    the problem isn't with web.show_document but with teh Adobe plugin that can only run with one instance in a Webbrowser. Web.Show_document - seen technically - is nothing else than a URL requests no longer under the control of Forms
    Frank

  • Problem with web.show_document with Jinitiator and Firefox

    Not sure Firefox 2.0 is officially certified with Forms 9.0.4.1 and Jinitiatorbut regardless we have some users who want to use this combination. Everything seems to work fine except for the calls to web.show_document which opens a new browser window and displays some html etc.
    The problem is that even though the client Forms JVM is Jinitiator (1.3.1.18 or .21) when the call to web.show_document occurs somehow the Sun Java Plugin starts and having the two JVM's at once causes a fatal crash in Firefox. Can anyone suggest a way to preven the second JVM from opening?
    When the user uses the Sun Plug as the client Forms JVM there is no problem as the second JVM does not open. Unfortunately some users insist on Jinitiator with Firefox hence the problem. -quinn

    James,
    This whole applet embedded in a browser model for webforms is driving us batty at times. The list of problems includes:
    1) Users are constantly tempted by browser controls and accidentally do all sorts of things to get them in trouble. This has included but not limited to using the navigation arrows, jumping off to read their email in the same window as the form and returning to a dead forms session, minimizing, resizing, blurring off to another window and then returning back by clicking on the title bar of the browser and wondering why the form doesn't tab etc.
    Sure hobbling the browser by opening with limited functionality is a possibility but not a complete solution.
    2) New versions of browsers seem to break something. Both IE 7 and Firefox 2 have their own problems with web.show_document, especially file associations such as CSV and DBF and trying to open things in Excel in IE7.Firefox seems to have less problems for some yet some some oddities like the one that started this thread (and 2.0 opening new windows in tabs by default instead of windows).
    3) JVM jigsaw puzzle. Is it Jinit or Sun, which versions? Which combinations of browser version and JVM works.
    4) General fragility of the whole architecture. Running a client JVM in a web browser on top of a PC Operating system connectiong to a forms server over a network embedded in a Java Container server on a full blown web server running on a unix operating system is pushing the bubble. Throw in the mix that any of these components can be combined in numerous ways makes one wonder how it works as well as it does.
    Still users randomly getting dropped connections to forms server (network gltches?). General sluggishness (poorly written forms?). Periods of users with unduplicatable errors primarily network related it would appear.
    General feel that it is not rock solid stable. Perusing metalink documents on performance and tuning gives too much and too general info to troubleshoot so just shrug shoulders and say 'network problem'.
    What's the solution? Java webstart would seem to help at least with the browser realted issues but is that supported and documented how to use yet. Also we'd lose web_show_document which is critical (could it be replaced by webutil calls to open browser?).
    -quinn

  • 11g report bug !!!!  web.show_document paramform=yes   arabic problem

    hello,
    my problem already mentioned here .
    Arabic parameters with web,show_document  using parameters form not working
    i'm using Fusion 11g form & report 11g.
    my report support arabic, database also support arabic.
    my problem happen when i run my report with parameter form from browser url directrly as :
    http://localhost:9002/reports/rwservlet?report=d:\mojform\report.jsp&destype=cache&desformat=htmlcss&userid=scott/tiger&paramform=yes
    report query is : select * from emp where ename = :P_ename;
    the report run fine and i'm able to query and employee name and retrive them correctly from database. but i have some employees thier names is in Arabic
    text like 'احمد' when i enter this word in the paramter html form in the browser it return null, in sqlplus it work good and return the row.
    to make sure i add the name add fixed list and also as LOV in report user paramter form , it works fine when i choose english name from the LOV and return the row
    but when i choose an arabic name it said Warning: The value of restricted LOV parameter P_Ename !!!!??????
    viwing arabic LOV in Html form is working fine but passing this name as aparameter to the report server return null when using fixed list and when using LOV returns the above message..
    any i dea
    Edited by: user9283292 on Oct 6, 2011 11:40 AM

    hello,
    Thank you for reply.
    Yep, i already set the appropriate charset for the report server as you mention.
    still when i use Arabic as input in the parameter form box it return null.
    and when i a force the parameter box to user LOV it said : REP-0788: The value of restricted LOV parameter P_ENAME is not among the selectable values.
    I'm using Windows-1256 characterset in both 10g Database and both system registry ( Database Home) & ( Fusion home) also in the
    rwservlet.properties i use windows1256 also i use UTF-8 , but nothing ...
    any suggestions ???
    any suggestion.

  • Problem with web.show_document in calling report

    Hi ,
    I have started the reports server... Programs->run->"C:\oracle\product\DevSuite10g\BIN\rwserver.exe server".
    The system started a report server called "f".
    Pressing a button:
    declare
    begin
    URL_VAR:='/reports/rwservlet?server='||rep_server_name_var||'&report=texnikos_user\mod3_hmerolog_kinisis_.RDF'||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var||'¶mform='||param_form_var;
      WEB.SHOW_DOCUMENT(URL_VAR,'_parent');
    end;The system displays the error:
    REP-52266: failed starting the Reports Server f.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0.
    As action Oracle points out about it:
    Please make sure the server is not already started as a stand alone server.
    But there is not.... The server f has started successfully....
    Do you have any idea why is that...???
    NOTE: I use Oracle Dev10g. I also noticed that in the window which shows the status of the report server... in the last line as "active threads"(i don't know if i translated into english right ... the status is displayed in greek) that there are 2. Is this problem...???
    Thanks, alot
    Simon
    Message was edited by:
    sgalaxy

    Eventually , the report run... when the active thread got the value 1. How is it done...(i mean the value of 1 , instead of 2 when the report started...????) How to secure that the active thread would be 1 if this is the problem...????
    However , because the report is 2 page accross.... the report displays the first page and down the other page.... Is it possible to display both pages accross as i see them in report builder env....?????
    Thanks , a lot
    Simon

  • Problem: Web.Show_Document with separate frame = True

    We run our application in a seperate frame, so the applet is running outside our browser. When I change the URL in the browser-window the Forms Built-In Web.Show_Document does not work anymore (no browser window will be shown). Is it possible to solve this?

    Maurice,
    though Forms shows in a separate frame, the Applet instance is in the Browser window. If you change the URL in the Browser window then this is equivalent to closing the Applet session. The sepratate frame is a Java Frame that is called similar to
    Frame f = new Frame();
    f.show();
    There is no way to change this except the suggestion to make the Browser Window small as possible do the user does not play with it.
    Frank

  • Web.show_document  spaces in the URL problem

    Hi,
    I am using Web.Show_document to call the report from the form. Here some of the parameters having a spaces. It is giving a problem and report is not running. Pl guide me in this issue.
    Thanks & Regards,
    Gangi Reddy

    Try using %20 in place of the space in the URL.

  • Help: Passing parameter to WEB.SHOW_DOCUMENT problem.

    In the following sample code:
    DECLARE
    rep_url varchar2(2000);
    BEGIN
    rep_url:=‘/reports/rwservlet?server=repserv10g@fnimphiu-pc&report=reptest.rdf’
    ||’&desformat=htmlcss&destype=cache&userid=scott/tiger@orcl’
    ||’&p_deptno=10&paramform=no’;
    WEB.SHOW_DOCUMENT(rep_url,’_blank’);
    END;
    Instead of hard coding, I tried to pass a made assignment to &p_deptno by writing:
    &p_deptno=:PARAMETER.p_depno
    where :PARAMETER.p_depno is an existing parameter with value. It does not work.
    Any suggestions?
    Thank you in advance.
    Jimmy

    Not sure if this is what you want, are you trying to hide the value or just assign it when web-show_document is called:
    rep_url:=‘/reports/rwservlet?server=repserv10g@fnimphiu-pc&report=reptest.rdf’
    ||’&desformat=htmlcss&destype=cache&userid=scott/tiger@orcl’
    ||’&p_deptno='||:PARAMETER.p_deptno||'&paramform=no’;
    WEB.SHOW_DOCUMENT(rep_url,’_blank’);
    You will see the value in the URL, but it will populate the value when web.show_document is called.
    Richard

Maybe you are looking for

  • Using DBMS_JOB to schedule auto execution of procedure on a daily basis

    I need to implement a batch procedure for my project and would be using DBMS_JOB for the same purpose.I have tried creating a job for the same that I submitted using DBMS_JOB.SUBMIT() and I ran the job initially using DBMS_JOB.run(). Now at this inst

  • Confirmation  - error in process - idoc status 29

    HI , i got one new problem today. This is one of the case when one user createsconfirmation of the Purchase order and then Confirmation status goes to error in process. i check in RZ20 and found error in Idoc which is generated from that confirmation

  • OOP's ALV Report

    Hi All, Could anyone send me simple OOPs ALV report. Mail ID : [email protected] Regards, Parvez.

  • IPod loses everything after syncing and ejecting from iTunes 11.0.4

    hey there, After updating my iTunes to 11.0.4, I have been having trouble with syncing songs into my iPod 160GB. At the start it would sync and everything was cool until i ejected my iPod and everything in my iPod was gone, I plugged it back into my

  • RFC metadata change: how to refresh?

    Hi everybody I have a RFC in my model. If, after import, its metadata are changed, the new in/out parameters are ignored by VC. How can I workaround this problem (i.e. cache refresh, force metadata import again, ...) without renaming the RFC? Thanks