Saving report output to a file on the server.

Hi,
We are using BI Publisher Standalone version 10.1.3.3.1.
Is it possible to schedule a report to output to a file on the server?
I want the whole report to be saved as a file on the server.
This is somewhat similar to bursting to a file system, but, I don't want to split the output.
Any help is appreciated.
Thanks,
Nanda

Yes, use the scheduler and schedule the report,
do the bursting into FTP or
schedule the report to run and run it into FTP as a single FILE.
First option, you need to provide the query , with FTP server name, username, password etcccc.

Similar Messages

  • Saving JSP report output as a file on the application server

    I am trying to determine if it is possible to save a web based JSP report to the file system in the same way you can with a report generated via the rwservlet command. I am specifying DESTYPE=HTML and DESNAME=/home/mydirectory/abc.htm on the command line, but it seems to be ignored. The directory has 777 permissions on it.
    1. Is it possible to save the JSP output onto the file system just like paper based reports?
    2. Where, if any, is documentation addressing this issue? The reports deployment guide appendix lists all the URL parameters that are available to the various rw commands, but nowhere is discussed what params are relavent to JSP reports.
    3. If it is not possible to do this via the URL, does anyone know if I can somehow fetch out the inner HTML from the generated page at the bottom pf the JSP and then write it to the file system using JAVA? I know how to do it via JavaScript, but the reports are run on UNIX. Is there someway I can access the DOM inside the JSP?
    4. Why hasn't Oracle explained this better?
    Thanks,
    matt

    Thanks for getting back to me. But the documentation link below takes me to running rwservlet requests. This was not what I needed. The good news is my most excellent DBA, Manoj Gandhi, found an old TAR in Metalink that emphatically states that what I am trying to do is not possible. See Note:272401.1
    Well, sort of not possible...
    As it turns out it is possible, but you must schedule the report for immediate execution using the rwservlet's scheduling facility. Again, this came to me via my DBA. The TAR for this piece is Note:295420.1. Ignore the rwservlet urlparameter= part as best I can tell it's gibberish. Below is what I did. Substitute your info for the stuff in UPPER CASE and put it all on one contiguous line of course:
    http://SERVER:PORT/PATH/rwservlet
    ?server=REPORT_SERVER_NAME
    &destype=file
    &desname=A_PATH_AND_FILE_FILE_NAME_WITH_EXTENSION
    &jobtype=rwurl
    &schedule=
    &urlparameter=http://SERVER:PORT/PATH/JSP_NAME?userid=USERID&OTHER_PARAMETERS...
    I am not sure why cmdkey= fails when passed in the urlparameter= but I am working on a solution!

  • Saving report output in default path

    Hi,
    We are using the 6i reports server. We want to save the report output as a file in a default path. We are making the report requests through URL call from within a PL/SQL block. When we give just the filename(this will dynamically be generated for each request) in the DESNAME parameter, it is saving directly into the path where we started the reports server. We don't want to hardcode the required path in the PL/SQL block.
    Can't we set the default path for saving the report output during the configuration of the reports server?
    Is there any alternative to achieve this, like storing the path(without filename) in any configuration file similar to <servername>.conf in 9i reports server?
    Regards,
    Milton.

    Hi Milton
    Try these suggestion and see if they work...
    Add ORACLE_HOME/bin in your system PATH and run Reports Server from the folder where you want your output file to be generated.
    You could also be storing the "default" path in a config file and use IO packages to read it.
    Create a user parameter of character type and do the following in any of the Reports trigger:
    :desname := :p_1 || :desname;
    You may pass the "default" path on the URL.
    Regards
    Sripathy

  • Saving report output on client machine

    Hi All,
    I'm using reports 6i. I'm running a report on the web which runs 5 reports inside it and it should save the outputs of these five reports in PDF format to the client machine. I can not give mime type as i don't want to show it in the acro. reader. What i want is, silently all these 5 outputs should get saved on the client machine and the main reports should say something like 'The reports generated and saved in c:\...... '. Can somebody help
    TIA
    Manish

    hello,
    what you can do, is to run the reports to file on the server in a directory, that is available as virtual path and then use e.g. javascript to fetch these reports.
    hope this helps,
    the oracle reports team

  • REPORT output to possible files formats

    Hi Folks
    How can we tranasfer a REPORT output to any file like( .XLS, .XML, or to anyother possible file). Can u give all the possible file procedures.
    Thanks in advance.
    I wont forget to reward points.
    Regards,
    Ram

    Hi Ram,
    Use can very well use the function module 'GUI_DOWNLOAD'.
    The below code clarifies your doubt as how to mention the path in the selection screen.
    tables: mara.
    data: itab type standard table of mara.
    select-options: s_matnr for mara-matnr.
    parameters: filename like rlgrap-filename default 'C:\materail_details.xls'.        " download filename
    start-of-selection.
    select *
    from mara
    into table itab
    where matnr in s_matnr.
    perform file_download.
    *&      Form  file_download
          text
    -->  p1        text
    <--  p2        text
    form file_download .
    data: filename1 type string.
    filename1 = filename.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                        = filename1
       FILETYPE                        = 'DAT'
      tables
        data_tab                        = itab
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.                    " file_download
    Here C:\material_details.xls is the path to save your file. In the same way you can save a text file also.
    Hope this clarifies your doubt.
    Regards
    Sayee

  • How to do the ALV report output in groups and caluculate the tOTALS(URGENT

    Hi
    In my ALV report output .I have to group the output based on the DAYS field
    0-10 days in one group
    10-30 days in one group
    above 30 days one group
    There is also a field by name "AMOUNT" in my output.
    I have to calculate SUBTOTALs at the end of every group and at the end of the report i should caluculate GRAND TOTAL.
    Please remember that i should not use any any BLOCKED ALVs and for Totals i should not use the SYMBOLS provided in the application toolbar of the report
    Thanks in Advance

    Please don't repost your questions...
    Check out my answer in your other post.
    How to make the ALV report in groups  and caluculate the TOTALS
    Regards,
    Naimesh Patel

  • Opening Output Stream to a file on the server from Applet

    Hi,
    I am trying to write a little applet which parses a file found on the server , lets the user select some Strings then write the selected Strings to a different file on the server. I use the following code:
    String fileName = new String("LineUp");
    URL docBase = null;
    URLConnection conn = null;
    try {
    docBase = new URL(ApppletName.codeBase, fileName);
    } catch (java.net.MalformedURLException e) {
    System.out.println("Couldn't create image: "
    + "badly specified URL");
    try {
    conn = docBase.openConnection();
    } catch(IOException e) {System.out.println(e);}
    String playerString;
    try {
    conn.setAllowUserInteraction(true);
    conn.setDoOutput(true);
    conn.connect();
    PrintWriter out = new PrintWriter(
    conn.getOutputStream());
    etc..
    The problem I am having is that the getOutputStream routine for the connection object does nothing other than throw an exception (I've stepped through the code and that is all the routine actually does). The connection is actually made but no output stream can be created. I have looked at the Java Tutorial (as I am fairly new to Java) and found a spot where they tell you how to write to a file on the server, which is the example I have followed. Any suggestions? What am I missing?

    Yes, that's what I thought. It talks about writing to a URL, and you have interpreted "URL" as if it meant "file". A URL is a "Uniform Resource Locator", which is a string that identifies a "resource" on the server. Often that corresponds to a file on the server, but not always. It could be a page that is dynamically generated by a script on the server.
    Look again at that page and you will see these words: "At the other end, a cgi-bin script (usually) on the server receives the data, processes it, and then sends you a response, usually in the form of a new HTML page." What that means is, you can't just upload a file to a URL unless you have programmed the server to deal with that upload. That's part of the basic design of the HTTP protocol.
    So, unfortunately, you can't do what you want all that easily. You would have to provide some programming at the server to handle the file upload for you. In Java that means writing a servlet and getting the web server to have that servlet handle all requests to a particular URL. I suspect you don't want to get into that just yet. But if you do, any decent book on Java servlets should have an example of how to upload files like this.

  • Is anyone having an issue with saving Adobe Photoshop files to the server?

    Unable to save Photoshop files to the server. Has anyone faced the same problem?

    Two options. Doing either one worked.
    1st option
    In Photoshop preferences under File Handling set Preview to Never.
    This has been working for me all day. Maybe a couple of times I got something about not being able to save because of not having access to the file, but then the save as dialog comes up and hitting okay saves the file.
    Wasn't a big deal.
    2nd option
    Create a file (it didn't exist) in the /etc folder named nsmb.conf file, with the contents below.
    [default]
    streams=no
    Here's where I got the info.
    http://forums.adobe.com/message/4590780#
    Currently I'm doing option one, as it only turns off a feature in Photoshop and doesn't reconfigure anything in the OS.
    It's probably just a byproduct of an OS being updated (lots of things happening) and Apple will remedy it in 10.8.1. At least this works for now.

  • Redirecting spool output to a file on app. server

    I'm running a SAP report as a background job.
    I hve a requirement to send the spool output to a file on app. server. This needs to happen automatically in background.
    I'll appreciate any suggestion.

    Hi,
    use report from Re: output to pdf format and substitute pc-download with file transfer
    good luck
    Andreas

  • How to download a text file from the server

    hi everyone,
    can anyone tell me how to download and read a text file from the server and saved in into resource folder.
    with regards
    pallavi

    its really easy
    To read from server, use something like:
    HttpConnection connector = null;
    InputStream inp_stream = null;
    OutputStream out_stream = null;
    void CloseConnection()
         if(inp_stream!=null)inp_stream.close();
         inp_stream=null;
         if(out_stream!=null)out_stream.close();
         out_stream=null;
         connector.close();
         connector = null;
    public void getResponse(String URL,String params)
      try
         if(connector==null)connector = (HttpConnection)Connector.open(URL);//URL of your text file / php script
         connector.setRequestMethod(HttpConnection.POST);
         connector.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.1");
         connector.setRequestProperty("content-type", "application/x-www-form-urlencoded");
         //connector.setRequestProperty("charset","windows-1251");
         //*** If you need to send ("arg1=value&arg2=value") arguments to script use this:
         out_stream = connector.openOutputStream();
         byte postmsg[] = params.getBytes();
         out_stream.write(postmsg);
         int rc = connector.getResponseCode();//in any case here connection will be opened & closed
         if (rc != HttpConnection.HTTP_OK)
              CloseConnection();
              throw new IOException("HTTP response code: " + rc);
         inp_stream = connector.openInputStream();
         int pack_len = inp_stream.available();
         byte answ[]=new byte[pack_len];
         inp_stream.read(answ);
         CloseConnection();
         ProcAnswer(answ);//process received data
      catch(Exception ex)
         System.err.println("ERROR IN getResponse(): "+ex);
    } And you can read from resource file like
    public void loadFile(String filename)
        DataInputStream dis = new DataInputStream(getClass().getResourceAsStream("/"+filename));
        String str="";
        try
             while (true)
                ch = dis.read();//read character
                if(ch=='\r')continue;//if file made in windows
                if(ch=='\n' || ch==-1)//end of line or end of file
                    if(str.length()==0)continue;//if empty line
                    //do some thing with "str"
                    if(ch==-1)break;//it was last line
                    str="";//next line
                    continue;
                 str+=(char)ch;
           dis.close();
       catch (Exception e)
           System.err.println("ERROR in loadFile() " + e);
    }Welcome! =)
    Edited by: MorskoyZmey on Aug 14, 2008 3:40 AM

  • How can I save a file in the server?

    Hello,
    I am writing a Java Web Start program that it will generate a html file, how can I save the generated file in the server, fro example, the directory where I stored my JAR files. Because right now, it will create the html file in the local client mahcine instead of the server. Can anyone tell me how can I do this? Thanks you.

    Yeah, thanks but that's not what I was trying to ask.
    I know that you can save and open a document by performing these three steps:
    1. Confirming to save a file to the Downloads folder
    2. Open the download manager by clicking the temporarily green arrow
    3. Clicking on the downloaded file
    What I would like to know is whether or not it is possible to have Firefox open a saved file ''automatically''. At the moment, if I choose to open it automatically, it is only saved to my temp folder.
    It would be great though if it was saved to my Downloads folder ''and'' opened with the respective program on my pc. Is there a way to do this?

  • How can I display the front panel of the dinamically loaded VI on the cliente computer, the VI dinamically loaded contains files, I want to see the files that the server machine has, in the client machine

    I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
    Attachments:
    micliente.llb ‏183 KB
    miservidor.llb ‏186 KB
    rdsubvis.llb ‏214 KB

    I down loaded your files but could use some instructions on what needs run.
    It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
    Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
    hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to create a file in the server?

    Hi,
    I'm making a webservice that has to generate a XML file, sign it using another webservice and return this XML. The problem is that i don't know how to create the file in the server throught webservice.
    I use this code in the webservice to generate the XML and after I return the XML to client in a byte[]
         static void outputDocumentToFile(Document myDocument, String path) {
            //setup this like outputDocument
              try {
                   // XMLOutputter outputter = new XMLOutputter("  ", true);
                   XMLOutputter outputter = new XMLOutputter();
                   //output to a file
                   FileWriter writer = new FileWriter(path);
                   outputter.output(myDocument, writer);
                   writer.close();
              } catch(java.io.IOException e) {
                   e.printStackTrace();
        }But the file is generated in the client-side, how can I generate the file in the server-side?
    Thanks very much.

    Well the File object doesn't create a file it's simply an abstract representation of file and directory pathnames.
    You can try something like this:
    <%
    try
    // get the path to the web server root
    // I read somewhere not to use 'getRealPath' for some reason which I
    // can't seem to remember :S Hopefull someone can enlighten us :)
    String path = application.getRealPath("/project/jsp/demo.txt");
    File file = new File(path);
    PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(file)));
    writer.println("Hello World!");
    writer.close();
    catch (Exception e)
    System.err.println(e.getMessage());
    %>
    Hope this helps :)

  • Writing from a BLOB to a FIle on the Server

    I need to be able to save the data from a BLOB column to an external file on the server, preferably in a temporary directory. Afterwards I will add a header to the file and send to the web client. I believe I know how to add the header. However, everything I have read in DBMS_LOB or UTIL_FILE describes saving a BFILE or CLOB to a BLOB, but not the reverse. Can you save from a BLOB to an external file on the server? The processing must be done on the Server.
    I have been able to select TEXT from a VARCHAR column and save to a file on the server but unable to select a BLOB and save to the file.
    Thank you for your help,

    UTL_FILE would be the correct thing to use, but I seem to recall that it didn't work for binary files. It apparently adds CR LF data into the files when written. I am not sure if this has changed recently or not. You might try posting in the database or PL/SQL forum about UTL_FILE.

  • How to Generate PDF file on the server

    Hello Everybody !
    I Need to generate a PDF File on the server, and I'm usin the command :
    "OPEN DATASET p_path FOR OUTPUT IN BINARY MODE message l_verro .
           LOOP AT t_lines.
             TRANSFER t_lines-tdline TO p_path.
           ENDLOOP.
           CLOSE DATASET p_path.  "
    The File was generated, but is corrupt . Don't Open the file, It's wrong.
    When I use the function GUI_DOWNLOAD the file is generated  right. But in the server not.
    Can someone help me please ??
    Best Regards,
    Wagner Duarte

    Hi.
    did you check this post?
    Download PDF File to SAP Application Server
    It doest the same as you are asking.
          " Write PDF Binary Data to App Server
        OPEN DATASET lv_filename FOR OUTPUT IN BINARY MODE.
        IF sy-subrc = 0.
          LOOP AT lines INTO ls_data.
            TRANSFER ls_data TO lv_filename.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET lv_filename.
    Regards
    Miguel

Maybe you are looking for

  • Creation of enhancement id for making custom changes in IMG

    Hi How do i create an enhancement id so that i can make custom changes in the IMG Regards Ravish

  • HT5631 how do I reset my iphone

    I had to change my Apple ID because I had so much trouble with it (always asking me to reset my password), and at the same time I changed email provider, so I don,t have the same email address then before. Everything went well on my computer, but for

  • Save Power spectrum

    Hi I would like to save a power spectrum ( about 80000 lines of data) as a file that i can later plot. When i write the cluster (coming out of FFT Powerspewctrum.vi)  to an excel  (excel works only upt o 56000 or something like that, so i can´t use i

  • How to hide some functions in the menu bar of flash paper

    Do anyone know how to hide some functions in the menu bar of flash paper? As I want to show a swf file(converted from pdf) on the website without printing function. How can I do it? Also, if possible, can anyone know how to hide all functions on the

  • Buffer status "absent" on T77ED in ST02

    Hi, all I am having a lot of trouble with making the buffer state "valid" on that table. The table size is quite small with only a few hundred rows right now. The table is setup as fully buffered. When checking the generic key buffer, I have a lot of