Reports 6 - destype=File

Hello.
I hope this title is suggestive so many users will come in and try to answer my question .
I have a report developed in Oracle Reports 6 (I know, it's time to move on, but the project is too big to migrate to another version; yet...). The parameter form has the parameter DESTYPE.
     If I choose "File", the report is saved in the location I specified in DESNAME, as 'pdf'. When I try to open it, I receive the message "Adobe Reader could not open file because it is either not a supported file type or because the file has been damaged, (for example, it was sent as an email attachment and wasnt correctly encoded) ".
     If I choose "Screen", I preview the report, then, from the menu I choose "Generate to FILE... PDF", the file is saved and I can open it.
I mention that I have Adobe Reader 8.
Thank you for reading (and answering)!

The path is on a server. Is the same path as that when I choose 'Generate to file... PDF'. I find the file, but I can not open it.
I've noticed something else. I did not use Report Parameter Form; I did a form who call the report; I choose in the form to save the report in a file and it works! I can open the file.
Thanks!

Similar Messages

  • Urgent - Default path of saving reports when destype = file

    Hi,
    When I specify the destype = file, the generated report gets
    saved in the daefult directory, i.e., the orant/bin.
    Now, I want to save the file on a different machine.
    I understand that I can do it by specifying the desname =
    path/filename.
    But I cannot do this, because I don't want to show the whole
    path in the URL. Moreover, I cannot give it in teh cgicmd.dat,
    because the filename is not static. I want to append a time
    stamp etc. to the file name. Is there some way that I can
    specify teh path in cgicmd.dat and the file name in the URL?
    Or,
    is there an environment variable or something where I can
    specify the default path where the files should be generated?
    Any help would be much appreciated.
    Regards,
    Vibha

    Hi,
    I tried the following:
    I did not specify the desname parameter in the cgicmd.dat file
    and in the After Parameter Form trigger, I have done:
    Begin
    :desname := 'e:\Testing.html';
    I gave a desname that is not dynamic, just to test. But this,
    does not set the desname. The file is still saved in teh
    Orant/Bin folder. (default folder).
    If I specify some desname in the cgicmd.dat file, then the file
    gets saved in that path. What I have specified in the After
    Parameter Form trigger does not seem to reset it.
    Note: The trigger is being fired, as other things that I am
    doing in the same trigger are getting executed.
    Please advise.
    Regards,
    Vibha

  • Report destype=localfile problem

    Hi everybody,
    I have the following problem:
    When I execute a report in the browser like this:
    http://myserver/reports/rwservlet?report=prueba.rdf&userid=a/b@c&destype=file&desformat=pdf&desname=myfile.pdf
    everything goes well and the file "myfile.pdf" is generated in "myserver".
    When trying to get the file in the client executing like this:
    http://myserver/reports/rwservlet?report=prueba.rdf&userid=a/b@c&destype=localfile&desformat=pdf&desname=myfile.pdf
    the report finishes well, as indicated in the server's queue, but the file doesn't appear in the client or in the server.
    Is there anything I am doing wrong?
    Just in case you give me an answer to the problem, if I submit the report from the BBDD, via the SRW package, is the server in which the BBDD the client?
    Thanks in advance,

    Hi Rodolfo.
    First of all thank you for your answer.
    Maybe it depends on the version you are working with. I work with Reports Builder 10.
    If you look at the Destype System Parameter there are 7 options: screen, file, printer, mail, sysout, cache and localfile.
    In the "Help" says for DESTYPE=LOCALFILE:
    Valid only for rwservlet, rwclient, and rwcgi. Sends the output to a file on the client machine and forces a synchronous call.
    And that is my case because I am using rwservlet.

  • Show_document and destype = file

    Hello,
    I have a problem with this call:
    web.show_document('http://130.45.31.50/dev60cgi/rwcgi60.exe?server=Rep60_PROVA_ORA+report=genrcart.rep+userid=sigma/sigma@dbsvil+destype=file+desname=C:\TEMP\genrcart_130620.rrpp+P MATR=101A18Z1J273+PARAMFORM=NO+COPIA=S','self')
    I obtain this message in my browser:
    Report output was successfully written to requested destination.
    Show_document do not open the file created on the server.
    Note: It's very important for me to generate a file because I need to send same special characters to printer using ORARRP.EXE.
    Thank you,
    P.Guerriero

    If you specify destype=file then the file is created but not returned to the browser. to get it you'll need to do one more call to web.show_document to open the specific file that was created.
    The other option of course is to use destype=cache and then the output will appear in your browser.

  • Destype=file

    I am able to run a *.rdf report on my 9.0.2 middle tier via rwservlet. I am able to specify destype=file and desname=/whatever/whatever and write anywhere with my report server owning/running account's permissions. This is sort of alarming --- what am I missing? I could find no discussion of this anywhere.

    Hello Mike,
    The issue that you are facing applies in general to any resource that your Reports Server's system account has access to. For example, the printers that a user running a report on your server can print on is determined by the permissions given to the server's account.
    One way to solve this issue in general would be create a seperate user/user group with permissions to access/write to only specific resources (which includes directories, printers etc.) and run the Reports Server as this user.
    Another possibility is to enforce a restriction on the DESNAME parameter in a suitable report trigger. Here, you can look at the :DESNAME system parameter entered by the user and continue/abort the report generation based on its runtime value after printing an appropriate error message.
    Thanks,
    The Oracle Reports Team.

  • Store Report PDF file in group' folder

    I want create a system which enable the user to create a report with the report builder and then report will automatically to store the PDF file into a specified folder before we view the report in PDF format.
    Recently I able to view the report in PDF format. but I don't know how to store it into the folder automatically everytime I run the process.
    So, Can you tell me how to do this?

    Specify the full path of the output filename in the "desname" parameter.
    For example,
    Add the following to your request:
    desformat=pdf destype=file desname=d:\group\myfolder\output1.pdf
    Regards,
    Siva B

  • Image href missing for destype=file

    Hi,
    ias904 - desformat=HTML
    When destype=cache resulting html page can display images
    When destype=file resulting html page doesn't display any images because in the html source generated there's no virtual directory name for the generated image file ie the http server cannot locate the image.
    Can I define any settings to resolve this ?
    Thanks
    Pete

    Hi Pete,
    This is the sample code generated in the HTML file for images:
    img src=064014980.png width=135 height=36 border=0
    When you use DESTYPE=file, the Reports Server places the HTML file as well as the associated images in the same location (the location is specified by DESNAME). As a result, when you open the HTML file, the associated images will open automatically. The HTTP Server does not need to locate the images in this case.
    Navneet.

  • In cache destype=printer pdf corrupt (?), but destype=file pdf is ok

    Hi all,
    S.O.: SLES 10 (Novell)
    Oracle Reports 10g (StandAlone)
    I want execute .rdf file vía web browser, but the more important for me is printer the result by the defined printer
    for example:
    http://10.142.81.153:7778/reports/rwservlet?userid=gloviajava/gloviajava@livem&destype=printer&desformat=pdf&desname=cpd81200&report=3de9.rdf
    But the light of printer on but nothing printed.
    When destype=file the pdf resultant is OK and I can print via 'lpr -P ...'
    Anything can help me ? is very important for my work , please I hope your help.
    Thank in advanced.
    Manuel.

    Hello,
    When DESTYPE=PRINTER DESFORMAT=PDF is meaningless (the output file generated by the Reports Engine Will NOT be a PDF file)
    You can check what is in the file generated by the Reports Engine in the Reports Server Cache :
    by default , the Reports Server cache is in $ORACLE_HOME/reports/cache
    The printer cpd81200 should be defined int he file uiprint.txt .
    The PPD or HPD defined for this printer should be a PPD or HPD "matching" the printer ...
    Regards

  • 10g Report to file causes unix permission problems

    I'm in the process of testing out one of the new options of 10g reports to have a report run from the command line and have the results file sent to a Unix directory for further use.
    Here is a sample of my run:
    http://myserver:port/reports/rwservlet?server=myreport_server+report=myreport.rep+userid=userid/pswd/@db+desformat=pdf+destype=file+desname=/tmp/my_report.pdf
    The results I see in the Unix directory are:
    rw-r--- 1 oracle dba my_report.pdf
    With the Unix permission set to 640, how does a user outside of the owner or group read this file. Is there a setting in a 10g environment variable somewhere to set the permissions to 644 so others can read the file?
    Thanks,
    Tom Vereecke

    Unfortunately i couldn't open your example as i only have LV 6.0, but i looked at the 'Save report to File.vi' in LV 6.0 and it basically only contains a 'Write characters to file.vi' for file handling. In LV 6.0 this vi does contain a 'Close file+.vi' which has an input called 'close when? (now:T)'. Make sure this is wired as True (default) and the file will close, and you should be able to delete the file (as long as the delete event occurs afterwards (make sure it is wired in sequence). In the LV help, it says the reason for the 'Write characters to file.vi' only closing if you tell it to (set as default) or if there is an error is so you can continually use it in a loop, writing characters to file, without closing, and then send a command to close
    it only on the last loop, or if there is an error. Therefore i dont think it is a bug, but i think there should be a wire for it on the 'Write characters to file.vi'.
    I hope this helps you..
    Kim

  • Rep-3002 with DESTYPE=file

    Hello,
    I have two entries in my CGIcmd.dat file. The entries are pretty much identical, they just go to two different report servers, running on the same machine. Both specify destype=file desname=report.lis, and run the same report. One of them works fine, the other is throwing a Rep-3002.
    REP-3002: Error initializing printer. Please make sure a printer is installed.
    Any idea what is going on here and how to correct it?

    Hello,
    If you are executing the Reports on Windows :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_trouble.htm#BABDHCIG
    D.1.11 Printing and Font Errors When Using In-process Server
    Regards

  • Need to generate a Index xml file for corresponding Report PDF file.

    Need to generate a Index xml file for corresponding Report PDF file.
    Currently in fusion we are generating a pdf file using given Rtf template and dataModal source through Ess BIPJobType.xml .
    This is generating pdf successfully.
    As per requirement from Oracle GSI team, they need index xml file of corresponding generated pdf file for their own business scenario.
    Please see the following attached sample file .
    PDf file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/BPA_Print_Trx-_output.pdf
    Index file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/o39861053.out.idx.txt
    In R12 ,
         We are doing this through java API call to FOProcessor and build the pdf. Here is sample snapshot :
         xmlStream = PrintInvoiceThread.generateXML(pCpContext, logFile, outFile, dbCon, list, aLog, debugFlag);
         OADocumentProcessor docProc = new OADocumentProcessor(xmlStream, tmpDir);
         docProc.process();
         PrintInvoiceThread :
              out.println("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
                   out.print("<xapi:requestset ");
                   out.println("<xapi:filesystem output=\"" + outFile.getFileName() + "\"/>");
                   out.println("<xapi:indexfile output=\"" + outFile.getFileName() + ".idx\">");
                   out.println(" <totalpages>${VAR_TOTAL_PAGES}</totalpages>");
                   out.println(" <totaldocuments>${VAR_TOTAL_DOCS}</totaldocuments>");
                   out.println("</xapi:indexfile>");
                   out.println("<xapi:document output-type=\"pdf\">");
    out.println("<xapi:customcontents>");
    XMLDocument idxDoc = new XMLDocument();
    idxDoc.setEncoding("UTF-8");
    ((XMLElement)(generator.buildIndexItems(idxDoc, am, row)).getDocumentElement()).print(out);
    idxDoc = null;
    out.println("</xapi:customcontents>");
         In r12 we have a privilege to use page number variable through oracle.apps.xdo.batch.ControlFile
              public static final String VAR_BEGIN_PAGE = "${VAR_BEGIN_PAGE}";
              public static final String VAR_END_PAGE = "${VAR_END_PAGE}";
              public static final String VAR_TOTAL_DOCS = "${VAR_TOTAL_DOCS}";
              public static final String VAR_TOTAL_PAGES = "${VAR_TOTAL_PAGES}";
    Is there any similar java library which do the same thing in fusion .
    Note: I checked in the BIP doc http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/javaapis.htm#CIHHDDEH
              Section 7.11.3.2 Invoking Processors with InputStream .
    But this is not helping much to me. Is there any other document/view-let which covers these thing .
    Appreciate any help/suggestions.
    -anjani prasad
    I have attached these java file in kixs : https://kix.oraclecorp.com/KIX/display.php?labelId=3755&articleId=354962
    PrintInvoiceThread
    InvoiceXmlBuilder
    Control.java

    You can find the steps here.
    http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
    http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/

  • Report generation vi's-save report to file.vi

    I am a new user of LabVIEW. I'm using the Report Generation Toolkit VI's to do some customized reports.
    1. how can I stop the report from popping up on the front panel when I initialize the report to be done. I know you can use "minimized" but that takes a few seconds to minimize and I would like to NOT see the report I'm generating pop-up at all.
    2. I want use this customized report and constantly be saving data when a reset button is pushed. That is save the time stamp, the change in data etc on a continuous basis in 1 folder. Right now when I use the "Save Report to File. Vi" it over writes the previous data saved and all that data is lost. I need to be constantly saving all the data generated to be able to look back at it.
    Thanks.

    Hi shaef,
    Which version of LV and Report Generation Toolkit are you using?
    Assuming you are using LV 8.5 and RGT 1.1.2, then the attached screenshot should offer some help.  Basically, you need to wire in the existing file as your template in order to not just overwrite the old data.  You also need to make use of the series of 'Append' VIs that are in the toolkit.
    Let us know if this works for you,
    David_B
    Applications Engineer
    National Instruments
    Attachments:
    2008-03-23_165242.png ‏5 KB

  • How do I save a Report to file using Report Generation vi's?(not HTML)

    Hi,
    Sorry about re-stating the problem.   I am using the Report Generation vi's to create a report. There is an option to save HTML reports to file, however I must use Standard Report because I need to print in Landscape mode. HTML reports will not print in Landscape. One of the requirements is to save the report to file on the hard disk. I have tried to use the standard Open File and Write File vi's. A file is created, but the report is not saved into the file. How do I connect a report so that it will be saved in the file? I already tried simply wiring the report refnum into the data input of the Write File vi.
    I have attached an example of my code.
    I am using V7.1 Full Version.  I have V8 available if that is any help.
    Any ideas?
    Thanks,
    Chris
    Attachments:
    ReportExample.vi ‏52 KB

    I did find this KB: How to Save Standard Reports?
    Attached is an example of how to do this.  You will have to relink the subVI's or else you will have a broken arrow. One is in LV7 and the other is in LV8
    Message Edited by Sam R on 12-15-2005 02:25 PM
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    Standard_to_HTML_LV70.zip ‏23 KB
    Standard_to_HTML_LV80.zip ‏29 KB

  • REP-1057: ' PATH_TO_REPORT/report.rdf' is not a valid Report Builder file.

    Current Level : Report Builder 6.0.8.27.0
    We migrated custom reports build on Report 2.5 to 6.0.8.27.0 on apps/db version
    from 11.0.3 / 8.0.5 to 11.5.10.2/9.2.0.6. Platform was moved from HPUX to Redhat
    Linux 4.
    When we open migrated reports then original reports get converted and compiled
    by Report Builder 6 without any problem. But once saved and when modified some
    of the reports get corrupted and have 'REP-1057' error.
    Anyone had any similar problem and found solution?
    Thanks

    I have a .rdf file. When I try to open the same in Report Builder for 6i, nothing happens! It just does not open!
    I tried to convert the report into .REX from unix - I get the following error
    REP-1057: 'FAIAPXINROH.rdf' is not a valid Report Builder file.
    But, the report is running fine from Oracle apps.
    I need to open this .rdf to change somethings.
    Any suggestions?
    Regards,
    Arun Tirumale

  • Crystal Report Installation File

    Hi All,
    My client has SAP B1 2004A   PL32 installed and i am looking for a crystal reporter installation file. can any one help me on this please.....
    If anyone has this file please help...
    Regards
    Satish

    Dear Chandstish,
    Following is the link to download crystal report add-on installation file for B1 as well as crystal report developer (Evaluation).
    https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/d0a0c14b-0e20-2b10-939b-e93a19f14c12
    Cheers,
    Ashish Tambe

  • Setting Date value in File Name while scheduling report to File System

    I am trying to set the file name as %SI_Name% Current Date.extension in Destination section while scheduling a crystal report to File system.
    So in Use Specific Name section i have added %SI_NAME% %SI_STARTTIME%.%EXT%.
    Schedule works fine for me and I get the document in the file location with name  'Title 2009-06-26-12-53-17.pdf".
    But I dont want time to be printed in the title, so the title should be "Title 2009-06-26.pdf". How i can achieve this.
    -Raghu

    Is there any way to achieve this?
    -Raghu
    Edited by: Raghavendra Barekere on Jul 5, 2009 3:09 PM

Maybe you are looking for

  • I lost my history due to ill-conceived hidden transient max pages, now I'm trying to combine two history files/ export history!

    6 months ago I created a new firefox profile and I transfered over my key settings files like my history/bookmarks. 3 weeks ago my entire history was wiped clear when I started to use my system's pagefile due to some weird function of max_transient p

  • Enable Drag and Drop from mail to inbox folder

    Using Outlook 2007... Somehow my drag and drop function has been disabled. I can no longer select an email and move it into a mail folder by dragging and dropping. I am able to right click and select "move to" but dragging and dropping is much more e

  • 10gr2 TABLE(CAST( problem

    We have an existing report that uses existing function to table cast back data in the from clause. A very simplified example: FROM grant g, grantparticipant gt, table(cast(getSchedule(g.grant_pk, gt.grantparticipant_pk) as r_sched)) sched where g.gra

  • Question about scrolling through clip images

    This may be an iMovie and iDVD question, or more of an iMovie. In the scene menu, when I'm making menu buttons and want to use a clip 'photo' rather than a motion clip, I know I uncheck the movie box, and move the cursor to get the picture. That said

  • Pricing screen pop up

    Hi Gurus, Here is my client's requirement for Sales order creation My client is a logistics service provider. Some of the services he out sources to others. In this scenario, when he enters the service, the system should give a pop up screen which wi