Error while opening a pdf file.
Hi All,
I have Adobe Reader 10.1.3 installed on my system.
I am getting the following error : "Adobe Reader could not open 'abc.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 error is coming at random, i.e. if I open a file at one time, it will open without any problem, but at another time the same file gives this problem. Could anyone please tell me as to why this is happening and how to resolve this?
This message occurs if a PDF file is damaged, either during downloading from a website, or during transport as an email attachment.
Are you getting this error for a file that is stored on your local HD? For this to occur at random, as you write, I can only imagine that the disk sector where it is stored is damaged.
Can you run a disk diagnostics, e.g. CHKDSK on Windows?
Similar Messages
-
Error while opening a pdf file sent as an attachment in mail
Dear All,
We have converted a alv grid into pdf and sent a mail with the attached pdf file. When the attachment is opened in the received mail we get an error " File does not begin with %pdf-". I am pasting the code.
Select single
from
TSP01
where
RQIDENT = wa_listident.
if sy-subrc <> 0.
exit.
endif.
client = tsp01-rqclient.
name = tsp01-rqo1name.
*BREAK-POINT.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
AUTHORITY = 'SP01'
CLIENT = client
NAME = name
PART = 1
IMPORTING
CHARCO =
CREATER =
CREDATE =
DELDATE =
MAX_CREDATE =
MAX_DELDATE =
NON_UNIQ =
NOOF_PARTS =
RECTYP =
SIZE =
STOTYP =
TYPE = type
OBJTYPE = objtype
EXCEPTIONS
FB_ERROR = 1
FB_RSTS_OTHER = 2
NO_OBJECT = 3
NO_PERMISSION = 4.
if objtype(3) = 'OTF'.
is_otf = 'X'.
else.
is_otf = space.
endif.
*BREAK-POINT.
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = wa_listident
desired_type = desired_type
IMPORTING
real_type = real_type
TABLES
buffer = l_objcont
EXCEPTIONS
no_such_job = 14
type_no_match = 94
job_contains_no_data = 54
no_permission = 21
can_not_access = 21
read_error = 54.
IF sy-subrc EQ 0.
attach_type = real_type.
ENDIF.
if is_otf = 'X'.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = wa_listident
NO_DIALOG = c_no
DST_DEVICE =
PDF_DESTINATION =
IMPORTING
PDF_BYTECOUNT = gd_bytecount
PDF_SPOOLID = pdfspoolid
OTF_PAGECOUNT =
BTC_JOBNAME = jobname
BTC_JOBCOUNT = jobcount
TABLES
PDF = it_pdf_output
EXCEPTIONS
ERR_NO_OTF_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DSTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
CHECK sy-subrc = 0.
ENDIF.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Please guide me to resolve this issue.
Thanks & Regards,
AnandHi,
is the next part of the code correct.
What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
You can also try below link..
Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
Hope this helps.
Regards,
-Sandeep -
WebInterface Server - Error while opening the PDF file
Hello,
We are using webinterface to display the MSDS genearated.
Our customers use the link provided to them for displaying the msds.
We imported a few MSDS ( CG36 ), which are in PDF format & displayed successfully on the webinterface server.
However the newly generated MSDS ( Create Report ) from SAP EH&S system are not getting displayed on the webinterface server. We are getting following error message:
Error reading resulitng document from filesystem. Class:
COM.td.ehswww.results.EhsDocument.
Method:getResolvedDocument().This error could have been caused by a misconfigured filter.ini.
We checked and found that the filter.ini file is same on both quality & production system.
We are able to generate & display the report successfully on quality webinterface server.
Problem only appears on the production webinterface server.
We also tried to search for the SAP notes on this issue.
But we could not find out any relevant note for our issue.
Any help in this regarding is highly appreciated.
Thanks & Regards,
AarohiHello Sebastian,
Thank you very much for your help.
We checked on both quality & production webinterface server.
The Tomcat service is not executed with any specific user.
The system is working fine on quality , we are getting errors only on the production.
We also identified a strange behavior on the production web interface server.
We are able to see files under following menu path:
There are error files getting generated.
I guess these error files are getting generated while converting the rtf file to pdf file.
The resultant PDF file is not getting generated and hence system is giving the error on the webpage.
Can you guide us as to why these error files are getting generated .? What can be the root cause of this issue.? and How to prevent this.?
Again thanks a lot for your help.
Best Regards,
Aarohi -
APEX 4.0: error while opening a XLS file downloaded from interactive report
Hi,
I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
"The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
Yes No Help
May be this one Apex 4.0 issue.
please help me.
Thanks
MukeshHi,
is the next part of the code correct.
What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
You can also try below link..
Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
Hope this helps.
Regards,
-Sandeep -
Why does reader freeze while opening some pdf files and others open instantaneously?
I use pdf files created from CamScanner and shared from DropBox. In DropBox, many times (over 50%) while opening the PDF the process freezes and the error message is Adobe Reader is not responding. If you close the program, and re-open the file, it opens fine. I have saved these files to my computer and the same issue occurs. The files are 100-500kb, so I do not think size is the issue. I have reinstalled Reader (11.1.10) and there is no improvement.
This appears to have reduced the time to load a document. Thanks Jimb From: Anubha Goel <[email protected]>
To: jimb70395944 <[email protected]>
Sent: Friday, March 20, 2015 4:37 AM
Subject: You have been mentioned by Anubha Goel in Re: why does reader freeze while opening some pdf files and others open instantaneously? in Adobe Community
|
You have been mentioned
by Anubha Goel in Re: why does reader freeze while opening some pdf files and others open instantaneously? in Adobe Community - View Anubha Goel's reference to you Hey jimb70395944, Please try disabling protected mode under 'Edit> Preferences> Security (Enhanced)' and uncheck 'Enable Enhanced Security' option.Then, try again and let me know. Regards,Anubha
Participate in the conversation by replying to this email
To stop receiving these messages whenever you are mentioned, go to your preferences and disable notifications for direct social actions. | -
Could someone help me with a Runtime Error while saving a PDF file?
While saving a 28 page PDF file in Illustrator today, I got a window saying, "This application has requested the "Runtime" to terminate it in a unusual way." It said to contact the applications support team for more information. I keep getting the same thing each time I try it. Does anyone know how to fix this issue or how I contact the applications support team ?
Thank you for any insight.
PamIt is a 13.5x11 inch calendar. There are 14 pages with images on them and
some text. The other pages have text, a grid and a colored background with a
gaussian blur. I saved each page as an "outline".
The printer I am using requested I save all pages in a pdf file. I was
successful in saving all but about six pages, now I can't even open the
file.
What happens is... I open Illustrator
I open the pdf file
A window appears that says... Runtime Error,
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.
I select ok
then a window appears that says... Adobe
Illustrator CS5 has stopped working. A problem caused the program to stop
working correctly. Windows will close the program and notify you if a
solution is available.
Then the program closes.
So far I have not been notified of anything.
Please let me know if you need more details.
Thank you so much for helping me with this.
Pam -
Error while opening a Pdf in Acrobat 9.3.4
Hi
Am getting the below error message while opening any pdf on Citrix (built on Windows 2003 Server) with Acrobat 9.3.4.
Has anyone else also seen the same? and how to resolve the same?Update:
Opened the Pdf and found out that the certified signature has become invalid. -
Error message opening secure PDF file
I bought a secure water marked PDF file and am unable to open it on my computer. I get an error message saying, " There was an error processing a page. Wrong operand type." I'm able to download the file and open it on my Android cell phone, but if I copy the same file to my computer or download it directly from the website I get this error message when I try to open it. I tried uninstalling and reinstalling Acrobat reader, but I still get this same problem. Does anyone have any idea of how to fix this? I can open other PDF files, just not that one. I even tried using the repair Adobe reader menu option and still get the same problem.
Sounds like pdf file is corrupt. Reader on your computer may be less tolerant of corrupt pdf files, since a corrupt pdf file can be used as a vector for a virus or malware attack.
-
Blackened page and dialog error after opening a PDF file
Hello,
I have an Acrobat Pro. 8.1 that I had installed in to Win. Vista. After reformatting my system and installing Win. 7 ultimate, I installed it again. I also have Adobe Reader 9.0 on this system.
Problem is when I click and open a PDF file, it opens it in completely Black page and after a few second Black page goes away and following dialog is display and when I click on Close program on this dialog page the application does not give solution and goes completely away.
Adobe Acrobat 8.1 has stopped working
A problem caused that program to stop working correctly.
Windows will close the program and notify you if a solution is available.
With a Close program below it.
I can not scan with it either where as I could all the above in Win Vista. What could be wrong?
When I generate System Report if generates the following:
Regards
Jeff P.
Available Physical Memory: 4194303 KB
Available Virtual Memory: 1818664 KB
BIOS Version: DELL - 20090605
Default Browser: C:\Program Files (x86)\Internet Explorer\iexplore.exe
Version: 8.00.7600.16385 (win7_rtm.090713-1255)
Creation Date: 2009/07/13
Creation Time: 4:43:32 PM
Default Mail: Microsoft Office Outlook
mapi32.dll
Version: 1.0.2536.0 (win7_rtm.090713-1255)
Creation Date: 2009/07/13
Creation Time: 5:12:29 PM
Graphics Card: ATI Radeon HD 4670
Version: 8.14.10.678
Check: Not Supported
Installed Acrobat: C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\Acrobat.exe
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:16 PM
Installed Acrobat: C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRd32.exe
Version: 9.3.2.163
Creation Date: 2010/04/03
Creation Time: 10:57:52 PM
Locale: English (United States)
Monitor:
Name: ATI Radeon HD 4670
Resolution: 1920 x 1080 x 60
Bits per pixel: 32
OS Manufacturer: Microsoft Corporation
OS Name: Microsoft Windows Vista
OS Version: 6.1.7600
Page File Space: 4194303 KB
Processor: Intel64 Family 6 Model 26 Stepping 5 GenuineIntel ~2660 Mhz
System Name: BAHRAMROOM-PC
Temporary Directory: C:\Users\Bahram\AppData\Local\Temp\
Time Zone: Pacific Standard Time
Total Physical Memory: 4194303 KB
Total Virtual Memory: 2097024 KB
User Name: Bahram
Windows Directory: C:\Windows
Installed plug-ins:
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\ADBC.api
Version: 8.0.0.2006102300
Creation Date: 2006/10/23
Creation Time: 1:09:30 AM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Accessibility.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:28 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\AcroForm.api
Version: 8.1.3.2008101500
Creation Date: 2010/06/22
Creation Time: 1:48:27 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Annots.api
Version: 8.1.3.2008101500
Creation Date: 2010/06/22
Creation Time: 1:48:31 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Catalog.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:33 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Checkers.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:31 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\DVA.api
Version: 8.0.0.2006102300
Creation Date: 2006/10/23
Creation Time: 1:10:52 AM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\DigSig.api
Version: 8.1.3.2008101500
Creation Date: 2010/06/22
Creation Time: 1:48:27 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\DistillerPI.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:27 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\EWH32.api
Version: 8.1.3.2008101500
Creation Date: 2010/06/22
Creation Time: 1:48:31 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Editor.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:32 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Escript.api
Version: 8.1.3.2008101500
Creation Date: 2010/06/22
Creation Time: 1:48:42 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\HLS.api
Version: 8.0.0.2006102300
Creation Date: 2006/10/23
Creation Time: 1:10:22 AM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\HTML2PDF.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:31 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\IA32.api
Version: 8.1.3.2008101500
Creation Date: 2010/06/22
Creation Time: 1:48:30 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\ImageConversion.api
Version: 8.1.2.2008011100
Creation Date: 2010/06/22
Creation Time: 1:48:27 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\ImageViewer.API
Version: 8.0.0.2006102300
Creation Date: 2006/10/23
Creation Time: 1:10:36 AM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\InDesignPI.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:33 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\JDFProdDef.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:33 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\MakeAccessible.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:30 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Multimedia.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:26 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\PDDom.api
Version: 8.0.0.2006102300
Creation Date: 2006/10/23
Creation Time: 1:19:38 AM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\PPKLite.api
Version: 8.1.3.0
Creation Date: 2010/06/22
Creation Time: 1:48:30 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\PaperCapture.api
Version: 8.1.2.2008011100
Creation Date: 2010/06/22
Creation Time: 1:48:20 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Preflight.api
Version: 8.1.0 (241)
Creation Date: 2010/06/22
Creation Time: 1:48:26 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\ReadOutLoud.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:32 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\SaveAsRTF.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:29 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\SaveAsXML.api
Version: 8.0.0.2006102300
Creation Date: 2006/10/23
Creation Time: 1:20:30 AM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Scan.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:32 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Search.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:33 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Search5.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:33 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\SendMail.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:29 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Spelling.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:26 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\TablePicker.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:26 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\TouchUp.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:29 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Updater.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:29 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\WebPDF.api
Version: 8.0.0.2006102300
Creation Date: 2006/10/23
Creation Time: 1:12:00 AM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\XPS2PDF.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:19 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\eBook.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:32 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\reflow.api
Version: 8.1.0.2007051100
Creation Date: 2010/06/22
Creation Time: 1:48:29 PM
C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\weblink.api
Version: 8.1.3.2008101500
Creation Date: 2010/06/22
Creation Time: 1:48:28 PMThere were documents available in the knowledgeable that I no longer have the urls for. I have had communication with Adobe Acrobat support personnel that have made the same statements. I do not have the habit of asking official Adobe tech support people to prove their statements by providing documentation. I have also seen Adobe employees give presentations on computers that have had both installed. When they were asked about the incompatibility, they did say the equivalent of phooey. However, enough people on this forum have had their problems disappear when they have removed one of the two programs that I feel comfortable giving that advice. Yes some people have no problems running both until one of the programs or a system component gets updated and then things stop working. My advice is not to have both on the same computer. When two programs share system calls and can fight over who gets to handle the call it makes sense that it can cause a problem. It doesn't make a difference if it is Reader and Acrobat or any two other programs you run. If you are not having a problem with running both GREAT. However, if you are running both and have a problem, it is a simple step to eliminate one and see if the problem disappears.
-
Hi All,
I am trying to parse the SharePoint recurrence data to get the RRULE for the ics file the RRULE parsed works fine for Yearly and Daily but it causes error when opening the ics file for the Monthly and
weekly recurrence recurrence. I have opened the ics file in the notepad and observed that the BYDAY and BYMONTHDAY causes the problem. If I remove the tag the file opens fine but with wrong recurrence pattern.
Any help will be appreciated.
Regards
Ajeet
AjeetAjeet,
I see that this is an extremely old post, but I thought I would refresh it with a bit more info.
I wish I had found this post a few days ago. I realized the same thing as well. I don't quite understand the reasoning behind requiring the by day date must be the same as the event date. Another thing with rrecurrence is that if
you pick a day of the week for a recurrence (i.e. Friday), then the start date must also occur on a Friday (I am just casting it as the first Friday of the month).
I have come into this same issue with the BYMONTHDAY. I am currently working on trying to configure an .ICS file to allow for multiple monthly recurrences, but it appears Outlook does not support multiple days within an event (determined by trying
to create an even in Outlook and picking the recurrence option). It seems that you are only allowed to have an event on (for example) every Friday of each month, or the (x) day of each month. You cannot set any other occurrences of any other day
within the same ICS file. Hopefully someone else will find this information useful.
Cheers,
Tracy -
Errors when opening any PDF file
Can't find a bytecode file to load.
InitializeFormsTrackerJS is not defined
1:App:Init
ReferenceError: InitializeFormsTrackerJS is not defined
1:App:Init
From the Javascript console I get the above whenever I open any PDF file from Acrobat XI Pro.
I'm at version 11.0.7.
Where is the source of this problem ?
A search for InitializeFormsTrackerJS shows no hits in the Javascript folder.The folder is Acrobat\Javascripts
Repair your Acrobat installation. -
Urgent: Error while uploading into pdf file
Hi ,
I got a requirement that converting smartform into pdf file and sending into application server, And uploading the that pdf file into presentation server once a day am geting error when uploading into pdf format from application server .
Error : There was an error while tryinging to parse an image.
Please help me out its urgent.
Thanks in advance
Regards
krishna
Edited by: krishna rao on Feb 13, 2008 12:05 PMU can use this code
Reward if useful
REPORT ZMN_PDF_UPLOAD.
data: begin of itab occurs 0,
field(256),
end of itab.
data: dsn(100) value '\usr\sap\DEV\DVEBMGS00\work\testpdf',
length like sy-tabix,
lengthn like sy-tabix.
call function 'GUI_UPLOAD'
exporting
filename = 'c:\temp\test.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.
*To crosscheck if it went well
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:\temp\testn.pdf'
filetype = 'BIN'
bin_filesize = length
importing
filelength = lengthn
tables
data_tab = itab.
*Or
*Use the TCode
*CG3Z or CG3Y
*for downloading to Application Server. -
Error while opening a dwg file :java.lang.NoSuchMethodException: Method
Hello Experts,
I tried to integrate WebCenter Content with Autovue ,the integration was good untill i get this error while trying to open a dwg file checked in Content Server using View in Autovue option in Actions :
java.lang.NoSuchMethodException: Method fileOpen(com.cimmetry.core.SessionID, com.cimmetry.core.DocID, com.cimmetry.core.Authorization, <null>, java.lang.Boolean, <null>) not found in class com.cimmetry.jvueserver.VCETConnection
at com.cimmetry.jvueserver.ar.a(Unknown Source)
at com.cimmetry.jvueserver.ar.a(Unknown Source)
at com.cimmetry.jvueserver.ar.a(Unknown Source)
at com.cimmetry.jvueserver.ar.d(Unknown Source)
at com.cimmetry.jvueserver.ar.a(Unknown Source)
at com.cimmetry.jvueserver.ah.run(Unknown Source)
Any suggestions would help me,
Thanks in Advance
RajHi Raj,
The solution to this problem is posted in My Oracle Support:
Error: "java.lang.NoSuchMethodException: Method fileOpen" when Trying to View Files Using AutoVue Integrated to Oracle Universal Content Management (UCM) (Doc ID 1341644.1).
It has all the details, step by step.
Jeff -
Error while saving a .PDF File to a mapped drive
The issue I am having is similar to the one found on this older post. http://forums.adobe.com/message/3066663#3066663
The issue is as follows. I have a small company about 15 users divided into a couple of departments with different networking access needs. They each have Adobe Acrobat version XI installed on a Windows 7 Platform. Each user has a set of mapped drives that correspond to their department. The Disk mappings are all directed to the main shared Network Attached Storage (NAS) device. At any time there can be a number of PDF files open and being worked in. The same PDF is usually not opened at the same time from two different locations.
The issue is that two users who do a large amount of the work, IE. Scanning documents and adding them to documents that have been previously created, are reporting the same issue. The issue is when they have the PDF document opened and they are adding new content. Once the new content is added they go to save the document and then receive the following error:
“The document could not be saved. Cannot save to this filename. Please save the document with a different name or in a different folder.”
In order to save the file the user has to use the save as function and then browse to the original file location to save the document with the changes that have been made.
Along with the above error we have noticed that Adobe Acrobat is renaming the file that has been changed to aae##### or aak##### or aan#####. The file name is changed causing the normal save function to not work correctly.
Is there a reason Acrobat would be doing this?
I am not using Microsoft SharePoint.My users started to experience this issue for files on network shares as well once Adobe Reader was updated to 11.0.10
It has to do with Protected Mode being turned on. I don't know if it was off by default & now it is on with the update but turning it off changes Adobe Reader's behavior back to what the users expect - a prompt warning you if you want to overwrite the existing file & then selecting Yes to overwrite.
To disable Protected Mode:
Start Adobe Reader
Edit - Preferences - Security (Enhanced)
Uncheck Enable Protected Mode at Startup
Close Preferences & Close Reader
Now open a file from a network share & you Adobe saves as it used to. -
Error in opening the PDF file created from the smart form output.
Hi All,
i have a simple smart form which takes 3 values like customer no, name and no of times customer called and gives an out like
Customer 0001000000 with name Ravi called 5 times today.
I have to send this output to mail as an attachment.
for this i am coding as below.
******Call the SSF Function module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = Form name
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = lv_fmname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
lv_partner_number = '0001000000'.
lv_name_org1 = 'Ravi'.
lv_z_no_calls_day = '5'.
lw_ctrlop-getotf = 'X'.
lw_ctrlop-no_dialog = 'X'.
lw_compop-tdnoprev = 'X'.
lw_compop-tddest = 'LP01'.
*******Call the Form Function module and get the OTF of form output
CALL FUNCTION lv_fmname
EXPORTING
name_org1 = lv_name_org1
partner_number = lv_partner_number
z_no_calls_day = lv_z_no_calls_day
control_parameters = lw_ctrlop
output_options = lw_compop
user_settings = ' '
IMPORTING
job_output_info = w_return
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
i_otf] = w_return-otfdata[.
*********Now here if i look in to the OTF data i got in debug it has the data i aniticipated along with some other data.
the output is in the format
TDPRINTCOM(2) TDPRINTPAR(70)
ST XXXX.. customer 0001000000 with
name.....
i have my data in the above format spread in three lines of the output otf table where XXXX... is some number.
***********To convert to PDF Format
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = lv_len_in
BIN_FILE =
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5
*********For testing purpose i created a file on the desktop with the the data in i_tline. it created PDF file but when i tried to open it it's giving an error.
i_objtxt = 'test with pdf-Attachment!'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
READ TABLE i_objtxt INDEX v_lines_txt.
wa_doc_chng-obj_name = 'Smart Form'.
wa_doc_chng-obj_descr = 'Frequent Caller Alert_Day'.
wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + STRLEN( i_objtxt ).
*********Creating the Entry for the document
CLEAR i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
i_objbin] = i_tline[.
DESCRIBE TABLE i_objbin LINES v_lines_bin.
READ TABLE i_objbin INDEX v_lines_bin.
i_objhead = 'Frequentcaller list_Day.pdf'.
APPEND i_objhead.
************Creating the entry for the attachment.
CLEAR : i_objpack.
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 1.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'ATTACHMENT'.
i_objpack-obj_descr = 'FCA'.
i_objpack-doc_size = v_lines_bin * 255 .
APPEND i_objpack.
CLEAR i_reclist.
i_reclist-receiver = 'mail id'.
i_reclist-rec_type = 'U'.
APPEND i_reclist.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = i_objpack
object_header = i_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
This is all i am doing.
It is sending a mail with the attachment but we are not able to open the attachment. it's giving an error like file is damaged and couldn't be repaired.
I serched in the forum but i couldn't get the answer.
I suspect there is a problem in getting the OTF data..
Please help me in resolving this issue....
Thanks in advance.
RKCheck the sample , and see where you made the mistake.
REPORT ZPDF_MAIl.
DATA:
w_fm_name TYPE rs38l_fnam,
w_bin_filesize TYPE i,
w_filesize TYPE i,
w_lines_txt TYPE i,
w_lines_bin TYPE i.
DATA:
wa_ctrlop TYPE ssfctrlop,
wa_outopt TYPE ssfcompop,
wa_objhead TYPE soli_tab,
wa_buffer TYPE string,
wa_doc_chng TYPE sodocchgi1.
DATA:
BEGIN OF t_mail_ids OCCURS 0,
mailid TYPE ad_smtpadr,
END OF t_mail_ids,
t_otfdata TYPE ssfcrescl,
t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
t_pdf_tab TYPE tline OCCURS 0 WITH HEADER LINE,
t_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
t_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Z195_TEST'
IMPORTING
fm_name = w_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc EQ 0.
ENDIF. " IF sy-subrc EQ 0.
wa_ctrlop-getotf = 'X'.
wa_ctrlop-no_dialog = 'X'.
wa_outopt-tdnoprev = 'X'.
CALL FUNCTION w_fm_name
EXPORTING
control_parameters = wa_ctrlop
output_options = wa_outopt
user_settings = 'X'
IMPORTING
job_output_info = t_otfdata
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc EQ 0.
ENDIF. " IF sy-subrc EQ 0.
t_otf[] = t_otfdata-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = w_bin_filesize
TABLES
otf = t_otf
lines = t_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
IF sy-subrc EQ 0.
ENDIF. " IF sy-subrc EQ 0.
LOOP AT t_pdf_tab.
TRANSLATE t_pdf_tab USING '~'.
CONCATENATE wa_buffer t_pdf_tab INTO wa_buffer.
ENDLOOP.
TRANSLATE wa_buffer USING '~'.
DO.
t_record = wa_buffer.
APPEND t_record.
SHIFT wa_buffer LEFT BY 255 PLACES.
IF wa_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
t_objtxt = ' To Change the COR, Use the Transaction ZCOR_CHANGE'.
APPEND t_objtxt.
t_objtxt = ' Check the Attached PDF file for COR'.
APPEND t_objtxt.
DESCRIBE TABLE t_objtxt LINES w_lines_txt.
READ TABLE t_objtxt INDEX w_lines_txt.
READ TABLE t_objtxt INDEX w_lines_txt.
wa_doc_chng-obj_name = 'COR Display'.
wa_doc_chng-expiry_dat = sy-datum + 10.
CONCATENATE 'COR' "w_cornr
'-' "w_stat_descr w_action_desc
INTO wa_doc_chng-obj_descr SEPARATED BY space.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-doc_size = w_lines_txt * 255.
CLEAR t_objpack-transf_bin.
t_objpack-head_start = 1.
t_objpack-head_num = 0.
t_objpack-body_start = 1.
t_objpack-body_num = w_lines_txt.
t_objpack-doc_type = 'RAW'.
APPEND t_objpack.
t_objpack-transf_bin = 'X'.
t_objpack-head_start = 1.
t_objpack-head_start = 1.
t_objpack-head_num = 0.
t_objpack-body_start = 1.
DESCRIBE TABLE t_objbin LINES w_lines_bin.
READ TABLE t_objbin INDEX w_lines_bin.
t_objpack-doc_size = w_lines_bin * 255 .
t_objpack-body_num = w_lines_bin.
t_objpack-doc_type = 'PDF'.
t_objpack-obj_name = 'COR'.
t_objpack-obj_descr = 'COR Test'.
* concatenate 'COR' w_cornr into t_objpack-obj_descr
* separated by space.
APPEND t_objpack.
*LOOP AT t_mail_ids.
CLEAR t_reclist.
t_reclist-receiver = 'INTENATEMAIL'.
t_reclist-rec_type = 'U'.
APPEND t_reclist.
*ENDLOOP.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = t_objpack
object_header = wa_objhead
contents_bin = t_objbin
contents_txt = t_objtxt
receivers = t_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc EQ 0.
ENDIF.
Maybe you are looking for
-
How do I get the calendar to list birthdays in contacts
Can the birthdays entered into igoogle contacts automatically transfer into my igoogle calendar ? How
-
Hi everybody, In Oracle I wanna know the current capacity of a log group, so I will know/estimate when it will be switched. For example, I have three log groups 1, 2 and 3, each log group has only 1 member of size 10MB. So I want to check how full th
-
Shopping cart does not load - help!
i had several items in my shopping cart and after upgrading to a new laptop, i cannot access the cart at all! itunes tries to load and comes up blank. any thoughts?
-
IPhoto to Aperture feature gap?
I have just upgraded (?) from iPhoto to Aperture 3, and whilst some of its Pro features are useful, there are a number of features that seem to be mindlessly absent. I was wondering if anyone had any suggestions? I used to sync a load of my photos
-
HT5318 I am trying to update my iphone 4 but i do not have a update icon in general settings as i a
Hello I need help! I am trying to update my iphone 4,but do not have a update icon in general settins as prompted.Can anyone help me please? Thank You!