By default where do reports write output files on web server

I am running forms and reports over web. I am running a form which on the click of a button runs a report. Using the
Orarrp utility (I already have) I want to print this report.
In my form trigger I am using the run_report_object and I set report parameters DESTYPE to File, and I set
DESNAME giving it a file name. When report finishes, I use Show_Document('http://server:domain/filename.ext','_blank'), it returns the 404 error, The requested URL
/receipt.rrpa was not found on this server.
Can anyone tell me, by default where the server writes the file output? I have checked under
$ORACLE_HOME/reports60/server/cache but did not find my output file.
Is there a way to specifically direct the output file to a directory, and have the reports server recognize the path?
Perhaps using some sort of 'Virtual Path' in the server configuration, but where?
Any help is appreciated?
Regards
Mark

Hi Mark,
In Oracle Reports 6i, reports is only written to cache when DESTYPE=cache. For DESTYPE=File, the report is wriiten in DESNAME mentioned.
Your URL : http://server:domain/filename.ext, filename.ext is respective to the WebServer root directory. Assume your Webserver roor directory is "d:\apache\home".
Set the DESNAME respective to your Webserver root directory (DESNAME=d:\apache\home\filename.ext).
With Regards
Reports Team

Similar Messages

  • By default where does report write output files on web server

    I am running forms and reports over web. I am running a form which on the click of a button runs a report. Using the
    Orarrp utility (I already have) I want to print this report.
    In my form trigger I am using the run_report_object and I set report parameters DESTYPE to File, and I set
    DESNAME giving it a file name. When report finishes, I use Show_Document('http://server:domain/filename.ext','_blank'),
    it returns the 404 error, The requested URL /receipt.rrpa was not found on this server.
    Can anyone tell me, by default where the server writes the file output? I have checked under
    $ORACLE_HOME/reports60/server/cache but did not find my output file.
    Is there a way to specifically direct the output file to a directory, and have the reports server recognize the path?
    Perhaps using some sort of 'Virtual Path' in the server configuration, but where?
    Any help is appreciated?
    Regards
    Mark

    Hi,
    destype file writes the file to wherever you send it to.
    destype=file desname = c:\temp\myRep.html
    creates the file myRep.html in the temp directory on the server. Destype 'cache' only writes to the Cache directory you mention. normally, if not giving any directory information, it's the working directory that the file gets created in. Do a seacrh for your file and I am sure that you'll find it.
    regards Frank

  • Getting junk data in the output file in UNIX server due to UNICODE error.

    Hi All,
    I am working on an Upgradation project from 4.7 to mySAP ERP 2005.
    IN 4.7 we are using
    OPEN DATASET lv_filename FOR OUTPUT IN   BINARY MODE. and getting the file as required.
    In ECC 6.0 for the same OPEN DATASET statement ,the output file in unix server has the junk data having the characters like #<##d9{y#+G9###T>j(##^# #K## #q### #####.
    Pls help me in this issue to proceed further .
    Thanks,
    Chakradhar.

    Hi Markus,
    Below are the files data in both environments.
    In ECC 6.0
    001B2274001802007051                                 0  20070519CTLMEA      RPTIME00043900 #
    ###9##;c_5####Tj#y#.##'###u###<#<##d9{y#+##G9###T>j(###^###K####q##########C##dA4####&#1393;###x##
    R[#!#J##&#1698;w###u#-C#'Qho#&#31632;}j##w%##/#'ZhW##s###n&#1080;#&#1723;>-J#####&#1046;#tP}##Hu#}Q7###Sh_###C4<3nqk##i l#
    ####{############Qns###;####p##{si##y##@##&#1008;0####C###,###2&#973;#j&#830;########Q#f####;)k>lO#5#n###&#1852;#
    ####M##S##IM#z0#o##&#1325;####!#V#9###&#1722;#?s##[#####V&#&#756;s#&#56196;&#56590;[#l#s##&#48610;:#&#1334;{&#548;&#55960;&#57086;M-##v@#########v#&#2034;###s##
    9Q##!#d#####`#############Lc####J#######%?######E#HV3#(#N####Wl####}S#O######zA[##m####u/7#T
    ##2#s##Q#umF]##Z###}##&#1858;###a######z1#`#####&#46110;-###Q#o#####Q###x#######7Z[##?#V#e##nI####O1=u[#
    ##p##Kj#####]#####/5#20{####&#1244;##x##A#?###xa##/<^#Rj&#16741;#######xI#+j#%###$##$######p=##V#&#1290;
    #######k#K##yI#yI#!/)#y#z##-y######"/#e&#1717;##/############*###"/_##-##+##/#y9#####5#9/#yI#A#
    ###################J/yih=####u4i#K##t####&#1822;######=##AX###J##z#####KC&#48084;## /###G{#K#####
    In 4.7
    001B2274001802007051                                 0  20070519CTLMEA      RPTIME00043900
    ãÔ?®zåÖ#Iï-_Î-ør7##*Ódöã ²äÐÁSjòä`ëÏ©"yÿï¾E#[µºEW#g#2éu##a±¸u~#ZäTéR¯F&o#C·¼åÈÝÁ%½ß´y6+##¿
    íE#z!#â#ùG#>{#éJæ##jÅSM<±òxwÆüI¾jâ#µ#ù
    íQ ÕÈ###dÝ#/«#ycãA¼#ø#7#¿#¼#íxãý#y«#o#â¡ùéËÖ_C¼½À4ðÀó#Ð8?qÊ#O½Î¿_##b#xjÛÓ#OÜ#×gÌ#×ós##
    í¡ùh¿~ëÊÓü#ò#'¡#Á#â©#<áoú#'Ô®ü#»L»þ#y)hà#ç#Z[¡#'®Uy1?YC<Ýú#iÇÇ###Íç'Ô#§#Ù#O§#f<###B{#§##ñ
    #0H}¬#^##6¨7V¨7VÚX#M9&#A#øG º'õxOù§ø #W¨Å+Ðb#ÉÇ7#SôRXß\u00A7à#wE"#mê#óÀd# ¼##gn###:ô#E<#######ú
    ûJ¦H}#·¦Y½â>ºbò#xSSÿÿÕ«óG#ï#6²f´Ú¾fyqèhJÖçCOr´#Ý#S?##KËÄ×mâë¶x)º×ªh2Åw8&í####7 `Ùo#ö»#òöw$
    ½##Gê#ì#»#La)ì##Ý÷#{7í´éã»##ãî]¾[##{O#¾C##£¶G#û¼Eû#dL#ª:#PÉEÉ>Ó##ª:G#éaR^·BEµÏ+¹###y#N##ȱ
    DÕ##5#"9Ní>#íFo##kp#ÂðÆè5¿ð½F®¯M##þð1#îi##Z #Z #Z#ô-¾#§èH»û¹ö9é#Ôä#001B2274001802007051
    èÁ##<(#ÿ#¢²ÿ#è#éc#z¾vçÌá#¹#ý#x%ìÜ#çÌ##ùÍÙ#¹{ǯepmâí#¸Ö##¸=ÝÙ½¹uë·,ù#þ¼øl###£åg#,##-`q#ÿøæï
    viÁ#]3#.O#þÊöèR##=##L#LÊk###¤à##ó#'V052 øé]+####ã!ÁC#s#q###åLj##Á¯Æ4#.àíT#¸Þ¹µ·¶É)ç#Ïå#<#/ð
    Thanks,
    Chakradhar.

  • Applet can't read local file on web server, security issue!

    There is any way to read/write files of web server through the applet except the Signed Applet.
    If any idea the reply me soon.
    Thanks in advance

    Applets are downloaded from web servers and execute on the client machine.
    Therefore they have no access to the web server file system, signed or not.
    They could have access to the client file system (the machine where they run),
    but for security reasons only signed applets have this privilege.
    So to answer your question, you sign if you want to access client files.
    To access web server files, you don't need to sign the applet, but you need
    to provide some method of accessing files remotely, for instance:
    - Files published for the web can be read using HTTP
    - Files can be read or writen with the help of an FTP server on the same machine as the web server
    - A servlet running on the HTTP server can collaborate with your applet to exchange files

  • How to delete a file on web server without using FTP

    Hi All
    I hv given a facility to a site user to upload some files..
    And an interface to web administrator to view all the files..
    I want to know how can i write a code in JSP which allow the web administrator to delete any of that file which is not of his/her interest through provided interface only.
    OR
    Is it possible to delete a particular file from web server without getting login into FTP account
    Thanx

    new File(strFileName).remove;
    Simply as this.
    Don't forget to import java.io.FileInputStream.

  • Error: java.lang.OutOfMemoryError when uploading CSV files to web server

    Hi experts,
    I have made a JSP page from which clients load csv files to web server. I am using Tomca 4.1 as my web server and JDK 1.3.1_09.
    The system works fine when uploadiing small csv files, but it crashes when uploading large CSV files.
    It gives me the following error:
    java.lang.OutOfMemoryError
         <<no stack trace available>>
    This is the code that I used to load files....
    <%
    String saveFile = "";
    String contentType = request.getContentType();
    if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
         DataInputStream in = new DataInputStream(request.getInputStream());
         int formDataLength = request.getContentLength();
         byte dataBytes[] = new byte[formDataLength];
         int byteRead = 0;
         int totalBytesRead = 0;
         while (totalBytesRead < formDataLength)
              byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
              totalBytesRead += byteRead;
         String file = new String(dataBytes);
         saveFile = file.substring(file.indexOf("filename=\"") + 10);
         saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
         saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
         int lastIndex = contentType.lastIndexOf("=");
         String boundary = contentType.substring(lastIndex + 1,contentType.length());
         int pos;
         pos = file.indexOf("filename=\"");
         pos = file.indexOf("\n", pos) + 1;
         pos = file.indexOf("\n", pos) + 1;
         pos = file.indexOf("\n", pos) + 1;
         int boundaryLocation = file.indexOf(boundary, pos) - 4;
         int startPos = ((file.substring(0, pos)).getBytes()).length;
         int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
         String folder = "f:/Program Files/Apache Group/Tomcat 4.1/webapps/broadcast/file/";
         //String folder = "10.28.12.58/bulksms/";
         FileOutputStream fileOut = new FileOutputStream(folder + saveFile);
         //out.print("Saved here: " + saveFile);
         //fileOut.write(dataBytes);
         fileOut.write(dataBytes, startPos, (endPos - startPos));
         fileOut.flush();
         fileOut.close();
         out.println("File loaded successfully");
    //f:/Program Files/Apache Group/Tomcat 4.1/webapps/sms/file/
    %>
    Please can anyone help me solve this problem for me...
    Thanx...
    Deepak

    I know it may be hard to throw away all this code, but consider using the jakarta fileupload component.
    I think it would simplify your code down to
    // Create a factory for disk-based file items
    FileItemFactory factory = new DiskFileItemFactory();
    // Create a new file upload handler
    ServletFileUpload upload = new ServletFileUpload(factory);
    // Parse the request
    List /* FileItem */ items = upload.parseRequest(request);
    // Process the uploaded items
    Iterator iter = items.iterator();
    while (iter.hasNext()) {
        FileItem item = (FileItem) iter.next();
        if (item.isFormField()) {
            processFormField(item);
        } else {
            // item is a file.  write it
            File saveFolder = application.getRealPath("/file");          
            File uploadedFile = new File(saveFolder, item.getName());
            item.write(uploadedFile);
    }Most of this code was hijacked from http://jakarta.apache.org/commons/fileupload/using.html
    Check it out. It will solve your memory problem by writing the file to disk temporarily if necessary.
    Cheers,
    evnafets

  • Help Setting Up File and Web Server in OS 8.6

    I have an OS 8.6 400mhz G3 B&W with 512mb RAM and an 80GB HD. It has the OEM operating system which is 8 on it. First I can't access the computer via afp from a Leopard Machine (Yes appletalk is enabled.). It gives me the error -36. Which is "The Finder can not complete the operation because some data in _____________ could not be read or written. I need this computer for a File and Web server. How could I make it accessible via AFP and FTP? I thought about linux but it requires a terminal like interface and I don't like that.

    To begin with, have a look at the IV. Troubleshooting section of KB article 106461:
    "Mac OS X 10.4 and later don't support Personal File Sharing (or other AFP) over Appletalk, though by initiating the connection from the opposite direction you could still achieve an IP connection from a Mac OS 8 computer to a sharing Mac OS X computer."
    Regarding servers: There is a built-in web server in Mac OS 8.6 (see the help system for details). Alternatively, the (now) free NetPresenz could perhaps be of interest.
    Jan

  • Error attempting to write location redirection to web server (Windows NT error number -2147467259 occurred)

    I'm seeing an error pop up on a development server... error
    2408:
    "Error attempting to write location redirection to web server
    (Windows NT error number -2147467259 occurred)"
    Any idea what this is? I can't seem to find anything
    solid.

    I'm having the same problem but it just started.  Logged in last week from work computer running IE 8.0.8 with no problems.  Today I keep getting problem connecting to server.   Clicking on the error indicator gets me the same error.
    Message: Object expected
    Line: 5
    Char: 1963
    Code: 0
    URI: https://setup.icloud.com/ajax_sender.html
    Tried clearing browser history,cookies, etc.. nothing works.

  • GR55-Report Writer output

    Hello Experts,
    I have a requirement to get the output from Report writer (GR55) and send it as an XML attchment in a mail to receipient.
    I have used the SUBMIT statement to access the GR55 in my Custom coding. I could find an option in GR55 to export the output in HTML format to SAP Memory. I am accessing this memory to read the output and send it as mail.
    But my requirement is to send this output as XML attached. Can you please suggest me the possibilities of achieving this?
    Thanks
    Dhurga

    Bala,
    We want to use the portal to publish the reports too but NOT in SAPGUI on the web.
    We were actually able to get it to work with an SAPGUI iView or "SAPGUI HTML" iView.
    However we want to capture the output of the report writer reports and render them in ABAP or JAVA webdynpro technology.
    Our Top Management does not like anything that resembles SAPGUI.
    How did you all do it?
    regards,
    Atul

  • Write PDF file into application server.

    Hi Gurus,
    I have created a smartform and converted into PDF using function module as given below. Now I want to write this generated PDF file into application server. I am not generating any spool request too. How can I proceed from here?  Pls advice..
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
        IMPORTING
          bin_filesize                 = lv_bin_filesize
        TABLES
          otf                              = ls_job_output_info-otfdata
          doctab_archive         = lt_docs
          lines                           = lt_lines
        EXCEPTIONS
          err_conv_not_possible  = 1
          err_otf_mc_noendmarker = 2
          OTHERS                 = 3.
    Thanks..
    Saj

    transfer all the data from ur itabs to one final itab declared as follow
    DATA: BEGIN OF final_itab OCCURS 0,
                     document  TYPE string,
               END OF final_itab.
    then finally,
    OPEN DATASET 'yourfile.pdf' FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      len = strlen( final_itab-DOCUMENT ).
      TRANSFER final_itab-DOCUMENT  TO 'yourfile.pdf'  LENGTH len.
    CLOSE DATASET 'yourfile.pdf'.
    This ends the coding mate.
    Enjoy it n have a good day.
    Cheers

  • Read PDF Formatted Spool and write PDF File to Application Server

    Hi Experts,
    After ECC 6.0, HR-W2 and W2C Form Spools are getting generated in PDF format.
    We have a requirement wherein we want to read the PDF Spool Programatically and write the PDF file to Application server (Using OPEN DATASET and CLOSE DATASET)
    PARAMETERS : p_spono LIKE tsp01-rqident.
    DATA: pdf_data type FPCONTENT.
    types: lt_pdf_table(1000) type x.
    data:  l_pdf_data type standard table of lt_pdf_table,
           l_pdf_line type lt_pdf_table,
           l_offset type i,
           l_len type i,
           p_file(100) VALUE '\sapout\DVH\pdf2.pdf'.
    *Read the spool content
    CALL FUNCTION 'FPCOMP_CREATE_PDF_FROM_SPOOL'
        EXPORTING
             i_spoolid = p_spono
             i_partnum = '1'
        IMPORTING
               e_pdf = pdf_data
    *         e_pdf_file = file
        EXCEPTIONS
             ads_error = 1
             usage_error = 2
             system_error = 3
             internal_error = 4
        OTHERS = 5.
    * Modify the spool  contents to prepare internal table
      l_len = xstrlen( pdf_data ).
      while l_len >= 1000.
        l_pdf_line = pdf_data+l_offset(1000).
        append l_pdf_line to l_pdf_data.
        add 1000 to l_offset.
        subtract 1000 from l_len.
      endwhile.
      if l_len > 0.
        l_pdf_line = pdf_data+l_offset(l_len).
        append l_pdf_line to l_pdf_data.
      endif.
    * GUI DOWNLOAD Works Fine
    * Now pdf contents is ready , lets store in local PC
    *CALL FUNCTION 'GUI_DOWNLOAD'
    *  EXPORTING
    *   filename                        = 'C:\Documents and Settings\Desktop\shital.pdf'
    *   filetype                        = 'BIN'
    *  TABLES
    *    data_tab                        = l_pdf_data.
    OPEN DATASET p_file FOR OUTPUT IN BINARY MODE.
    IF sy-subrc <> 0.
      MESSAGE ID '00' TYPE 'E' NUMBER '398' WITH 'sy-subrc:' sy-subrc
              ' Error opening file:'(Z03) p_file.
    ENDIF.
    LOOP AT l_pdf_data INTO l_pdf_line.
      TRANSFER l_pdf_line TO p_file.
    ENDLOOP.
    CLOSE DATASET p_file.
    IF sy-subrc <> 0.
      MESSAGE ID '00' TYPE 'E' NUMBER '398' WITH 'sy-subrc:' sy-subrc
              ' Error closing file:'(Z04) p_file.
    ENDIF.
    Currently as you can see I have commented out GUI_DOWNLOAD Function Module, But it works perfect when I try to Download file to Local Desktop.
    But when I try to pass the same Contents to Application server file and then try to open it by downloading file then it opens BLANK pdf file.
    As per requirements I should be able to write the file correctly on Application server and If I dowload it from there it should open PDF file correctly.
    Let me know if you require further details about the issue.
    Regards
    Shital
    Edited by: shital phadake on Apr 8, 2009 9:39 PM

    Thanks Selçuk for your reply and taking time for understanding the Issue,
    I went thru Functionality of the program you suggested but dont think it matches my requirement.
    Regards
    Shital

  • How to write a file in unix server through oracle plsql code

    Hi All,
    My requirement is to create and write a file (any file for eg txt file) in unix box with in a specified directory through oracle plsql code.
    Oracle sits in windows server.
    using utl_file package we can create directory where oracle resides and write it there in oracle server in our case windows..
    But here we need to create,write a file but in unix server which is different server than where the oracle server resides..
    we are using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    Can any one one please help me out in this issue...
    Thanks in Advance.
    Prakash

    Mr Prakash,
    Why are you asking this question multiple times in every forum you can spell?
    Valid responses have been presented to you already two times.
    Can you explain why you can't follow them up, but continue to abuse this forum by repeating doc questions?
    Sybrand Bakker
    Senior Oracle DBA

  • Where I can find .WAR file for web UI?

    I would like to use jakarta project
    web container for webUI.How I can accomplish
    this?

    Hello, I mean tomcat of jakarta.apache.org project- it's web container but .war file is web application archive as specified in servlet 2.2 spec.
    Why? I need support for latest spec. servlet 2.2/jsp 1.2 that provided by tomcat 4.0 beta(as standalone it's working fine for me;)). I'll be more concrete
    I need sophisticated JSP rendering engine for:
    Using JSPs of developer guide:
    <
    Deploying Java Beans and JSPs
    All compiled Java Beans must be stored in the directory $ORACLE_HOME/ifs/custom_classes on the server where Oracle iFS is installed.
    The Oracle iFS product comes with a starting-point directory structure. One of the folders in that structure is reserved for holding JSPs: $ORACLE_HOME/ifs/jsp-bin. To have your JSP compile and execute properly in Oracle iFS, you must store the JSP in this folder. JSPs stored elsewhere will not be executed by the Oracle iFS JSP compiler.
    >
    I would like to use web UI as frontend and my JSPs/servlets as extension of this application. It's easy create custom web app if I have ready .WAR file-it's portable
    between web containers and well structured... For example this schema doesn't have such constraints as location of JSPs and beans support classes location is well known-
    WEB-INF/classes for .WAR structured file, in WEB-INF/lib can be placed different ifs libs and all is clean and portable;).
    I mean webUI must not be integrated part of ifs- it must be developer tool( extensible and reusable).By the way who give constraints on JSPs/classes location: HTTP server of ifs
    or webUI?
    It's very nice that IFS has such thing as webUI but that if I can use it as dead(stable) code:(. I need write myself webUI presenting IFS document structure but why?
    Web UI is future(IE 5.5/w3 and other standards based;) so why put on it such restrictions.
    Best regards.
    P.S I can infiltrate web app from ifs- but it's not right(I can do something wrong).If I can help you somehow tell me.
    null

  • Help on using servlets to write files to web server

    Hi,
    I am chetan from India, I have developed the WebSite www.bhavishya.net. I am encountering a serious problem in writing into a text file. I am unable to configure the path of the text file. While on Linux i got it (path - "/home/bhavishya/ErrorLog.txt"). But now i am using Windows Environment. The code is as follows.
    public String ewrite(String str)
    String err = "File updated";
    try
    Date d = new Date();
    BufferedWriter bwout = null;
    // for Web Server
    try
    //BufferedWriter out = new BufferedWriter(new FileWriter("/home/bhavishya/ErrorLog.txt", true)); // For Linux
    bwout = new BufferedWriter(new FileWriter("./bhavishya/logs/ErrorLog.txt", true));
    bwout.write(d.toLocaleString()+" : "+str+"\n");
    catch (RuntimeException e1) {err = e1.toString(); e1.printStackTrace();}
    System.out.println("ErrorLog - 21");
    bwout.close();
    catch (IOException e) { System.out.println(e); }
    return err;
    The file is neither created or written into even if i am creating it.
    Regards,

    Does the path to the file exist? Otherwise you should try adding a File.mkdirs() call in there to create the directory where you want to write the logfile to. Otherwise writing the file will fail.

  • Change character set used to write a file in application server.

    Hello Experts,
                       I want to know if we can change the character set used to create a file in application server.(Is it posible to use a particular character set while creating a file in application server.
                      I will be very great full for any help.
    Thanks in advance.
    Sharath

    Hello Sarath,
    There is an extension CODE PAGE with OPEN DATASET stmt.
    Can you please elaborate which character set you want to write to the application server?
    BR,
    Suhas

Maybe you are looking for

  • How to trigger a process chain through

    Hi All, Can any one send me the steps to trigger a process chain through a job in sm37. Thanx Kishore

  • Functional specs and technical specs

    Hello friends can any one send me some functional specs and technical specs to my email id [email protected] shankar thanks for ur help please send me some documents to my email id.

  • Using: BAPI_MATERIAL_SAVEDATA

    Hi, i try to use the above FM like this: REPORT ZGRO_TEST. DATA: HEADDATA LIKE BAPIMATHEAD. DATA: RETURN   LIKE BAPIRET2. DATA: BEGIN OF RETURNM OCCURS 0.         INCLUDE STRUCTURE BAPIRET2. DATA: END   OF RETURNM. DATA: BEGIN OF LTEXT OCCURS 0.     

  • Intel Xserve Lights Out Management Config Question

    When setting up my Intel Xserve I was confused and still am about the way LOM is set up. Ethernet port 1 uses IP XXX.XXX.XXX.50 for web Then LOM asked for another IP address on port 1 so I gave it XXX.XXX.XXX.51 How can one port have 2 different IP a

  • Screen exit for co11n ?

    Hi People, I got a requirement for developing a screen exit for transaction co11n ..... I want to know what are all the screen exit available for this transaction ( I have the progrqam that shows the list of ext available for the transaction, but how