Download to PDF - Unable to open the Downloaded Document.

hi all
I am reading all the files in a KM repository using webdynpro. I am able to open and save all files except PDFs. However I am able to open the PDF before uploading to KM and also using the KM interface. But when i download it using the Download UI in Webdynpro it fails to open. I understand that it is an encoding problem during the retrieval. I used the Resource property to set the type in the Download UI.
Can anyone tell me how to get around this?
Server WAS NetWeaver 2004s.
NetWeaver Studio 7.0.07.
thank you.
reg
vln

Hi,
I am not sure, but i think you should create a Input or OutputStream to upload / download a pdf. Maybe this tutorial is helpful.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/3547e8cd-0401-0010-a4a0-c7667f3263b2">pdf Api</a>
Kind regards,
Maarten.

Similar Messages

  • Unable to open the downloaded file

    Unable to open the downloaded file:
    Hyperion Enterprise Performance Management System Foundation Services Release 11.1.2.1.0 -> for Windows x86 -> File2
    http://www.oracle.com/technetwork/middleware/performance-management/downloads/hyperion-foundation-1112-086772.html
    Error message -
    Cannot open file: it does not appear to be a valid archive. If you download this file, try downloading the file again.
    Tried many a times and used various unzipping tool.

    do not pause the download in the middle of the download.
    with some download software, you can pause/stop the download in middle and continue.it will corrupt the software.
    else in middle the due to network... it may corrupt.
    check/compare the size with the original bytes mentioned in the oracle software download index size matches your downloaded file size.
    try to download it again.
    Good Luck.

  • Unable to open the Excel document in browser

    Hi,
    I have configured excel service in CA, and i started Excel calculated service. but
    unable to open the excel document in web browser. getting below error message.
    ULS LOG
    Excel Services Application Web Front End acbd
    Critical Unable to reach Excel Calculation Serviceshttp://SHAREPOINT:32843/cc8a18cec8c74085b5ea7e4167b48acc/ExcelService*.asmx.
    [Session: User: Domain\sp_webapp] 7574e2c9-a664-46e2-9e43-4a3a0f1f290a
    04/13/2015 12:04:18.38 w3wp.exe (0x1FA4) 0x0468 Excel Services Application Web Front End accf Medium ServerSession.ProcessWebException:
    A Web exception during ExecuteWebMethod has occurred for server:
    http://SHAREPOINT:32843/cc8a18cec8c74085b5ea7e4167b48acc/ExcelService*.asmx,
    method: GetHealthScore, ex: System.Net.WebException: The remote server returned an error: (503) Server Unavailable. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
    timeout), response: 'System.Net.HttpWebResponse', status ProtocolError, user name: Domain\sp_webapp. 7574e2c9-a664-46e2-9e43-4a3a0f1f290a
    04/13/2015 12:04:18.38 w3wp.exe (0x1FA4) 0x0468 Excel Services Application Web Front End
    acco
    Critical There was an error in communicating with Excel Calculation Services
    http://SHAREPOINT:32843/cc8a18cec8c74085b5ea7e4167b48acc/ExcelService*.asmx exception: The remote server returned an error: (503) Server Unavailable. [Session:
    User: Domain\sp_webapp]. 7574e2c9-a664-46e2-9e43-4a3a0f1f290a
    I have verified in IIS , excel service related Application pool has started . and unable to recycling, throwing error message not possible
    Is it requried to restart the server???

    Hi,
    Please check your event log and see if there is relevant error message.
    If you have observed event id 5021 like this "The identity of application pool 625dfcc8e4054c7d8da14feaca288250 is invalid. The user name or password that is specified
    for the identity may be incorrect, or the user may not have batch logon rights".
    Then the error indicates the issue is caused by either of these:
    1. The account doesn’t have user rights to to “log on as a batch job” and “log on as a service” in group policy.
    2. The account permission is out of sync between SharePoint database and AD.
    If not, let me know the event id.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I downloaded an Adobe file from my email but cannot find it on my hard drive or in recycle bin - it's in downloads but am unable to open from downloads - how can I recover the file?

    I downloaded an Adobe file from my email (service provider is MWeb) but now cannot find it on my hard drive and it's not in the recycle bin. It does, however, appear in Firefox downloads but I'm unable to open it from there. How can I recover the file?

    Thanks Rob.
    I actually had no clue what the core problem was caused by. So it's Windows itself...that helps some.
    I'll resubmit there. It might actually have saved time for it to simply have been moved to there instead of off-topic, though I suppose you have to follow protocol.

  • Unable to open the downloaded patch's zip file

    i have downloaded the oracle 9i lite 5.0.2.10 patch from oracle metalink.
    But i m not able to open/extract the downloaded zip file.
    When i double click the downloaded file to open or try to extract it i get the message "Cannot open file: it does not seem to be valid archive. If you have downloaded this file then try to download the file again".
    Then i also went to the unzip utilities page of oracle , but was not able to select the appropriate platform.
    Can anybody help me out
    thanks

    Hiral,
    I just downloaded/opened the patch from Metalink and it seems to work fine. The utilities page includes unzipping programs for other platforms. All you need for Win2000 is winzip. Have you either tried to redownload the patch again or verify your winzip is functioning?
    Kalle
    [email protected]

  • Unable to Open the Word Document

    Hi Experts,
    I have a scenario to generate word document with the information comming from R/3 into bookmarks located in the document. This we are doing with WordML. We have uploaded WordML templates to server and at the run time we are getting the content from those templates replacing book marks with corresponding data comming from R/3.
    Once we replace all those book marks and we are writing into another ".doc" file and opening the same ".doc" file in another window.
    This functionality (opening document in another window) is working fine in my system (runnig with MicroSoft Word2003). Where as in another systems (runnig with MicroSoft Word2007) is not working, in that system it's opening new window and immediatly it's closing with out waiting to chose either "Open", "Save" or "Cancle" option from user.
    Following is the code used for this purpose:
    IWDCachedWebResource cachedWebResource=WDWebResource.getWebResource(inp,WDWebResourceType.DOC);
    cachedWebResource.setResourceName("XXXXXXXXXX.doc");
    wdComponentAPI.getWindowManager().createNonModalExternalWindow(cachedWebResource.getURL(),"XXXXXXX.doc").open();
    NOTE: inp is the inputstream which contains the content that has to open in the final ocument.
    Please help me out in where exactly it's causing the problem.
    Thanks,
    Udaya Dumpa.

    Hi Udaya Dumpa,
    I am currently working on a project of my own where I would need to open different versions of Word documents using different version of office.
    I am using the method cl_gui_frontend_services=>EXECUTE and just passing the location and file name to the parameter document.
    I have tested this and so far have no problems.

  • I've been working with documents in pages and recently downloaded word for mac. i open the pages documents and they appear to be corrupt. at least, a lot of the font is now in weird boxed pictures. what do i do?

    I've been working with documents in Pages and recently downloaded Word for Mac. Upon opening Pages documents with Pages, the documents appear corrupt. Much of the font has been replaced with boxed little pictures - yet they are identified as times new roman. What do I do?

    You got the new iphone?????   I have same problem.  I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was).  Have you found a solution?????   I even tried to change import settings on format transfer but hasn't worked. 

  • My MacBook Pro  will not allow my to save a map from the internet as a pdf when I open the saved document it is blank can anyone help me?

    Mac OS X Lion 10.7.5

    15" = 2 fans, left & right. HDD in lower-right corner.  See here for component placement (click on appropriate model, choose the fan guides): http://www.ifixit.com/Device/MacBook_Pro_15%22
    Replacement fan: $60 + shipping. 13 screws altogether.
    Determine which one with Old Mechanic's Trick: get a solid metal rod of adequate length 3/16"-1/4" dia., place one end against the bony area next to your good ear and move the other end against different spots on the Mac's body to determine exactly where the noise comes from.
    Or replace both to be safe.
    99% sure it is a fan.
    P.S.: Must Replace Bad Fan. If it fails, MBP can overheat and get permanently damaged. Not User Serviceable.

  • I have encountered a problem in Premier Elements 13 when trying to open the downloaded bundle.

    I have a problem with Premier Elements 13. I am unable to open the downloaded bundle that I have just purchased. I am useing Windows 7 with a Chrome browser. After the download is completed, the files are ready, The box is ticked to launch Adobe Premier Elements 13. When the finish buttom is ticked I get a message saying that `We`ve encountered the following issues. Installer failed to initalize, please download Adobe support advisor to detect promlem. It appears that the support advisor has been discontinued. Can anybody offer any further advice.
    Many thanks
    John W  

    Without exact system info we can't tell you much, but as a start make sure you are actually running with administrative privileges and stuff isn't blocked by security tools.
    Mylenium

  • Has anyone run into the problem of downloading or opening an E.pdf file? I am running on 10.6.8 and am unable to open the file. Any suggestions?

    Has anyone run into the problem of downloading or opening an E.pdf file? I am running on 10.6.8 and am unable to open the file. Any suggestions?

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • Downloaded U2 free album. Unable to open the digital booklet. Adobe reader error shows up.

    Downloaded U2 free album. Unable to open the digital booklet. Adobe reader error shows up.

    Same problem here using Preview: "The file 'Digital Booklet - Songs of Innocence.pdf' could not be opened. It may be damaged or use a file format that Preview doesn't recognize." Was also unable to open the file in Acrobat with similar. The file is corrupt.

  • HT3678 If I download a .mov file from gmail, I am not able to open the file. I reinstalled QuickTime 7.6.6, still unable to open the file. If I download the same file from another mail server I have no trouble. What is gmail doing to my file?

    If I download a .mov file from gmail, I am not able to open the file. I reinstalled QuickTime 7.6.6, still unable to open the file. If I download the same file from another mail server I have no trouble. What is gmail doing to my file?

    Also i have reinstalled the reader9 two  times and tried with reader8 also but in both the cases same problem.
    it would be gr8 help if someone can help.

  • I downloaded and paid for Photoshop Elements 13.  I am unable to open the editor at all.

    I downloaded, and paid for, Photoshop Elements 13.  At first I was able to open the editor only when I made an adaption to the Task Manager Processes(at the recommendation of one of the forums) but now I am unable to open the editor at all.

    Can you try opening Editor directly from the exe available at:
    C:\Program Files\Adobe\Photoshop Elements 13\PhotoshopElementsEditor.exe
    If it still does not open, are you seeing an error message when you try to open Editor?
    Thanks,
    Anwesha

  • I can't get PDF's to open or download, they come up blank

    I can't get PDF's to open or download, they come up blank. I've read & tried the PDF Viewer & Schubert tips, and done full re-install but still the same - help?
    I have had various folks have a look, including the apple genius bar who could not fix it, they suggested this forum.

    Does it work if you download and save the PDF file to your computer (desktop)?
    *https://support.mozilla.org/kb/Unable+to+download+or+save+files
    *http://kb.mozillazine.org/Unable_to_save_or_download_files
    Does it work if you use Preview?
    *https://support.mozilla.org/kb/Managing+file+types
    *https://support.mozilla.org/kb/change-firefox-behavior-when-open-file

  • Opening the "downloaded sap notes"

    I have downloaded notes from the "SAP NOTES" into my machine using "SAP DOWNLOAD MANAGER".
    The notes have been saved into the folder in my personal computer.
    The issue is  -->
    I am unable to open the notes and study the contents.
    PLEASE HELP !!!!!!!!

    Hello,
    there is a (new?) button in the notes, when you display these - view pdf or something like this on the upper left wart of the screen.
    If I want to have notes copied locally (only the text, not the sources), I always view the pdf and safe themn locally.
    Kind regards,
    Carl

Maybe you are looking for