Open PDF file from SAP ?
Hi gurus,
Is there any FM or command that We can open a pdf file from our computer , This means that Open pdf with Acrobat reader but will be triggered in ABAP .
Thanks
Hi,
First you need to download the pdf file onto the frontend computer then the MF WS_EXECUTE will do the job:
CALL FUNCTION 'WS_EXECUTE'
EXPORTING
document = 'X'
program = path_document
EXCEPTIONS
frontend_error = 1
no_batch = 2
prog_not_found = 3
illegal_option = 4
gui_refuse_execute = 5
OTHERS = 6.
A good directory to download you file would be the SapWorkDir, I have seen in the standard that sap get this directory using WS_QUERY:
CALL FUNCTION 'WS_QUERY'
EXPORTING
query = 'CD'
IMPORTING
return = path_for_copy
EXCEPTIONS
inv_query = 1
no_batch = 2
frontend_error = 3
OTHERS = 4.
Hope it helps
Regards,
Renaud Wanschoor
Similar Messages
-
Error when opening PDF files from SAP.
Hi Gurus
I have posted this question in ABAP Development section also. Please read the below text.
We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button.
This issue occurs few times a day in Windows Vista.
This issue does not occur in Windows XP.
Since past few weeks, we have been trying to find some error/warning/atleast some text in log files of SAP, OS, Adobe Reader, Registry entries, Event Viewer. So far, we have not found anything.
SAP is not able to help as this issue occurs intermittently and said when they tried, the issue did not occur. They made two attempts and in each attempt they tried 10 times to reproduce the issue. This issue occurs intermittently.
Environment
SAP R/3 4.7 EE SAP_Basis 620 Support Package 61
Windows Vista Enterprise
Adobe Reader 9.0 and Adobe Reader 9.1 (tried with both versions)
SAPGUI 710 Patch 12 (latest patch). It also occured in Patch 11.
Please suggest
Thank you
PavanNow I got to capture the screenshot, however not able to attach/upload here but it says:
'Reading Untagged Documents'
lets say i tried to open 6 page document then it said:
'This 6-page document is untagged and must be prepared for reading. While the document is being
analyzed, your assistive technology will not be able to interact with this application. '
then it asked for Reading options
then a checkbox for to confirm 'Always use the settings from the Reading Preferences (Do not show this dialog again)
then 'OK/START' and 'cancel' buttons
It seems, this is the problem with Adobe w.r.t Vista.
thanks
Bhudev -
I want read PDF file from SAP directory and create a spool request or print
Hi all,
I want read PDF file from SAP directory and create a spool request or print the pdf through SAP. Can any body help me in this.
Also please write to me if its possible to open PDF from SAP directory to adobe pdf reader.
Thanks in advance,
SunnyHi Sunny,
Check these links.
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
http://www.erpgenie.com/sap/abap/pdf_creation.htm
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
Hope this resolves your query.
Reward all the helpful answers.
Regards -
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
-
I am trying to open PDF files from safari, but when I click on them they open in a separate window and the information is encrypted. Any ideas on how to get them to open them in Adobe? Any help please!
The pdf is loading as html code. If you save it, it will download as :
605124.pdf.html
Change the extension to .pdf
And it opens and works perfectly, I just tested it:
Use this link to download it automatically:
http://saladeaula.estacio.br/arquivo.asp?dir=00/1020624/605124.pdf&num_seq=59828 4 -
I cannot open pdf files from one supplier when using Adobe Reader but I can using another Viewer
I cannot open pdf files from one supplier when using Adobe Reader but I can open it if using Google PDF viewer or another viewer. The Adobe reader gives the error "There was an error opening this document. The file is damaged and could not be repaired" when I try to open the file. The version of Adobe Reader is 10.1.7, however I have tried other versions and they all fail the same way. I have tested on a number of different PC's in different networks and all fail using Adobe Reader but work using alternate viewer. Also the PC's will open a PDF from any other source.
Newer Reader versions are more strict than older versions (and other PDF viewers). If certain minimum requirements are not met, Reader will tell you that the PDF is damaged. This can happen when a document was created with software that does not adhere to PDF standards, or when the file was damaged during a download or email transmission.
You should contact the creator of these PDFs. -
Hello,
I'm looking for a way to print a .pdf file from sap . The file was created manualy and is in a newtwork folder.
I have to send the print to a network printer . Is it possible to use the AcroRd32.exe as a command line?
Thank you.hii,
try this
CONVERT_OTFSPOOLJOB_2_PDF
http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm
PDF - Printing a PDF file from ABAP or SAP Script
regards,
Sri. -
Can no longer open PDF files from my emails sent from other websites. Problem seems to correlate with automatic upgrade of free adobe software (from version 11 to Reader DC)?
To configure the browser to use Acrobat or Adobe Reader to open PDF files:
1. Quit Internet Explorer(any other browser)
2. Start Acrobat or Adobe Reader.
3. Choose Edit > Preferences.
4. Select Internet in the list on the left.
5. Deselect(Uncheck) Display PDF in Browser, and click OK.
6. Restart Internet Explorer -
Can't open PDF files from Windows Explorer on Windows 8.1
Hello,
after I've upgraded to Windows 8.1, I can't open PDF files from Windows Explorer (directly double clicking the file). The AcroRd32.exe runs in the background (2x !) as I see the processes in task manager, but there is no user interface visible. I have Acrobat
Reader 11.0.06, the desktop version (not Metro). I tried uninstalling the Acrobat reader and installing it again but this didn't help. The only way to open PDF files is to close the AcroRd32.exe from the task manager, open empty Acrobat Reader from the desktop
and then drag&drop the PDF file over that window. This is quite inconvenient. Is there a way to fix this issue so I can open PDF files directly from windows explorer?
Many thanks!I had to install adobe reader, but PDF's used to display just fine with IE, any idea what happened ?
Windows 8.1 pro.
thx
lee -
Mac OS X cannot open pdf files from online sites.
Mac OS X cannot open pdf files from online sites.
The problem is definitely between my safari and Adobe.
I can open documents in emails. But not something like this.
Your Folk Project newsletter for the coming month is available for download at:
http://folkproject.org/enl/eNewsletterDownload.shtml
Kathryn Weidener
Storyteller
908 369-7571
[email protected] -
Unable to open PDF files from website
hi friends,
I am using iPad Air and iOS 7.1.2. When I tried to open PDF files from below site in safari,
http://www.iar.com/Products/IAR-visualSTATE/User-guides/
ftp://ftp.iar.se/WWWfiles/vs/QuickStartTutorial.pdf
it shows error as "Safari can not open the page because it could not load any data".
KIshore.Safari seems to have trouble with FTP sites. You may need another Browser to open these PDFs. Opera seems to Work.
https://itunes.apple.com/en/app/opera-mini-web-browser/id363729560?mt=8 -
Unable to open PDF files from Fileserver Content Source using Browser
The situation is this :
A content source was created to search a fileserver
Search facility finds the files using the browser
Able to open MS Office files from the fileserver
Able to open PDF files that are in the Sharepoint Portal
Unable to open PDF files from the Fileserver
Currently using Sharepoint 2010. PDF Filter is installed and configured on the Sharepoint Server
Your assistance is always greatly appreciated.
Have a great day.
NRHHello Nate,
I have the necessary access to the folder.
The content source addresses are
\\172.25.136.53\KDrive\Home\Company\DAILYREP
\\172.25.136.53\KDrive\Home\Company\TRINMAR
\\172.25.136.53\KDrive\Process Safety Management
NRH -
I am not able to open pdf files from any web when I use FireFox.
I am able to open pdf files when I use internet explorer.For the settings to check, see the [[opening PDF files within Firefox]] article.
-
Can't open pdf files from web pages
I recently upgraded to Adobe Reader 8.1. Now I cannot open pdf files from email attachments. Advises to set Adobe Reader as default in folder options. When I try to do so, it appears to be OK, but still will not open files from emails.
[email protected] wrote:
> I recently upgraded to Adobe Reader 8.1. Now I cannot open pdf
> files from email attachments. Advises to set Adobe Reader as
> default in folder options. When I try to do so, it appears to be
> OK, but still will not open files from emails.
Did you check the settings of your mail client for handling attachments?
Rainald -
Unable to open PDF files from my banking statements.
I think almost every dev is on arch-general, so that is the place to contact the group in general. Specific points can probably be emailed to the dev involved, if one is identifiable and if the bug tracker is not a better place (bug reports to my email get ignored).
I think the whole problem here is that there is really no dev in charge of that package. So your emails were probably seen then skipped over by all devs thinking not my problem... (I know that is true for me). Then Andrea noticed an "orphan" package that needed updated and went ahead with it without connecting it to your previous emails, which is unfortunate.
Now our maintainer backend is fixed, hopefully we can get all the orphan packages adopted out, or at least know if we need to bring on new people to maintain them. That way, there should always be someone who information about specific packages should be sent to.
Maybe you are looking for
-
Hi, everyone. This is my first post. I bought a 500G Time Capsule April 2008 and suddenly I cannot mount my disk when my Time Machine is doing a back up. I contact my local distributor and what they told me is that Apple would replace it with a new o
-
Slow downloading from the store
I am experiencing very slow download speeds and movie trailer streaming from the itunes store. any ideas?
-
Printing page of smartform in different layout.
Hi All, I have a requirement where, Single page is used to display 7 forms based on some condition in smart form. Now, we want that in one of the case smartform should be displayed in land scape and for rest it should be displayed in potrait layout w
-
Using my Blackberry Curve 8530 with OS 5, I can't download the new Facebook from App world. I recently had Facebook but had uninstalled it. It no longer appears anywhere on the device and in fact is not showing up in App world either. Each time I try
-
Kein USB 3.0 Windows 10
Hallo, ich habe mein Yoga2 pro 13 auf Windows 10 upgegradet,set dem funktioniert der USB 3.0 Anschluss nicht mehr, weder eine HDD noch ein USB Stick,nur bei USB 3.0 Geräten, USB 2.0 Geräten funktionieren an der 3.0 Schnittstelle.Im Geräte Manager ist