?PDF download in save

Download PDF files not possible with Lion?

Now i can save the pdf file on the server with OPEN DATASET ...
If i transfer the document and open this codument in adobe reader i get the error code 110.
The coding to transfer:
OPEN DATASET '/usr/temp.pdf' FOR OUTPUT IN BINARY MODE.
     LOOP AT l_tab INTO wa_tab.
       TRANSFER wa_tab TO '/usr/temp.pdf' LENGTH l_len.
     ENDLOOP.
     CLOSE DATASET '/usr/temp.pdf'.
Does anybody have any suggestions? I tried it without the length but this doesn`t work.
Thanks.

Similar Messages

  • Adobe PDF Download Custom Save as filename

    Hi,
    <p>
    Hopefully someone has seen this one before:  I have a pdf document that I am pooping up for the client in a new browser window with the following code. The document pops up beautifully however when the user selects the Save icon from the Adobe toolbar the default name of the document is
    unknown
    I am wondering if/how the default name can be set.
    <p>
    I assume the browser Adobe plug-in normally gets the document name from the URL but think the Dynpro  generated URL is unparsable for the filename and that is not really what I want the document name to be anyway:
    <p>
    <code>
    <pre>
    public void executeOpenPDFDocument( java.lang.String documentID, java.lang.String salesOrg )
        //@@begin executeOpenPDFDocument()
        // Make Call to Filenet To get Document Store Document in PDFResource
        try {
          // Get Document Content as byte [], create a WebDyn Resource in memory
          byte[] docContentBytes =
            _filenetWebSvc.getPDFDocument(documentID, salesOrg);
          IWDResource r =
            WDResourceFactory.createResource(
              docContentBytes,
              "InvoiceDocument",
              WDWebResourceType.PDF);
          // Turn memory resource into URL and open browser window to it.
          String url =
            WDWebResource
              .getWebResource(r.read(true), r.getResourceType())
              .getAbsoluteURL();
          wdComponentAPI.getMessageManager().reportSuccess("AdobeURL:" + url);   
          IWDWindow window =
            wdComponentAPI.getWindowManager().createNonModalExternalWindow(
              url,
              "Invoice");
          window.setTitle(documentID);   
          window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
          window.removeWindowFeature(WDWindowFeature.MENU_BAR);
          window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
          window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
          window.setWindowSize(800, 1000);
          window.show();
        } catch (Exception e) {
          String m =
            "ExtInvoicesCompCtrlr.openPDFDoc() Exception: "
              + e.getClass().getName()
              + " "
              + e.getLocalizedMessage();
          wdComponentAPI.getMessageManager().reportException(m, false);
        //@@end
    </pre> 
    <code>
    </pre>
    <p>
    Below is an example of a generated URL from the code above which opens a pdf document in a seperate browser window.
    <p>
    http://gd5wv61:50000/webdynpro/dispatcher/chep.com/custsummaccountactivity_ext/ExternalAccountInvoicesApp/wd_key67_1271347555972/unknown.pdf?sap-wd-download=1&sap-wd-cltwndid=WID1271347521220&sap-ext-sid=asXmMgTpBzPyLVAZdIwX7AML_Jg21fp6dkTN499z2jVQ%2Fpcd%3Aportal_content%2Fcom.chep.CHEPApps%2Fcom.chep.Roles%2Fcom.chep.ChepApplications%2Fcom.chep.Workset%2Fchep.com%2Fcustsumm%7Eaccountactivity_ext%2FExternalAccountInvoicesApp%2Fbase&;sap-wd-norefresh=X&sap-ep-version=7.00.200802160835
    <p>
    Thx,
    <p>
    Alex
    Edited by: Steven Toth on Apr 15, 2010 12:50 PM
    Edited by: Steven Toth on Apr 15, 2010 12:53 PM
    Edited by: Steven Toth on Apr 15, 2010 1:07 PM
    Edited by: Steven Toth on Apr 15, 2010 1:12 PM
    Edited by: Steven Toth on Apr 15, 2010 1:19 PM

    The "Save to Web Receipts" bug existed for a long time - here's a MacOSXHints article offering a workaround in 2007.  Here's another reference to it in 2009.  Your contention that:
    Prior to Mountain Lion, pervious [sic] versions were never over-written.
    is, I'm afraid, wrong.
    Apple fixed (worked around) that bug by using a .pdfworkflow, as I indicated.  As I also indicated, this file can't be opened with Automator (or I just don't know how, which is no great surprise ).  But it's the answer to your problems.
    You can either wait for Apple to fix what is, admittedly, a huge bug in their PDF Services feature, or you can find a way of implementing the same fix they did for your own folders.
    I should be doing the same, as I use PDF Services regularly, but I'm too lazy and have had too little success with Automator in general to give it a shot.  You may have more success than I did.
    Good luck

  • Accidentally clicked "Always save as pdf" for an ashx and can't get downloads to save as anything but that, regardless of whatever file fomat I choose from the menu/browse and request. HELP!

    When I go to download and save a file with an .ashx extension, after downloading a pdf format file I accidentally clicked the "save all files of this type in this format." So now every .ashx download gets saved as a pdf, even though I have unclicked the "save all files of this type"...etc box, and actively choose a Word or PowerPoint or other format: they all get saved as pdfs and I can't open them! I tried going into the options menu and selecting "ask every time" for format of .ashx files but it has not helped. I have cleaning my cache and restrated my computer several times and it still refuses to download .ashx files as anything but pdf's. HELP!!!

    thank you, Charlie!!!!!!
    i'm so mac ignorant and have been learning a lot through my mistakes today! your solution also helped me get the fan option back on as well!
    Thanks again!!!

  • Whenever I try to download a PDF to save for future use, it keeps opening up the text in my email and won't give me the option to download and save.  Any suggestions?

    whenever I try to save a PDF document on mu iPad, it will only open up as text in my email and won't give me an option to download and save.  Any suggestions?

    You can hold down on the open PDF and get the option to Open In -  in the resulting pop up window.

  • PDF won't save to computer

    I download several financial statements in PDF each month and two of them, though enabled, will not allow themselves to be saved to my computer. They can be viewed, printed and edited but clicking on the save icon does nothing. The'Save to:' pop-up does not appear. I'm running Windows 7 x64 and have the most current version of reader (9.4.1). Has anyone seen this before???

    Hi,
    Yes indeed, we have the same issue. After further research, I ran across this workaround that worked for me. Of course it does not solve the Adobe problem, but it does allow for saving a PDF that does not want to be saved while opened in IE (I’m using 8). Here is a copy of the workaround.
    Of course the question remains – what is the problem and why do we have to use this workaround – very strange. Must be a compatibility issue with certain website, win 7, IE 8 and Adobe. The problem site for me was Chase.com. I called their online rep and they had know ideas.  Hope the workaround works for you.
    Here is the link where I found the workaround.
    http://social.technet.microsoft.com/Forums/en-US/w7itproappcompat/thread/643d0937-31ee-45f 3-a73f-2c27c315d0a1
    From: donalbro
    Sent: Saturday, January 29, 2011 10:33 AM
    To: warren smith
    Subject: PDF won't save to computer
    Hey Reepercheep,
    Just a note...  I have been experiencing this problem with one of my accounts since back in Reader version 8.x. The second account only started paperless before Christmas. I was willing to put up with it from one group but two with the same problem broke the camel's back (it started to become a trend!). Hopefully someone has found the magic bullit to solve this. Cheers

  • Download error when trying to download and save on Adobe XI

    Since Jan. 26th I have tried to download PDF files and save them and keep getting download error. I have removed and reinstalled Adobe XI several times still having "error" when downloading or saving. This has happened with previous Adobe.

    Basically, a business that I work with sent me an email.  I opened the email and it stated, "To open the artist names click here".  I clicked and the adobe xi came up with that message.  The reason that I know that it is in an excel form is because before I got Windows 7 in December, I had xp.  When I had XP I just clicked it and the artist name list would come up in excel with no problem. I have Adobe Flashplayer 16 Active x and Adobe Reader XI 11.0 .10.  So as far as what programs..unable to answer that.  I typically in other cases am able to open pdf files. I had problem opening one other file when I did it was also an excel file.

  • How to use cfdocument  create a PDF file and save the file in server?

    Hi,
    I want to use cfdocument to create a PDF file and save it in
    the server for other people to download,can you give me a idea how
    to do this.Thanks.
    <cfdocument format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Mark

    Hi
    <cfdocument filename="" format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Give the physical path to the filename. You have write
    permission for this folder to create a PDF file.

  • I'm using yahoo email on firefox but cannot download or save doc file attachments

    Emails that I have received on my yahoo account contain attachments, saved as word documents or powerpoint or pdf files. Today, when I tried to download these files, the daownloading software could not recognise the file format in any of the files (I tried with twenty different files), and therefore could not download or save the files. The pop up window simply states "Resolving...." and does not change at all.
    Please assist me to download file attachments on emails that come through yahoo, when I use Firefox as my browser.

    Hi there,
    Please take a look at this article ([[Managing file types]]). Let us know if it worked!
    Regards,
    Ziggy

  • What to do? When on a site with a PDF download I wish to open, the site commences to open in a new Tab but the information does not come through? This happens on all sites. The advanced Java Script is disabled.

    When on a site with a PDF download I wish to open, when I click on download the site commences to open in a new Tab but the information does not come through? This happens on all sites. The advanced Java Script is disabled. The new tab will sometimes flash black then go white with nothing else happening or just go white & nothing else?

    I had the same problem and also had PDF Download 3.0.02 installed. By removing this addon I can now select a PDF document which then opens up a normal Open With/Save dialogue allowing me to open the file or save it. Hope this helps.

  • Pdf restricting to save from end user

    Hi
    I am working with filedownload ui element and my client requires that while opening the pdf the end user should not download and save it in their desktop .Please let me know the solution for how to make pdf only in readable mode

    Hi,
    check this link, it is how to do in java, hope you can use it here but not sure.
    http://programming.itags.org/development-tools/55232/
    Regards,
    SrinivaS

  • Problems with PDF downloads

    I was ready to blame the latest update from Apple, but perhaps not. Here are the symptoms:
    Our church publishes a newsletter in PDF format which can be downloaded from their web site every month. This month, after the latest Apple update, the downloaded document has problems. General format is OK (boxes around text, images) but all text is simply grey bars that seem shaded from one side of the page to the other.
    If I save the document and try to open it in Preview the same problem.
    HOWEVER, if I open the document in the Adobe reader the document is fine!
    I thought this might be a problem with my iMac (first of the aluminium iMacs), so I tried this on my Apple laptop (recent vintage). Both machines run 10.6.8 with the latest updates from Apple applied. I have no funny "helper" programs; i.e. the software is pretty clean and all updated.
    Same issue on the laptop.
    HOWEVER I looked for a generic pdf download on the web and downloaded a PDF instruction sheet from the Moen (plumbing) web site - no problem!
    So now my suspicion is that the PDF document has the problem. But I would have thought that PDF is PDF and if the Adobe reader can handle the document that Safari and Preview should be able to? Is there some format switch in the program used to generate the PDF document that would cause the Apple programs to fail but Adobe to succeed?
    Any thoughts welcomed! I'd like to figure out if it's me or them.
    PS - I've not yet tried this on that "other" operating system. I could do that with a trip to the library

    Thanks guys. I think I'll just rely on Acrobat as suggested. Sounds like somehting has changed on their end as the previous month's file loads fine.
    I'll check with teh secretary ans see what has happened.
    Thanks

  • When using Adobe Export PDF - I cannot save a document after converting from PDF.  Why not?

    When using Adobe Export PDF - I cannot save a document after converting from PDF.  Why not?

    What happens when you click the Save/Download button after the file conversion is complete?

  • Cannot read pdf when using "Save As"

    I keep getting the error message:
    "Adobe Reader could not open 'Slope Intercept Form Practice worksheet 1.pdf' 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 wasn't correctly decoded)."

    This is a continuing problem for me, and I am not sure if it is my computer's problem, or the attachments problems.  I tutor kids in the afternoons after school, and the school system here uses a program called Blackboard.  When a teacher attaches homework to this site, it is as a pdf file, which I open.  It opens within the Blackboard program and I can read it.  I am unable to print from that opened screen, so I usually "save as" to my desktop.  It downloads and saves as a pdf file to the desktop, but when trying to open it I get the error message.  Thank you for any insight you might have.
    Allen

  • N900 PDF Download Problems

    Whenever I download a pdf from a web site I get a message that asks me whether I want to open the file with PDF Reader or Save to Device. If I try to open with PDF Reader I get a message saying "file format not supported" and the phone goes back to the desktop. If I save the file to the device and then try to open it, there is a ? symbol appear on the file and the phone requres me to choose a software format to open the file with. I pick PDF Reader, but again the message appears "file format not supported" and the phone goes back to the desktop.
    The issue is that when I first purchsed the phone about 6 weeks ago PDF Reader used to download files from the web and I could read them no problem. Last week the phone just wouldn't open a PDF from a web site and hasn't done since. Can anyone help?

    Try the Internet Explorer or disable the PDF Viewer of Chrome.

  • PDF downloads don't open, is this a FF issue?

    When I download a PDF now, it saves to a file ok, but when I try to open it, a pop-up says that it isn't a PDF or a reconized file in Adobe. The file extension is .pdf. Thanks

    Got it working! Between a [https://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them?s=View+PDFs+in+browser&r=2&e=es&as=s#w_check-firefox-settings help page] here and the response I got from Vanguard, not sure which made it work. Here's Vanguard's fix:
    Dear Mr. xxxxxxx,
    Thank you for your email. We apologize for any difficulty you've
    experienced with opening your tax forms.
    If you have Adobe Reader 10.0 or higher installed but are experiencing
    difficulties, please follow these steps to repair the installation:
    1. Open the Adobe Reader program.
    2. Click "Help? in the upper left hand corner.
    3. Click "Repair Adobe Reader Installation.?
    4. When prompted for repair, click "Yes.?
    Also, we should make sure that your Adobe Reader software is properly
    configured on your computer. Please follow these steps to check your
    software's settings:
    Windows >>
    1. Launch Adobe Reader.
    2. Click "Edit," then choose "Preferences."
    3. Select "Internet" from the menu on the left.
    4. Make sure that "Display PDF in Browser" is enabled.
    5. Select "JavaScript" from the left menu.
    6. Make sure that "Enable Acrobat JavaScript" is checked.
    7. Click "OK" to save the settings.
    8. Close Adobe Reader.
    If you need further technical assistance, please call us at 888-353-0547.
    Our specialists are available Monday through Friday between the hours of 8
    a.m. and 7 p.m., Eastern time.
    Sincerely,
    Michelle xxxxxxx
    Support Specialist
    Vanguard Web Technical Support Services
    Hope this helps someone...
    Russ

Maybe you are looking for

  • HP 8600 e- all- in-one printer nt connecting to mac pro

    Hi,  My printer just stooped workingw ith my mac pro running 10.9.  I have tried resettng to factory settings and reinstalling the drivers but it only works with the usb cable.  I do not know why it is doing this.  It has worked just fine in the past

  • How do I recover my photoshop elements after hard drive replacement?

    I recently had to replace my main drive on the computer, so I have to reload all my software.  I originally installed photoshop elements 3.0 and still have the CDs and serial number, but cannot install it because it isn't compatable with windows 7. 

  • Consuming web services with JDeveloper

    Hi everyone, Im trying to consume a web service from an Oracle database 9.2.0.6, which has Java 1.3.1. I started using JDeveloper 10.1.2 with sdk 1.4, but when ever I tried to deploy into the database a bunch of libraries had to be pointed in order t

  • Trying to install a Corsair H80i on my MSI X99S SLI PLUS (2011-3)

    Has anyone else had trouble with this? I just bought my new kit and I cant get it installed the cant be screwed on the backplate due to the holes being to big, when i check what others have written they all say that the backplate on the motherboard s

  • Powerbook 12'' Maximum HD?

    I am going to buy a 12'' Powerbook on eBay and it comes with an 80gig HD. This is not enough for me and was wondering if it could be fit with a 200 or even 250gig HD or is there a limit? Thanks.