Open report in full window

How can i open the report from form in full window size. I am using run_product.

Try
DECLARE
pl_id ParamList;
BEGIN
pl_id := Create_Parameter_List('reportdata');
Add_Parameter(pl_id, 'MAXIMIZE', TEXT_PARAMETER, 'YES');
Run_Product(REPORTS, 'e:\yourreport.rdf', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);
END;
Frank

Similar Messages

  • JSF app - open report in new Window - via JSP?

    I have been reading through this forum but no one has done quite what I am trying so I thought I'd post my own version of this problem.
    The web app I'm working on is basically a report generator. Data is formatted via XSLT to .html files - that part works great. The problem is getting the app to open this new HTML file in a new window. I want to get this working with little or no JavaScript.
    startReport.jsp (a JSF file) is the form that validates the user input. The sole h:commandButton (I do NOT want a link) works fine sending the form and JSF returns its errors or mine (if the criteria results in nothing) as it should; the action method returns "failure" so the page stays the same.
    But when the action method returns "success" the JSF navigation-rule is setup to route to showReportFile.jsp (which is NOT a JSF file). This JSP is very simple:
    <%@ page import="java.io.File" %>
    <%@ page import="java.io.PrintWriter" %>
    <%@ page import="java.io.FileReader" %>
    <%@ page import="com.logipath.gict.cts.reporting.client.ReportClient" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
    <jsp:useBean id="reportClient" scope="session" class="com.logipath.gict.cts.reporting.client.ReportClient" />
    <%
    String fileName = reportClient.getReportOutputFile();
    PrintWriter writer = response.getWriter();
    char[] buffer = new char[1024];
    FileReader reader = new FileReader(fileName);
    int numRead = reader.read(buffer, 0, buffer.length);
    while ( numRead != -1 ) {
         writer.write(buffer, 0, numRead);
         numRead = reader.read(buffer, 0, buffer.length);
    reader.close();
    writer.close();
    File file = new File(fileName);
    file.delete();
    %>This works believe it or not. If I put the target="_blank" on the form tag in the startReport.jsp it even opens in a new window. Great. But with that attribute on the form element, if the page comes back in error - it shows up in a new window (as it is apt to do given the attiribute).
    Ok, the h:commandButton tag's target attribute is ignored. Fine. There has to be a way to do this but I just cannot figure it out and I'm no JSP expert.
    What I think will work is this. Since my report beans create HTML files, I've created a session bean called "currentReportBean" which holds a single attribute - the name of the HTML file to display. (This is how the JSP above works.)
    What I need to know now *(this is the question part)* is how can I flush the render response of my JSF life cycle, trigger the opening of this JSP in a new window, the restart the JSF life cycle at the begining so the "parent" page repaints normally? The JSP isn't part of the JSF page flow so I there's no "going back" or "refresh" to worry about. I would like to take the showReportFile.jsp file out of the navigation files altogether.
    I know this topic has been worked on at length, but not quite this way. Any help is greatly appreciated.

    arnieAustin wrote:
    No, the JSP resets the bean value after showing the file.My mistake; it wasn't the reload scenario that is an issue. It is when the user goes back and forth in history that this can be a problem.
    >
    But now I'm confused. JS cannot access server-based session values. How is it going to know to open the page? A cookie?Write the value to a JS variable when you render the page.

  • Transfer_State (open report in new window) with a PreQuery

    Hi
    As part of the standard template that we deliver to end users, one of the buttons in the toolbar is a button that allows the user to open the report in a new window. This means they can view the report without all the additional information that portal adds, which is quite useful for large reports.
    However, what I have found is one of our templates is not opening correctly, as the variable selection screen appears when the report is transferred to the new window (using TRANSFER_STATE command). For all the other templates, the filter values are remembered, so whatever values were entered on the selection screen, and whatever navigation was performed is transferred to the new window.
    The only difference I can see between the templates that work and the one that doesn't, is that the "error" one has a query which in turn has a pre-query.
    Is this a SAP bug, or standard behaviour, or something that we can get around?
    Cheers,
    Andrew

    Hi Andrew,
    We too had this issue when using transfer state.  All filter values where we used an exit would reset.  SAP said this was standard behaviour.  We ended up having to re-design and create all out templates!
    Cheers,
    Nick.

  • 2004s - Opening Report in New Window

    Hi there
    One of the buttons on our toolbar is a button to open the report in a new window. This provides functionality to allow the user to open the report without all the menus that EP adds on.
    It should be really simple, all I need to do is add
    target="_NEW"
    into the anchor tag, but in practice this doesn't seem to work.
    At the moment I have an HTML table, and an image in one of the cells. I then insert a hyperlink and go through the command wizard to generate the BW specific tags to transfer the state of the template. In the HTML view, I move the
    <img>
    tag into the
    <a>
    tag, so that the image is clickable.
    However, if I put the target in the
    <a>
    tag, so you would have
    <a target="_NEW">
    and then the
    <bi:attribute name="href">...
    , all that happens is that a new window opens, with the URL of the command that is supposed to be executed, but the command is never executed.
    Does anyone know how I can introduce a "target" window into the hyperlink?
    Cheers,
    Andrew

    Hi
    _BLANK appears to be the correct value to use, but the problem I get is that all that happens is a new window opens, and the BI command that is supposed to be executed is then in the address bar ... not the resulting URL.
    If I look in the API documentation, there is supposed to be a parameter TARGET_WINDOW on the link item, but when I insert a link item into my template, there is no such parameter that I can set ... not sure how to set it manually either
    Cheers,
    Andrew

  • NullPointerException when opening report on Linux ( Windows works ok )

    Our project is designed for Windows and Linux platform thus we need to generate Reports on both of this systems. However we noticed that behaviour of these libraries differes, depending on system they are used on. The same code on the Windows platform opens given report and prints it on expected devices. On Linux platform we are getting following exception:
    Exception in thread "Crystal" java.lang.NullPointerException
          at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.do(Unknown Source)
          at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
          at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
          at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
          at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
          at com.ppl.outputservice.crystalplugin.JobTemplate.openReport(JobTemplate.java:306)
          at com.ppl.outputservice.crystalplugin.JobManager.openJob(JobManager.java:120)
          at com.ppl.outputservice.crystalplugin.JobManager.performJob(JobManager.java:130)
          at CrystalPlugin.setParameter(CrystalPlugin.java:102)
          at com.ppl.outputservice.plugin.CrystalJavaPlugin.sendCommand(CrystalJavaPlugin.java:746)
          at com.ppl.outputservice.plugin.CrystalJavaPlugin.run(CrystalJavaPlugin.java:609)
          at java.lang.Thread.run(Thread.java:619) 
    The same happens with reports created with Crystal Reports 11 and Crystal Reports 2008.
    Unfortunatelly we have no possibility to check what makes the code to fail it's execution
    The second thing is that reports are not printed on the Linux OS ( Fedora6 ) . We are getting empty pages.
    The same happens with CupsPDF and real Laser Jet printer.

    In my 12.2.202.566, there's no such method as:
    com.crystaldecisions.sdk.occa.report.application.ReportAppSession.do
    that you have listed in your stack trace.
    Do you happen to have a rasapp.jar file in your build?  That's not part of Crystal Reports for Eclipse 2.0.
    I first recommend removing all jars, and copying in fresh.  You're having what I think is a bad mix of jar files.
    Sincerely,
    Ted Ueda

  • How to get SAFARI to open as a FULL WINDOW Screen

    Hey there people.
    Please help. How do I open Safari and get it to fill the whole screen rather than just the middle. I've looked up preferences and general appearances but nothing seems to indicate full screen. It's annoying as I cannot see the full webpage and having to scroll to the right all the time.
    Thanks in advance.
    Joanna

    Hi Joanna,
    Sadly, Safari doesn't offer full screen as a standard option. You can get Saft (http://haoli.dnsalias.com/Saft/index.html), an extension (shareware) for Safari, that will allow you to do fullscreen with Safari and add many other options to it.
    If you don't feel like paying anything for fullscreen, you can get Firefox 2 (http://www.mozilla.com/en-US/) and eventually get the much faster and better Firefox 3 (that will be release in the coming months).
    P.S.: Next time, try posting in the right category of the forum, hence Safari. You'll get a faster answer. (http://discussions.apple.com/index.jspa?categoryID=1)

  • Opening Report in New Window

    Hello,
    I have a form based on a procedure that calls a dynamic page that has two bind varibales. The code for the procedure is as follows:
    procedure call_biweekly(
    startdate IN date DEFAULT NULL,
    enddate IN date DEFAULT NULL)
    as
    begin
    biweekly.show(p_arg_names => portal30.wwv_standard_util.string_to_table('startdate:enddate'),
    p_arg_values => portal30.wwv_standard_util.string_to_table(startdate||':'||enddate));
    exception
    when others then
    null;
    end;
    Does anyone know how I could get the dynamic page "biweekly.show" to appear in a new window?
    Thanks,
    Martin

    Instead of calling biweekly.show in the procedure, do something like this:
    wwv_redirect.url(p_url =>
    'http://host:port/pls/portal30/portal30.biweekly.show?p_arg_names=startdate&p_arg_values='||startdate||
    '&p_arg_names=enddate&p_arg_values='||enddate);

  • I can't get the full window with tabs, or other controls. I have to use control-alt-delete to close the window.

    After loading on a link to KnightNews, all of the header stuff disappeared - Firefox box, minimize button, delete button, and the only way to get out of the KnightNews was control-alt-delete. I now find that any time i use Firefox, I have the same problem. I have deleted the program, reinstalled it, done a system restore, all to no avail. When I click on Firefox to open it, the full window appears briefly, then the whole screen is filled with the opening Firefox page. Clicking on a program in the history box brings it up, but it's the same scenario - control-alt-delete is the only way to get out. I also was not able to open the Troubleshooting Information which was listed below on this page.

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Or it might be caused by Hardware Acceleration.
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • ITunes having trouble going to full window.

    When I open iTunes, it doesn't open into the full window. I click the little full window icon, but it just shifts a bit and still doesn't fill up the whole window. Not untill I play with minimizing the page and unminimizing the page does it go into the full window of my computer. Any suggestions?

    This'll sound like a cop out  but the one area where Adobe provide free support is on installation issues.  I'd suggest you ring them and have them talk you through the procedure.
    Yeah, maybe it IS a cop out but they can probably sort out any issues in minutes where it could take days of exchanging messages to find something minor.

  • I am showing firefox in my tray but when I click on it, it will not open to a full screen. I have been using it up until today without a problem in Windows 7

    When I put my mouse over the firefox icon in the lower tray it shows small pictures of the home page but when i click on these they will not open to a full page. I am using windows 7. This problem just started today. I can use internet explorer without a problem. Thanks for any assistance you can give. I contact HP and they said to contact your support as they only support internet explorer.

    below is what I get with the dev.jeffersonscher.com etc. url. But what do I do with this information? I can launch safe mode, but I still get only the 2" icon/window of Firefox.
    JavaScript Browser Tests
    navigator object properties
    navigator.userAgent = Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
    navigator.appName = Microsoft Internet Explorer
    navigator.appCodeName = Mozilla
    navigator.appVersion = 5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
    navigator.platform = Win32
    DOM methods/collections
    if(document.getElementById) = true
    if(document.layers) = false
    if(document.all) = true
    window properties
    if(top.window.moveTo) = true
    if(top.window.moveTo(0,0)) =
    The following data is reported by a server running Microsoft IIS server and ASP:
    View selected http headers at <a href="svrvars.asp">svrvars.asp</a>

  • How Can I open Report within the same window instead of separate Window

    Hi All,
    I want to open report in my MDI form instead of opening it into a separate Oracle Report Navigator(i.e. Window which shows the report). How to do that? When I click the Report from Menu it should open it within the MDI Form. Any suggestion or reply would be greatly appreciated.
    One more question is how can i open report with in a maximized state. Actaully, the report will be opened in the normal state. How to open in maximized state instead of normal state. Is there any property in reports to acheive this?
    Thanks in Advance.
    Regards
    Gopinath Kona

    hello,
    reports is a separate application that is called from forms and therefore is running outside the context of the forms MDI window.
    you can use the commandline parameter MAXIMIZE=YES to start the runtime in full-screen-mode.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Open a report in new window ADF 11g

    I am trying to open a report in a new window. The problem is that I am having a link in a .jsff file when I click this link I go to another view activity using dialog: outcome and in the constructor of the backing for the target page I write the following code:
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpServletRequest request = (HttpServletRequest) ectx.getRequest();
    String temp = "http://localhost:7101/cms/report";
    try {
    ectx.redirect(temp);
    } catch (IOException e) {
    This code was working fine with ADF 10g but in 11g this code throws for me ResponseAlreadyCommit exception. I think that this is coming because .jsff is using PPR and this is not a full request but it is XMLRequest.
    SO, I tried to use the URL activity and make an outcome to this URL view activity BUT although the report appears but it is not displayed in a new window
    I can't use a javascript because to open a new window because some processing is done in the backing bean for the report parameters send from the page.
    Please any suggestion for this
    Thanks in advance

    Hi,
    one option I would see is to create a task flow that uses a JSPX page. The input parameter for this page would pass in the URL to call. Then you configure the task flow to be called from a call activity in the bounded task flow with the page fragment. On the task flow call activity configure it to open in a separate window
    Frank

  • Open doc URL: unable to open the report in same window

    Hi
    I'm trying to open a report using open doc url with "swindow=same" but still it opens in a separate window. This happens only when I use JAVA viewer. it works fine in ActiveX and HTML but I want this in JAVA viewer as i'm including this page in my JAVA application and it should open the report in the same window. I tried using "<a>URL</a>" and also target="_self" by HTML interpretation for that object but still the same problem. I'm unable to open the report in the same window by using JAVA viewer for Crystal Reports in info view. Please help me!!!
    Envirorment Details: Crystal Reports 2008 SP3, BOE XI R3 SP3
    regards
    Raghavendra.G

    I have tested that myself and It seems that HTML interpretation does not work with the Java viewer.
    I have also tried using a hyperlink containing javascript
    eg.
    javascript:window.location.href='http://www.sap.com'
    but the java viewer seems always to launch a new window before processing the command.
    I would recommend to open a case by SAP support ( httP://service.sap.com/support )
    Regards,
    Stratos

  • Open detail report in same window(same frame) in BI Publisher11.1.6.0

    Hi
    I have created 2 reports
    Master Report - Interactive view template
    Detail Report - Interactive view template
    I have given detail report hyperlink in Master report. when i click on the link, it opens in new tab or window instead of opening in same tab/window.This is happening only in case i have created report in Interactive view.
    If i create both the reports in RTF template then it's opening in same window/tab but my requirement is that template should be Interactive template as it's having sorting and filter functionality embedded.
    Kindly reply.
    Thanks
    Nitasha
    Edited by: 856219 on Mar 26, 2012 1:31 AM

    Hi Nitasha
    we need same exact requirement. Could you please let me know if you find any solution ?
    Thanks
    slokam

  • How to open Jasper report in New window (new Browser,new Tab)

    Hi,
    I'm Using oracle jdeveloper 11.1.1.4.0 fusion middleware for Jasper report. i want to open the Jasper report in new window
    In Application On click of CommandMenuItem(ExportToHTML)it opens the New Window,.While opnening this window i want to call a method (This method opens the jasper report in current browser)
    I Tried the afterPhase and beforePhase for this but doesnt work for me.while executing this using beforePhase I'm getting following Exception :
    Pls Help on this.Thanks in Advance......!!
    Java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
    at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:280)
    at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:112)
    at ReportsDisplayBean.exportHtmlReport(ReportsDisplayBean.java:272)Is any other way to do this ? :(
    Thanks.

    Hi,
    The view itself is a Web Part called an XSLT List View Web Part (XLV for short). This Web Part is stored on an ASPX page that is by default associated with a list or library on your site.
    I suggest you can check if the view page is valid, also, you can try to create another view, then redirect to the view page to see if there is xslt in the page.
    Here are some detailed articels for your reference:
    Create a custom list view using SharePoint Designer
    Using SharePoint Designer 2010 to Work with Web Parts
    How to: Customize the Rendering of a Field on a List View
    Best Regards
    Zhengyu Guo
    TechNet Community Support

Maybe you are looking for

  • Power outage. AEBS says repair is needed but disk utility can't repair it??

    This happens every time the power goes out. I would wake up and my airdisk would no longer mount. It says it needs a repair (256 error). I plug it into the MB and it says it's in read-only mode. Also, disk utility cannot repair it; says there's a fil

  • Mouse pointer and keyboard out of control

    The mouse pointer and keyboard can not control. Only powe button can use. The system is still running. The clock and battery indicator is still working how to solve?

  • Spark DataGrid with Dynamic Column Width

    Lets suppose I have a Spark Datagrid with no explicit typicalItem. When the Datagrid is initialized, the column widths are calcualted correctly based on the contents of the dataprovider. However if I add/remove an item from the dataprovider, or modif

  • Donot find user id 50001 in the HSP_USERS table

    Hi All, I am using EPM 11.1.1.1.0 and want to import a planning application. In one of the threads i read that you need to keep a backup of SID from HSP_USERS table in the schema where the USER)iD = 50001. But i donot have a record in the HSP_USERS t

  • In which table Scripting data is saved

    Hi Experts, I have configured scripting in  my ic web client profile. Now i have a business requirement like for which customer which script he requested(customer name-script name).    In which sap table scripting is  saved. Is it possible at the end