Download to PDF File

Hi all,
I want to download .pdf file (just like we download eg. .txt file using FM 'GUI_DOWNLOAD', I have to download a .pdf file). I tried with the same FM, but whenever I am trying to  open the file, it's giving error. Anybody any idea? Is it possible to download to .pdf simply using  GUI_DOWNLOAD?
If yes, any special parameter needs to be passed?
Thanks
Sandip

First you need to mark your post as a question.  There should be something on your screen that says,  "Mark as a Question".   Check this box.  This will turn on the points system for your post.  You can give points according to how helpful the answers are.  And you can give 10 points for answer that solved your problem.  Doing this "closes" the thread. 
Please see this as it will explain further.
https://www.sdn.sap.com/irj/sdn/collaborationareas/collaborationfaq
Thanks and Welcome to SDN!
Regards,
RIch Heilman

Similar Messages

  • Safari 3 quits as soon as I download a .pdf file

    I've just downloaded the Beta of Safari 3, running on my 12" Powerbook (10.4.10, 1.25Gb RAM, 1.5GHz processor). Now, whenever I try to download a .pdf file from any site, the browser crashes without warning or error message.
    Three questions:
    1. Anyone else having the same problem?
    2. Anyone got an answer to it?
    and, assuming the answer to (2) is 'no',
    3. How do I re-install the latest version of Safari before the Beta 3?
    Thanks,
    Mark

    Right - apologies for posting the wrong forum for a start... Should have looked around and spotted the Beta forum.
    Secondly, problem now solved:
    Moved the "AdobePDFViewer.plugin" from HD>Library>Internet PlugIns to
    HD>Library>Internet PlugIns>Disabled PlugIns

  • How to download a pdf file in external storage(sd-card) not use a isolated storage wp8

    i have a url for download pdf file return by webservices 
    and i have attach this link in hypertext button this is start a download but in browser . and when i am google for this purpose the give me "
    Background file transfer
    " Process and then code is also using a isolated storage but i want a external storage process Please Help me 
    how to download a pdf file in external storage(sd-card) not use a isolated storage wp8 

    Hello,
    This forum is for discussions and questions regarding profiles and Microsoft's recognition system on the MSDN and TechNet sites. It is not for products/technologies.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to download a .pdf file from a JavaMail application?

    hi to all,
    iam unable to download a .pdf file from a mailserver using
    my javamail application.i have downloaded all kind of files except .pdf.
    my code snipnet:
    public static void dumpPart(Part p) throws Exception {
    //     if (p instanceof Message)          dumpEnvelope((Message)p);
              System.out.println("CONTENT-TYPE: " + p.getContentType());
              Object o = p.getContent();
              if (o instanceof String) {
                   System.out.println("This is a String");
                   System.out.println((String)o);
                   } else if (o instanceof Multipart) {
                        System.out.println("This is a Multipart");
                        Multipart mp = (Multipart)o;
                        int count = mp.getCount();
    System.out.println("****************************************");
    System.out.println("count" + count);
    System.out.println("****************************************");
                        for (int i = 0; i < count; i++){
                             System.out.println("CONTENT-TYPE: " + p.getContentType());
                             dumpPart(mp.getBodyPart(i));
                        } else if (o instanceof InputStream) {
                             System.out.println("This is just an input stream");
                             InputStream is = (InputStream)o;
                             String filename=System.currentTimeMillis()+".exe     ";
                             FileOutputStream fos=new FileOutputStream(filename);
                             int c;
                             while ((c = is.read()) != -1)
                                  //System.out.write(c);
                                  fos.write((char)c);
    }//dumpPart
    what's wrong with this code?
    Nagaraju.G

    fos.write((char)c);Converting the byte to a char is unnecessary and probably harmful. Just do this: fos.write(c);

  • How to download a pdf file from the server from an strut application?

    Hi,
    I wan to download a pdf file from the server side to local system. Please help me how i use the down load option.

    Read up on the Struts download action [1].
    And next time, please post in the relevant forum, one of the web-tier ones [2].
    [1] http://wiki.apache.org/struts/StrutsFileDownload
    [2] http://forum.java.sun.com/category.jspa?categoryID=20
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Safari 4.0.3 crashes when downloading a .PDF file

    Whenever we try to download a .PDf file, Safari crashes with this error. "The application Safari quit unexpectedly. The problem may have been caused by the Acrobat Plug-in."
    Any suggestions would be welcome.
    Brian Bowell
    Berkley Normal Middle School.
    New Zealand.

    Greetings,
    Are you trying to download a PDF file, or open one in Safari? There's a difference, so you need to be clear as to what you're really doing.
    For the sake of argument, I'll assume you're trying to open a PDF file in Safari. In that case, the problem is the Acrobat Reader and it's plugin. You don't need either one, because Safari is perfectly capable of rendering PDF files all by itself, and faster than Adobe Reader.
    You should use something like AppDelete to remove Adobe Reader and it's plugin entirely, then restart Safari and try opening a PDF file. You should have no problem.

  • Can't download a PDF file.

    I'm trying to download a PDF file from a financial institution, but all I get is the typical box with the never ending flying file. Nothing else happens. I'm using win xp and explorer. I disabled all security programs but that did not solve the problem. I just don't know what else to try.

    Most likely the server on that institution is slow or overloaded. Try again, or post the download link here.

  • Problem with downloading a PDF file from a webserver run on Linux

    Hi,
    I've written a simple functionality that manages file attachments.
    Everything works fine (attaching, downloading, deleting) when the webserver runs on Windows.
    However when I deployed the code to the Resin webserver run on Linux and use the Win browser to connect to the app, the downloading of PDF file doesn't work (uploading and downloading of txt, doc, xls, jpg files is OK).
    The downloaded PDF file is almost twice as big as original (~28KB when original is ~12KB) and it can't be open.
    I guess it is the problem of writing to the output stream of HttpServletResponse but I can't localize the problem.
    Here is the code I use for downloading file:
    private boolean downloadFile(HttpServletResponse response, String filePath,
                   String originalFilename) {
         File file = new File(filePath);
         String contentType = URLConnection
                   .guessContentTypeFromName(originalFilename);
         // If the content type is unknown set the default value.
         if (contentType == null) {
              contentType = "application/octet-stream";
         BufferedInputStream input = null;
         BufferedOutputStream output = null;
         try {
              input = new BufferedInputStream(new FileInputStream(file));
              int contentLength = input.available();
              response.reset();
              response.setContentLength(contentLength);
              response.setContentType(contentType);
              response.setHeader("Content-disposition", "attachment; 
                           filename=\""+ originalFilename + "\"");
                output = new BufferedOutputStream(response.getOutputStream());
              int bufSize = 10000;
              byte[] buf = new byte[bufSize];
              int bytesNo = 0;               
              while ((bytesNo = input.read(buf, 0, bufSize)) != -1) {
                   output.write(buf, 0, bytesNo);
              output.flush();
              input.close();
              output.close();
         } catch (IOException e) {
              log.debug(e.getMessage());
              e.printStackTrace();
    }Can you point any problem?
    Thanks in advance,
    Ala

    matali wrote:
              int bufSize = 10000;
              byte[] buf = new byte[bufSize];
              int bytesNo = 0;               
              while ((bytesNo = input.read(buf, 0, bufSize)) != -1) {
                   output.write(buf, 0, bytesNo);
    This piece is completely wrong and doesn't work for files bigger than 10000 bytes. Replace it by
    byte[] buffer = new byte[10240]; // 10KB exactly.
    int length = 0;
    while ((length = input.read(buffer)) > 0) { // Read next 10KB of input to buffer.
        output.write(buffer, 0, length); // Write specified length of buffer to output.
    }Or just use output.write(input.read()) in a loop of the contentLength as you're alredy using BufferedInputStream/BufferedOutputStream.
    Another thing, the method is declared to return a boolean, but it actually doesn't? I would just let it throw an exception in case of failure instead of returning a boolean and let the calling method handle the exception.

  • Reader 11.0.2 does not automatically launch upon download of .pdf file

    My OS is Windows 7, my browser is Firefox 19.0.2.  It used to be that when I downloaded a .pdf file, Adobe Reader would launch automatically and display the text, ready to read.  Now the Reader no longer launches automatically; I have to go to the Tools > Downloads list and double-click on the desired file before the Reader will open it.  I can't recall if this problem started when I upgraded the Reader to 11.0.2.  I've uninstalled, rebooted, reinstalled and rebooted again - no luck.  Can anyone advise?  Thanks.

    Hi,
    You can control how Firefox handles each type of file by going into Firefox > Preferences > Applications.
    Please find Portable Document Format from the list and select Adobe Reader as an application.
    Please check the screenshot:
    Let me know if this helps you.
    ~ Aditya

  • Once i download a pdf file to a word doc, how do i edit the doc

    once i download a pdf file to a word doc how do i edit it

    What you are trying to do is upload a file to a server not download. Depending on the mechanism that the server uses an alternate browser like iCab may be able to do this.

  • I cannot download a pdf file that was sent to me.

    I cannot download a pdf file that was sent to me.

    Sent from where? By whom? It may not be a PDF at all, just a virus in disguise. That aside, we need some system info at least...
    Mylenium

  • How do I upgrade Adobe reader - currentlyevery time I try to download a PDf file on my macpro I get a grey screen  and a dialog box that says adobe reader is blocked for this website...

    Help - a couple of weeks ago I tried up upgrade adobe reader but it never completed loading as far as I can find / that night would never finish
    ( how would I know , where would I check?)
    now every time I need to download a PDF file ( dental claim forms tonight) I get a grey screen with a dialog box that says Adobe reader blocked for this site
    and that happens on any site where I am trying to download a PDF…?

    What is your operating system?  Reader version?  Downloading from what browser?

  • When wanting to download a PDF file from a site, when cliicking on the link, Firefox 3.6.13 goes to a blank page. Previous versions worked perfectly. How do I fix this please?

    Since no window shows up asking where to download, etc as happens in other browsers (Opera) and in previous versions of Firefox, no able to click on a web site link to download a PDF file. Just goes to a blank page.

    Some firewalls like Kaspersky can block content and send a 1x1 GIF image instead.
    Kaspersky: Protection > Firewall > Filtration system: disable the "Banner Ad Blocker"
    See [[Configuring Kaspersky Internet Security]] and [[Firewalls]]

  • Downloading a pdf file from javascript() window does not work

    PDF download/view works fine where the link points to actual pdf file. But I have problem downloading/viewing pdf files that are loaded using javascript(), e.g. bank statements and such. When I click a link FF downloads a file which either has no extension or has a different one (not .pdf).
    Later I realized that I can manually rename the downloaded file to insert .pdf extension and open it in reader.
    How can I solve this? I don't have this problem when using IE or Chrome.
    Thanks

    Could you try a new profile?
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    If it still happens with a new and clean profile then the most likely cause is that you have security software that is blocking this JavaScript.

  • How do i download a pdf file from an e-mail? save to computer did not work.

    How do i download a pdf file from an email? Save to computer did not work.

    What is your operating system?  What is your email client?  What exactly means "did not work"?
    Most email clients I know have a 'Save Attachments' functionality; did you try that?

  • Why can't I download a pdf file using internet explorer as my browser.I can download pdfs using fire

    Why can't I download a pdf file using internet explorer as my browser. I can download pdfs using firefox.

    Gilad D,
    Thanks for the support.
    I would guess the plugin is enabled since when I use Foxfire as my browser, all pdfs download and are readable. (just doesn’t happen when I use IE as my browser, I get a blank screen with a small “x” in the upper left corner)
    I will try your proposed solution.
    Charlie

Maybe you are looking for

  • Acrobat Pro XI isn't detecting a scanner

    I'm running Adobe Acrobat Pro XI on Windows 7 Enterprise SP1 machine.  When I go to File, Create, PDF from Scanner and choose either Color Image or Custom Scan it's not showing any scanners available (custom scan shows "Please Select a Device") if I

  • Vignetting In Import Dialog Box

    Can anyone tell me how to fix the thumbnail vignette in the import dialog box of version 3.2? The thumbnails have a vignette until I mouse over them or select them. Is there a setting to turn this off?

  • Swing best practice - private modifier vs. many parameters

    Dear Experts, I have a comboBox that has a customized editor and has KeyListener that responds to several keyPressed and keyTyped. The comboBox is used in two different JFrame, say JFrame frmA and JFrame frmB. Since the KeyListener changes the state

  • Business Process Repository Server connection difficulties

    All, We have Business Process Repository installed and can connect to it on the same machine but are unable to connect from any remote machine. It would appear therefore that this is some sort of configuration issue, and I see many discussions of thi

  • 8.1 update problems: iMessage

    after updating to the 8.1 yesterday morning my iMessage has not been working correctly. first my messages said undelivered until I turned Imessage off. Then I tried to turn them on again and they will only send from my email. When I uncheck my email