Preview PDF file in SAP
Dear All,
I know how to creat PDF file in smartform but I want to preview PDF file in SAP instead of downloading on local drive so How can i do this?
Regards,
Not quite sure what you mean by preview (the actual PDF or the smartform you created?), but here is a FM for displaying a PDF from where you can download file to local drive.
Almost forgot:
SSFCOMP_PDF_PREVIEW
Edited by: Micky Oestreich on Mar 10, 2009 7:38 AM
Similar Messages
-
Problem with preview PDF files on Windows 7 32bit
Hello,
in my office I have a problem with preview PDF files on my computers. The files are allright, but if I select a file and click on preview mode after ~ 10sec operation system write something "Preview this file is corrupt for PDF Preview Handler wrong". On other 64bit computers with same programs the preview is work. I try uninstall all Adobe soft (Reader, Flash), clean all Adobe data from folders in root and in register, but it is not solve this problem. On Microsoft forums wrote me, that the problem is probably with AR plugin.
So, can someone help me?
Config PC:
Windows 7 32/64bit Pro
Intel i3, 4GB
Adobe Reader 11.0.5
Adobe Flash Player 15 ActiveX
Adobe Flash Player 15 plugin
Preview Handler Surrogate Host ver.: 6.1.7601.17514
Thank you for help.I think I figured it out after reading other forums. Thanks!
-
Upload PDF file from SAP Portal and save in SAP
A file in PDF format needs to be uploaded from SAP Portal and the file is to be saved in SAP. Request for help, how to do the same. What are the FM to be used etc..
Thanks,hi
Use FM GUI_UPLOAD with file type as BIN
there are similar threads...pls refer to them for more details:
https://www.sdn.sap.com/irj/sdn/profile?userid=3166533
Upload pdf file to SAP
PDF File
reward if helpful
regards,
madhu -
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. -
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 -
Storing PDF file in SAP?
Hello Friends,
I have one requirement. I need to display the PDF file as soon as user click on the push button. For that I need to store this PDF file in SAP.
I have that PDF file in my PC .
Could you pls let me know is there any ways to store the PDF file in SAP.
Thanks in adavcne.
Regards
RaghuSunil,
FYI: I have upload pdf file to application server using transaction CG3Z with transferable format BIN.
File has created successfully. I checked in AL11 transaction.
like that is showing..
X 11/07/2008 14:48:54 devadm 10,278 TEST.PDF
pls find the code below
=====
DATA EXE_PDF TYPE STRING
VALUE 'C:\Program Files\Adobe\Acrobat 8.0\Acrobat\acrobat.exe'.
DATA : PDFPATH TYPE STRING VALUE '/usr/sap/tmp/TEST.PDF'.
======
WHEN 'DISP'.
CALL FUNCTION 'WS_EXECUTE'
EXPORTING
COMMANDLINE = PDFPATH
PROGRAM = EXE_PDF
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6.
====
pls help me .
Thanks
Raghu -
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 -
Preview pdf files in the desktop with Adobe Reader Touch .. is it possible?
preview pdf files in the desktop with Adobe Reader Touch
.. is it possible?Windows Store apps (including Adobe Reader Touch) do not offer the preview capability in the desktop environment. That's just how Microsoft has set up. So you need traditional desktop apps.
Because your operating system is Windows 8 (not Windows RT), you can find a lot of desktop apps that are compatible with Windows 7 and 8. (For Windows RT, only built-in Microsoft Office products are available for desktop apps. But that's not the case here.)
You can download Adobe Reader XI (which is also a free PDF viewer) from the following Adobe Reader download page
http://get.adobe.com/reader/enterprise/
and install it on your Windows 8 desktop. (Note for Windows RT users: Adobe Reader XI is not compatible with Windows RT.)
In case you have any questions about Adobe Reader XI (desktop app), you can visit the Adobe Reader forum.
http://forums.adobe.com/community/adobe_reader_forums -
Previewing pdf files in Windows 8
I have a new Samsung Ulimate laptop with Windows 8- Nice machine but not fit for purpose as I cannot preview pdf files in Windows Explorer- every file just has the pdf icon with no preview and only the filename to differentiate them. Is this a known problem. Is there a reliable fix?
Not for 64 bit systems, it doesn't seem it was ever expected to work.
-
Cannot preview PDF files in MS Word
After downloading Adobe XI I cannot preview PDF files from MS Word file list
Word cannot and will not open or preview PDFs because a PDF IS NOT a word document or text document.
If you try File>Open and choose a PDF you will see a page full of Unicode which makes up the PDF. That I guarantee will be completely useless to you.
PDFs open in Reader and Acrobat (or Foxit - but that's not an Adobe product) -
Download PDF File to SAP Application Server
Hi,
I need to download the PDF file to SAP Application Server. Can any one please help me to Solve this Issue?
Thanks in Advance,
KannanYou can read and upload the file to the PC:
report ztest.
data: begin of itab occurs 0,
field(256),
end of itab.
data: dsn(100) value '/usr/sap/xfr/FIS/testpdf',
length like sy-tabix,
lengthn like sy-tabix.
call function 'GUI_UPLOAD'
exporting
filename = 'c:temptest.pdf'
filetype = 'BIN'
importing
filelength = length
tables
data_tab = itab.
open dataset dsn for output in binary mode.
loop at itab.
transfer itab-field to dsn.
endloop.
close dataset dsn.
clear itab.
refresh itab.
open dataset dsn for input in binary mode.
do.
read dataset dsn into itab-field.
if sy-subrc = 0.
append itab.
else.
exit.
endif.
enddo.
call function 'GUI_DOWNLOAD'
exporting
filename = 'c:temptestn.pdf'
filetype = 'BIN'
bin_filesize = length
importing
filelength = lengthn
tables
data_tab = itab.
Rob -
To upload a RTF and a PDF file to SAP R/3 and print the same through SAP
Hi,
I have a requirement to upload a PDF file and a RTF file to SAP R/3 and print the same.
I wrote the following code for uploading a RTF file to SAP R/3 and print the same. However, the problem is , the formatting present in the RTF document( bold/italics..etc) is not being reflected when I do the 'print-preview' after the executing the code below :
report z_test_upload .
data: begin of itab occurs 0,
rec type string,
end of itab.
data: options like itcpo.
data: filename type string,
count type i.
data: filetype(10) type c value 'ASC'.
DATA: HEADER LIKE THEAD OCCURS 0 WITH HEADER LINE.
DATA: NEWHEADER LIKE THEAD OCCURS 0 WITH HEADER LINE.
DATA: ITFLINE LIKE TLINE OCCURS 0 WITH HEADER LINE.
DATA: RTFLINE LIKE HELP_STFA OCCURS 0 WITH HEADER LINE.
DATA: string_len TYPE i,
n1 TYPE i.
selection-screen begin of block b1.
parameter: p_file1(128) default 'C:\test_itf.rtf'.
selection-screen end of block b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file1.
start-of-selection.
move p_file1 to filename.
call function 'GUI_UPLOAD'
EXPORTING
filename = filename
filetype = filetype
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
others = 17.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
loop at itab.
string_len = strlen( itab-rec ).
n1 = string_len DIV 134.
ADD 1 TO n1.
DO n1 TIMES.
rtfline-line = itab-rec.
APPEND rtfline.
SHIFT itab-rec BY 134 PLACES.
ENDDO.
endloop.
HEADER-TDSTYLE = 'S_DOCUS1'.
HEADER-TDFORM = 'S_DOCU_SHOW'.
header-tdspras = 'E'.
CALL FUNCTION 'CONVERT_TEXT'
EXPORTING
CODEPAGE = '0000'
DIRECTION = 'IMPORT'
FORMAT_TYPE = 'RTF'
FORMATWIDTH = 72
HEADER = header
SSHEET = 'WINHELP.DOT'
WITH_TAB = 'X'
WORD_LANGU = SY-LANGU
TABLETYPE = 'ASC'
TAB_SUBSTITUTE = 'X09 '
LF_SUBSTITUTE = ' '
REPLACE_SYMBOLS = 'X'
REPLACE_SAPCHARS = 'X'
MASK_BRACKETS = 'X'
IMPORTING
NEWHEADER = NEWHEADER
WITH_TAB_E =
FORMATWIDTH_E =
TABLES
FOREIGN = RTFLINE
ITF_LINES = ITFLINE.
LINKS_TO_CONVERT =
if sy-subrc <> 0.
endif.
CALL FUNCTION 'PRINT_TEXT_ITF'
EXPORTING
HEADER = newheader
OPTIONS = options
IMPORTING
RESULT =
TABLES
LINES = itfline.
if sy-subrc <> 0.
endif.
Any hints or suggestions to solve this problem will be highly appreciated.
Thanks,
AvraHi Vishwas,
Check out the thread [Efficient way of saving documents uploaded|Re: Efficient way of saving documents uploaded by users; and check the blog by Raja Thangamani.
Also check the thread [Export Images through Function Modules |Export Images through Function Modules;.
Hope it helps you. -
Error While Opening PDF File in SAP Inbox
Hello Experts,
I am facing a weird error in SAP Inbox while opening a PDF files (both created by custom ABAP programs as well as the one attached to a new SAP Inbox message from my desktop & sent to my Inbox as a test).
The error states that "This file does not have a program associated with it for performing this action. Please install program or, if one is already installed, create an association in the Default Programs control panel.".
I checked TCode DC30 also & found an appropriate program is already maintained for PDF.
I couldn't make out more out of this error message. Any inputs in this regard will be highly appreciable.
Regards,
ShauryaHi,
Find out the FM that's generating the actual error through de-bug and analyze the same by looking in OSS and or SDN.
Regards
Narasimhan -
Error when Generate PDF File on SAP BW 7.3
Hello friends i have a problem.
I have a report that was built using the web designer deployed on Production Environment. This report has the option for print a PDF file but this process fail. I ran the SAP Support Desktop tool over SAP BW and i find the following error:
I followed this note and the notes internally but i don't find the solution (Parameters of timeout, checking the web service, etc...)
Aditionally i check the "fatal erros" on the NWA and i get 3 types of errors just when i generate the PDF:
The first:
Failed to allocate a connection due to an exception (the
full stack trace is logged below): org.omg.CORBA.COMM_FAILURE: vmcid: SUN
minor code: 2 completed: No
The second:
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 2
completed: No
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 2 completed: No
at
com.sap.engine.services.iiop.server.portable.Delegate.invoke(Delegate.java:179)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at
com.adobe.service._ControlAgentStub.setLogLevel(_ControlAgentStub.java:22)
at
com.adobe.service.ProcessResource.allocateConnection(ProcessResource.java:572)
at
com.adobe.service.ConnectionResource.getConnection(ConnectionResource.java:39)
at
com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:117)
at com.adobe.ads.remote.ConnectionFactoryHandler.getConnection(Unknown
Source)
at com.adobe.ads.remote.EJB_XMLFormAgent.getConnection(Unknown
Source)
at com.adobe.ads.remote.EJB_XMLFormAgent.renderAll(Unknown Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAllRemote(Unknown
Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown
Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown
Source)
at com.adobe.ads.operation.Render.renderWithoutCache(Unknown Source)
at com.adobe.ads.operation.Render.execute(Unknown Source)
at
com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
at
com.adobe.ads.request.ADSRequest.processOperations(Unknown Source)
at
com.adobe.ads.request.ADSRequest.process(Unknown Source)
at
com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at
com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sap.engine.services.ejb3.util.BeanMethods.executeReflectMethod(BeanMethods.java:314)
at
com.sap.engine.services.ejb3.jacc.ExecuteMethodPrivilegedAction.run(ExecuteMethodPrivilegedAction.java:38)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.security.auth.Subject.doAs(Subject.java:396)
at
com.sap.engine.services.ejb3.jacc.ContainerJ2EESecurityProviderBaseImpl.doAs(ContainerJ2EESecurityProviderBaseImpl.java:262)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_RunAs.invoke(Interceptors_RunAs.java:24)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at
com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:204)
at
com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
at
com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
at
com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
at
com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
at
com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
at
com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at
com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at
com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at
com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at
com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at
com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
The Third and the last
Exception thrown:
com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when
calling the PDF object after 8882
msec
com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA
exception when calling the PDF object after 8882 msec
at
com.sap.ip.bi.export.xfa.impl.Document.provideContentStream(Document.java:279)
at
com.sap.ip.bi.export.xfa.impl.Document.writeDocumentToByte(Document.java:527)
at
com.sap.ip.bi.export.xfa.impl.PDFConverter.getBinaryResultContainer(PDFConverter.java:183)
at
com.sap.ip.bi.export.impl.ExportController.getBinaryResultContainer(ExportController.java:537)
at
com.sap.ip.bi.export.controller.ExportResult.getExportResult(ExportResult.java:83)
at
com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:70)
at
com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:556)
at
com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:142)
at
com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:389)
at
com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.processSnippetRendering(PageExportRenderingRootNode.java:274)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.buildRenderingTree(Page.java:1299)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRenderingRootNode(Page.java:4780)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRendering(Page.java:4746)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.doProcessRequest(Page.java:2750)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page._processRequest(Page.java:714)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:4802)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:4795)
at
com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.doProcessRequest(Controller.java:1191)
at
com.sap.ip.bi.webapplications.runtime.impl.controller.Controller._processRequest(Controller.java:1047)
at
com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:1015)
at
com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:72)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:446)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:362)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:26)
at
com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)
at
com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:129)
at
com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
at
com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
at
com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
at
com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)
at
com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
at
com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
at
com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:206)
at com.sap.portal.prt.pom.PortalNode.service(PortalNode.java:588)
at
com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:233)
at
com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
at
com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
at
com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:520)
at
com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:201)
at
com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at
com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at
com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at
com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at
com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at
com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by:
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument
Processor failed to process RenderRequest Due to the following Reason
Server
Exception: javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.
at
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
at
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentCreationContext.execute(PDFDocumentCreationContext.java:183)
at
com.sap.tc.adobe.pdfdocument.impl.PDFCreationContextImpl.execute(PDFCreationContextImpl.java:103)
at
com.sap.ip.bi.export.xfa.impl.Document.provideContentStream(Document.java:225)
... 83 more
Caused by:
com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException: Server
Exception: javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.
at
com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.invoke(PDFObjectDII.java:381)
at
com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.doSoapCall(PDFObjectDII.java:91)
at
com.sap.tc.adobe.pdfobject.base.core.PDFObject.execute(PDFObject.java:111)
at
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:176)
at
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
... 86 more
Caused by: java.rmi.ServerException: Server Exception:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.processFault(SOAPTransportBinding.java:2075)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1416)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
at
com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
at
com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.invoke(PDFObjectDII.java:328)
... 90 more
Caused by:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.FaultUtil.buildFaultException_SOAP11(FaultUtil.java:225)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.FaultUtil.buildFaultException(FaultUtil.java:65)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.processFault(SOAPTransportBinding.java:2031)
... 95 more
Finally i compare the environments (Production, Dev and QAS) and in DEV and QAS this report works perfectly (generate PDF file correctly). I compare configurations of them and they have the same parameters and values.
The Support Desktop tools set on green all (DEV and QAS)
I found an article about the ADS rfc that use the adobe document service, so i check in the environment production and this doesn't exists (using SM59). I check in the environments DEV and QAS and this doesn't exists, but in both evironments appears just "ADS is enabled" and works perfectly.
I tried to execute the program test of PDF's (FP_TEST_IA_01 and FP_TEST_00) on the three environments and not working on all.
Please help me with this, i am crazy with this!!!
Thanks and greetings.
AlexHi Alex,
follow up as per Note:
1052659
See defaultTrace.trc and create SAP customer message if needed.
cheers
m./ -
How to get pdf file from sap presentation server using java connector
Hi Friends,
with the below code i am able to get po details in pdf in presentation server.
DATA : w_url TYPE string
VALUE 'C:\Documents and Settings\1011\Solutions\web\files\podet.pdf'.
CALL FUNCTION 'ECP_PDF_DISPLAY'
EXPORTING
purchase_order = i_ponum
IMPORTING
PDF_BYTECOUNT =
pdf = file " data in Xsting format
*Converting Xstring to binary_tab
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = file
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH =
TABLES
binary_tab = it_bin " data in binary format
**Downloading into PDF file
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = w_url
filetype = 'BIN'
TABLES
data_tab = it_bin
when i am using java connector , to retirve the file from presentation server , the follwoing error i am getting...
init:
deps-jar:
compile-single:
run-single:
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Error in Control Framework
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1244)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3842)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3287)
at PdfGen.<init>(PdfGen.java:35)
at PdfGen.main(PdfGen.java:78)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
i debugged too, problem with <b>gui_download......</b>
I am very glad to all with your suggestions!!
Regards,
Madhu..!!Hi
You can try to create an external command (transaction SM69).......sorry I've forgotten,,,,they works on application
How do you call CL_GUI_FRONTEND_SERVICES=>EXECUTE?
Max
Edited by: max bianchi on Oct 13, 2011 10:27 AM
Maybe you are looking for
-
Problem with links in deployed ADF application to Weblogic Server 11g
Hi everyone ! I have a query here, firstly, I have created an ADF application using Jdeveloper 11g and have successfully deployed (EAR file) onto the weblogic server. However, after testing out the application, the linking within the application does
-
DotNet developer trying to make sence of iPhone development tools..
Is there any useful links or tutorials for a newbie iphone developer from DotNet world ? I have been trying for the past one week to set a title to a tableView that i drag n dropped thru the interface builder. I learned the connection procedure and i
-
Unable to Connect to: sysadmin@ my_Database
Hello all, I am new to Oracle and for the past several days I have been trying to login to an Oracle apps database (11.5.10) through Discover desktop. I get the following error when trying to login as an application user Unable to Connect to: sysadmi
-
IPhoto 11 Modified Files Directories have strange names
iPhoto 11, Ver 9.4.3 (720.91) OSX 10.8.5 Proc. 3.06 GHz, Mem: 4 GB 800MHz Last year I upgraded my OS from 10.5.2 Leopard to 10.8 Mountain Lion in 2013 with the help Apple techs. iPhoto 08 is upgraded to iPhoto 11. When I use "see package contents
-
Hi MM Gurus, Is there any way we can revaluate based on a GR 101 material document? I want to revluate a single GR on a PO line item where multiple GR exists. Please advise. Regards, Senthil