Receiving a pdf file from R3 in WebDynPro

Hello Experts,
I have a requirement like I need to have a button to download PDF. The PDF has to come from SAP R/3 .
Now i cant use Adobe Interactive form as the PDF layout will change from time to time. I will need to call an RFC and the RFC has to return me this PDF as an object and i need to display it.
1. The Question is Is this Possible?
2. How will the the RFC return me the PDF?
3. How can my Webdynpro application receive this PDF object and provide it for download?
Can anyone suggest a solution for this?
Thanks alot in Advance
Mohamed Yusuf
Thanks Sumit, I was not planning to use AdobeInteractiveForm(AIF), as i thought i would need to design the form and content to use, and the layout will be changing frequently. so if i just give the binary context in the pdfsource of AIF will it work? I will try to check that out after configuring ADS. Is there any other way to do it without using AIF.
Message was edited by:
        Mohamed Yusuf Penna Khaja

Hi Mohamed,
                      ur RFC will return u pdf in binary format. actually it will be smart form, developed in abap. U can use Adobe Interactive Form as everything will be defined in smart form. u have to just bind the smart form in binary format to pdfSource of ur AIF.
regards
Sumit

Similar Messages

  • Trouble opening pdf's - I have received several pdf's from a friend via e-mail (Thunderbird). Some of them open just fine but others give me the message: "There was an error opening this document. The file is damaged and could not be repaired."

    Trouble opening pdf's - I have received several pdf's from a friend via e-mail (Thunderbird). Some of them open just fine but others give me the message: "There was an error opening this document. The file is damaged and could not be repaired." My friend made sure that the files in question opened without issue on his computer (a PC). Further, I was able to open one of these "damaged" files on my Android phone, but I cannot open them on the Macbook Air. Any help would be greatly appreciated.

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • I'm using iphone 4S, and I can not open PDF file only from my husband email that using Mic outlook. It was very weird because I can received other email with pdf file from other people. can someone help.

    I'm using iphone 4S and ipad mini, and I can not open PDF file only from my husband email that using Mic outlook. It was very weird because I can received other email with pdf file from other people. Can someone help...
    Thanks in advance

    Hi Eidda,
    This may because the attachment is a winmail.dat file. I would recommend taking a look at the article below for more information. Note: the article is written for OS X mail, but does also apply to this situation.
    Mac OS X Mail: What is a winmail.dat attachment?
    http://support.apple.com/kb/HT2614
    -Griff W.

  • Adobe 8 - Unexpected Corrupt or incorrect file type warning when viewing a PDF file from the Web

    Hi,
    On downloading a PDF file from my web site using Adobe 8 on the client machine I expect the file to open automatically however I receive encounter the "File Download" dialog. It has the following warning message: "The file you are downloading cannot be opened by the default program. It is either corrupted or it has an incorrect file type. As a security precaution, it is recommended that you cancel the download."
    This issue did not occur within previously tested versions of Adobe Reader (e.g. Version 5.1).
    On investigating the issue I discovered the factor that results in Adobe 8 failing to open the file automatically is the Content-Type = "application/pdf; Charset=utf-8". However, if I intercept the response and alter the Content-Type to contain only "application/pdf;" the issue on Adobe 8 does not occur.
    I have even tested when the Content-Type contains an empty Charset (i.e. "application/pdf; Charset=") but this issue still occurs. In addition setting the Charset to other encodings (e.g. "ISO-LATIN-7", "iso-8859-1") the issue occurs.
    QUESTION(s):
    1. Why is it necessary for Adobe 8 when opening PDF files from the web to expect no Charset within the Content-Type?
    2. If this was not an issue within previous versions of Adobe surly this is a bug?
    Since I cannot ensure that the Response's Content-Type does not contain a Charset at all please can someone suggest either a work-around or more importantly a solution to the issue?
    Please Note:-
    1. Within Adobe, Edit -> Preferences -> Internet option it's compulsory for our users to have "Display PDF in browser" ticked!
    2. We cannot prevent a Charset from being present within the Content-Type of the response sent to the client, hence this issue.
    Many Thanks in advance,
    Martin.

    Bill,
    This is exactly the same behavior I observed when I rendered a PDF stored in a database through a .NET page. If I chose to save it, it would open fine after the save, but if I chose to open it in the browser without saving it, I would get the error.
    The problem was not with the PDF or Acrobat. It was with the way I was delivering the PDF. Putting the following code before my binarywrite fixed the issue completely:
    Response.ClearHeaders()
    Response.ClearContent()
    Response.ContentType = "application/octet-stream"
    Response.AddHeader("content-disposition", "attachment; filename=" + saveFilename)
    where saveFileName is the name you want to give the PDF.
    You can use 'inline' instead of 'attachment' above if you just want the PDF to open (no option to save first). You can also use 'pdf' instead of 'octet-stream' (not sure the difference).
    The trouble seems to be that .NET puts some info in the header and/or content by default prior to anything your code says to write. If you don't clear this, IE has an issue with it. Other browsers seem to ignore it.
    Bottomline is that this is an issue the website programmer needs to fix and is not something the user can fix by changing some setting(s).
    I hope this helps.

  • Why does Acrobat suddenly not work on my Mac (won't open pdf files from a web page), yet I can open them from my iPhone? Everything worked fine yesteray.

    Hello:
    I have a Mac running OS 10.8.5 and I use Acrobat Pro and Acrobat Reader. Today for some reason, any time I try and access a pdf file from a web page, it won't open. I get a blank window. PDF files already on my computer open fine and I can create PDF files from Word docs, but I can't download or view any pdf file from any web page. Strangely, PDF files on web pages open just fine on my iPhone.
    I checked that both my copy of Acrobat Pro and Acrobat Reader are up-to-date. They are.
    I checked that my copy of Firefox is up-to-date. It is. And nothing changed with Firefox within the last 24 hours.
    I am a humble computer end-user. I am baffled as to why this would suddenly not work. I have not changed any settings, etc. Any help or suggestions would be greatly appreciated.

    Thank you.
    I checked your instructions you sent and as far as I can tell all of my settings, etc for Firefox (plugin updates and preferences) are correct but I am having the same problem.
    However, everything works in Safari. I don't have time to attempt to diagnose why Firefox no longer works. I will just switch to Safari.
    Many thanks.
    Charles
    Charles Deister
    (503) 949-5762
    [email protected]<applewebdata://81CB4171-226F-49DF-BD59-A38A7360B3FB/[email protected]>
            PO Box 5032
         Salem, OR 97304
    http://www.pilotstrat.com<http://www.pilotstrat.com/>
    This transmission (including any attachments) may contain confidential information, privileged material, or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

  • Viewing PDF files from Email

    I just recently changed from a BlackBerry to the new iPhone 4. Other than the known problem, the change has been great. Quick question for those of you more technical sound than me. I receive a large number of PDF files for the kind of work I am involved in. I was traveling yesterday and noticed that I am unable to open the PDF files from the email I received from one of my co workers. In fact, it is not even showing as an attachment although I knew it was coming. Would someone(s) let me know how I can remedy this situation as I am on the road alot and need to ability to view these crucial files. I am really not concerned with making any alterations to the files, just viewing them and then calling the appropriate people to make the changes in house. Your help is greatly appreciate.

    Try if disabling Protected Mode helps (Adobe Reader | Edit | Preferences | Security (Enhanced)).

  • I have recently received a pdf file that, although previously opened, now shows totally blacked out?  What can I do to correct this?

    I have recently received a pdf file that, although previously opened, now shows totally blacked out?  What can I do to correct this?

    Hi rdfnra,
    Please check the Page Display preferences (File > Preferences/Acrobat > Preferences) and make sure that Show Large Images is selected. If sounds as though this PDF may have been created from a scanned document, and this preference is disabled.
    Please let us know how it goes.
    Best,
    Sara

  • How to edit or add text to a PDF file from an e mail

    I would like to open a PDF file from an e mail received to work the file to edit and or add text, my e mail service is  LIVE.CA  (hot mail), I have Iwork 09 

    You can convert the PDF text to regular text (.txt) and then import/open into another program and make your changes, then save the file in the programs format (for your later editing) and then choose Print from the program and there may/may not be a option to save as PDF again.
    You'll need a free (limited use) PDF to text utility like
    PDF OCR
    http://solutions.weblite.ca/pdfocrx/
    Trouble here of course is you lose all the formatting and have to reformat, but it's a lot less expensive than Adobe's software.
    LibreOffice is free to use and can save as PDF format if iWork doesn't save as PDF, it should unless Apple is really peeved at Adobe.

  • How to exreact multiple pdf files from a zip files from application server to presentation server

    Hello exprts,
    I am passing one pdf file and one text file to zip file in apllication server through my custom program and then downloading it using standard function module to my desktop. its working fine. Then I added  another pdf file to my zip file. But only single pdf file is getting download . So can you please help me regardiong this issue? 

    Dear Experts ,
    I finded out the way to extrcat pdf files in presentation server. But now my problem is that I am not able to add multiple pdf files in a zip file. When I am adding new pdf file then older one is not coming in read data set. So please kindly tell me how can I add multiple pdf file in my zip file and again I can get all the pdf files from here.

  • I cannot open a pdf file with aole-mail. I can open pdf files from windows explorer. I have associated pdf with adobe reader. My operating system is window

    I cannot open a pdf file with aol e-mail. I went to preferences in Adobe Reader but did not know what to enter for Incoming IMAP and outgoing SMTP. I can open pdf files from windows explorer as  I have associated .pdf files with adobe reader. My operating system is windows 7.
    When I try to open the pdf file within aol e-mail I get a message: 'Your security settings do not allow this file to be downloaded'.  I have not changed my security settings (Tools, Internet Options, security).

    Or http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • When I download .pdf files from my office they are converted to .ashx files

    When I download a .pdf file from my Outlook mail box at my office, Firefox reads it as an .ashx file. However if I use Safari, it is read correctly as a .pdf file.
    How can I fix my Firefox browser?
    An IT person at my office said I should reset the download actions by deleting mime.Types.rdf, but I can't even find this file.

    See [[/en-US/questions/894442]]

  • Delete PDF file from a folder

    Hi!
    please help me this is urgent..
    i try to delete pdf file from my local pc how to do that ??
    can some one help me i need it by today please help me ..
    thanks to all of you...
    from:
    newbie

    First you open a File to the specified file, and then you call delete(). Easy
    File file = new File("path/filename");
    file.delete();Of course if you want to make your application cross-platform you will need to build a correct path somehow. Check out the static attributes of the File class to help you (fx. File.separator).

  • How do I retrieve a deleted PDF file from Adobe Reader on iPad?

    I inadvertently deleted a very important PDF file from the Adobe Reader on iPad. Does anyone know what I can do to retrieve it? A reply would be highly appreciated!

    needhelp74328262,
    Unfortunately, once a file is deleted, you won't be able to "undelete" it.
    Have you backed up your iPad using iCloud or iTunes recently?  If so, you can restore the entire content (not just a single PDF file) on  your iPad.
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support

  • Function module to fetch pdf file from App. Server and print/email?

    Hi all,
    Is there any function module to fetch a PDF file from APPLICATION SERVER and print the PDF file or send it as an attachment in an email?
    Please help..
    Thanks in advance.
    Sandeep.

    Hi Sandeep,
    Is there any function module to fetch a PDF file from APPLICATION SERVER
    1) As far as i know there are no FMs to read a file from App server, you can do the same using *OPEN/READ/CLOSE dataset ABAP statements - There are tons of examples for this on the net.
    and print the PDF file or send it as an attachment in an email?
    You can send the file read from the app server(by the suggested method above) and use CL_BCS to send it as an attachment.
    Again there are many examples on the net on how to use CL_BCS for the same.
    Regards,
    Chen

  • Print PDF file from app.server

    Hello,
    I need to print a PDF file from the application server without any dialog for the user.
    Is it possible? and if so- how?
    Is it also possible to do the same with office file (DOC,XLS)?
    Thanks
    Moshe

    Hi,
    CV150_RPINT_DOC for frontend execution.
    FM SAP_PDF_VIEWER_DEMO- foreground only.
    using fm SXPG_COMMAND_EXECUTE in background.
    thanks & regards.

Maybe you are looking for

  • The web cam is not found

    hi hope you can help me. happens that when i turn on the lap a message appears saying that the web cam could not be started and suggests to restart. i did it already but the same window is shown. moreover, i cant find the web cam app. model: toshiba

  • Need help converting MAC OS 9 to MAC OS X sound files - PLEASE HELP

    Hi, I have some old MAC OS 9 sounds that I would like to convert to work with MAC OSX. I noticed that these files I backed up on CD years ago are now reading as Unix Executable Files. How do I convert them to work with MAC OS X? Sincerely, Drew

  • Problem with PhPmyadmin and Pfadmin

    I have some Problem loading some Websites, i think its more a domain problem, following: If I want to load my Website in Firefox beta (latest), works, if I want to access phpmyadmin or pfadmin, it cant find anything, if I type in the IP it works, but

  • Apple TV wireless connection

    Hallo, I have a Apple TV connected to my wireless network created by a TC 500 GB. Till now I have used for the TC the wireless setting "Only 802.11n (5GHz) and everything was working pretty good. Now, since I have bought an iPod Touch, I needed to sw

  • Where can i locate the latest version of Bridge to download and work within Photoshop CC?

    Where can I locate the latest version of Bridge to download and work with Photoshop CC?