Error after opening a PDF
Hi,
I'm not overly familiar with creating PDF's and such so please bare with me.
I have saved an Excel document as a PDF. When I open the PDF I get an error saying "An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem." I did look up on another discussion regarding this problem. Correct me if I'm wrong, but am I not the creator? Or is the message referring to the creator of the original document, in this case being Excel. This document does have a lot of pictures in it. I ran a Preflight, there's a list of things that come up. Magazine and Newspaper adds and some other things. When I analyze and fix, re-save the document (replace existing document). A new message pops up, "Unable to save the PDF after post processing." The Preflight window comes back. I have no idea what anything in the Preflight means. Please help! Thanks for your time and any help given.
Is the save as PDF that you mention the MS plugin in Excel or the Acrobat macro? What happens if you try to print to the Adobe PDF printer? What OS version, office version, and version of Acrobat?
Similar Messages
-
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.
-
Restrictions Error after opening Acrobat
Hello all,
I'm having a problem with Acrobat version 11.0.06. This issue only happens with our Windows 7 computers in our server 2003 AD domain.
I keep getting this error: Restrictions “This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator". I get this error after opening a PDF (the PDF opens completely). Acrobat License has already been accepted as well.
We have a GP set “Run only allowed Windows Applications".
I’ve added: AcroRd32. e-x-e and armsvc. e-x-e to the list. Am I missing something? Could this be the cause of the error or do I need to add something else?Is the save as PDF that you mention the MS plugin in Excel or the Acrobat macro? What happens if you try to print to the Adobe PDF printer? What OS version, office version, and version of Acrobat?
-
Reader XI: after opening a pdf I get black areas in the doc when scrolling down
Hello,
I have a problem with acrobat reader XI after a new installation of my hdd.
After opening a pdf, I get black areas in the pdf when I scroll down. The black area disspear when scrolling up. What can I do? Win7 Prof 64bit
Many thanks in advance
MichaelHello Michael,
Please make sure that you are using latest version of Reader XI.
Please Go to Help-> Check for Updates...
Regards,
Anoop -
Adobe Reader hangs after opening a PDF file for a minuet
Adobe Reader hangs after opening a PDF file for a minuet
Pat. Thanks for your promote reply. I have resolved the issue.
Closing the tools pane at the right side:
open Adobe Reader without opening a PDF file
collapse 'Tools' pane
then open some PDF
It shouldn't hang anymore -
This is a guide to repair projects that get a "TickTime.cpp-290" error after opening a specific project.
Prerequisites:
Project repair tool (download link below)
WinRAR or any file archiver
Damaged project file
As an example, let's say the name of my damaged project is 'test.prproj'
Steps:
1. Download the project repair tool here: https://www.dropbox.com/s/3fyja0ws7l5gkbt/pp-repair-0.1.35.zip?dl=0
2. Rename your project file extension from 'test.prproj' to 'test.zip' (a warning appears saying the file might become unusable. Do not be concerned about the warning. Click OK and move to the next step.)
3. Extract the contents of 'test.zip' to a location on your computer. (Right click on the file and select ‘Extract files’ > Choose a location > Click OK).
4. Go to the extracted location. Note the file 'test' has no extension.
5. Rename the file, 'test.prproj'.
6. Launch the project repair tool, and then select the file 'test.prproj' (the one that we renamed in the last step).
7. Deselect all the check-boxes in the project repair tool.
8. Click the Repair button.
9. After a few seconds you see a message saying 'Success'.
10. Open the repaired file in Premiere Pro and then reset the workspace. Choose Window > Workspace > Reset Current Workspace.
11. Click the Save button to reduce the project size.
12. Your project is now repaired.
NOTE: If a file containing letters such as ã, å, ê, í, ú don’t repair, rename the file to something that doesn't contain these letters.Hi Rameez,
first of all thanks a bunch for the tool - it saved our neck this morning on a tight deadline.
One minor note: I did get a message that the (already uncompressed + renamed) file is not uncompressed until I ran the tool as Administrator so you might want to add that to the FAQ entry...
Other than that I'm very much interested in what triggers this bug so we can potentially prevent it.
Background:
Specs: Windows 8.1, German locale (ie comma is decimal symbol), Premiere Pro CC 2014.2 installed in English
My colleague who ran into the TickTime.cpp-290 error remembers having created a new workspace while working on the project. That seems to have triggered the issue as we haven't had any trouble on other projects yet. It also got saved into the project file:
<MZ.Project.WorkspaceName>Bearbeitung</MZ.Project.WorkspaceName>
Any autosaves after he added the workspace were corrupted as well while the ones dating back to earlier still open fine.
I'd like to mention that Premiere did import previous (German language) workspaces - dating back until CS5. Not sure if that comes into play.
On the other hand, the debug log looks like there only is an issue with the decimal symbol:
10:08:06: Input: C:/temp/trouble/uncompressed/final.prproj
10:08:06: Path: C:/temp/trouble/uncompressed Basename: final Extension:prproj
10:08:06: 19852-> from: <PlaybackSpeed>0,069148936170212769</PlaybackSpeed>
10:08:06: 19852-> to: <PlaybackSpeed>0.069148936170212769</PlaybackSpeed>
10:08:06: 23970-> from: <PlaybackSpeed>0,0062741915889604422</PlaybackSpeed>
10:08:06: 23970-> to: <PlaybackSpeed>0.0062741915889604422</PlaybackSpeed>
I really need to make sure that this is no general problem with German locales as we have multiple users on this kind of config and can't afford projects breaking.
Or do we "just" need to watch out to get rid of the old workspaces? I'm a little puzzled to be honest.
Maybe it helps to mention that we are on CC Enterprise
Best regards,
Mike -
Repeated Error Message with Adobe Reader after opening up PDF files
After experiencing this problem, not being that computer savvy I figured I'd remove the existing Adobe Reader from my computer and download a new version in the hopes of eliminating the problem. When I do so, I get message "The patch package could not be opened. verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer Patch Package."
Ankit,
Here are my responses as best as I can address them:
1. Adobe 10.0.1
2. I believe it is Windows XP
3. I was unable to remove the existing Adobe version because of the "patch
package could not be opened......" I believe i may have inadvertently
downloaded this patch via www.secunia.ocom "Personal Software Inspector"
program (Untitled (1)).. Using the older version alone when opening up PDF
documents resulting in their closing and my getting an error message
("Untitled and Untitled (2))..
4. I was able to successfully download Adobe 10.1.0. However, it won't allow
me to download required updates.
As a result of this mess, I have the 2 versions of Adobe on my computer,
which is allowing me to open up PDF files on my computere.
Again, I'm not terribly computer savvy. I'm simply trying to find a way to
remove the old version and work with the new version.
Hope this helps, as I'm stumped. Thanx for your assistance.
Norm Green -
Error when opening a pdf file in chinese
Hello,
I have created a specific PO form by copying the standard one BBP_PO in SRM.
After generating a pdf file with my specific form, I get the error "There was a problem reading this document (15)" when I try to open it.
I can see some characters, and then everything disappears. I have both english and chinese characters.
The chinese language is installed.
If I use the standard form, I don't get the error !
In the form, I use some standard text, which are created in english and chinese.
Thanks for your help.
MarcJust so you know, my default PDF can opener remains set to Preview, though I will use Acrobat Reader when and if it serves my need.
The upside of the Show scroll bars set to always is intuitive with applications. The downside is that any web content that has the CSS overflow:scroll configured will permanently have scrollbars attached to that content. At least, that is the behavior with Safari on Mavericks. Since I do web work too, I have left my scrollbar setting to when scrolling.
I believe the OP issues about resizing PDFs has to do with the default nature of Preview to open PDFs in continuous, rather than single page mode. In the former state, one must always fuss with resizing the Preview window, and in the latter, Preview does what it should do — a single, tightly cropped PDF page. Setting the Single Page preference setting in one document does not make this behavior permanent for subsequent documents.
I made two changes to Preview that open any PDF in Single Page mode, and tightly cropped to that page:
Preview PreferencesPDF: Define 100% scale as: Size on screen equals size on printout
Defaults write
Change to ~/Library/Containers/com.apple.Preview/Data/Library/Preferences
defaults write com.apple.Preview kPVPDFDefaultPageViewModeOption 1
Continuous view mode is (0) zero
PDF documents will now default to Single Page mode -
Error when opening =any= PDF with Reader
Hi! Since installing the new Reader software, I keep getting the same error message whenever I try to open =any= PDF, from those on my system for some time to those just downloaded.
The error message says:
Attempt to access invalid address
I can open any PDF with Sumatra or Foxit, so it's not in the file...
BruceHi Bruce,
Are you using EMET Antivirus? I have seen the issue caused due to this. Try disabling it and check.
I have seen this issue fixed for some users by modifying the following registry key:
The key is "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" MoveImages
Set the key to 1 instead of 0 then reboot the machine.
In case you still face the issue try the following registry key change:
The only thing you have to do is rename the following key at the REGEDIT, and everything will be fine !!
BEFORE:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplore.exe
AFTER:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplore.old
Note: Please take a backup of the registry before attempting this change.
Regards,
Rave -
Error in opening of Pdf file attachment
hi,
i am sending pdf file as an attachment to mail recipient, after receiving that pdf attachment when the user tries to open that attachment he is getting the following error message.
*"Adobe reader could not open file because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email and wasn't correctly decoded"*
Please give me any suggestions to over come this error.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 15, 2008 3:13 PMHi
can you compare your code with attached code , and do required changes if any thing needed
FORM sub_generate_tr_report .
* Internal table declarations
DATA lit_mseg TYPE STANDARD TABLE OF mseg INITIAL SIZE 0.
DATA lit_temp TYPE STANDARD TABLE OF gty_gr_creat INITIAL SIZE 0.
DATA lit_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.
DATA lit_tline TYPE TABLE OF tline WITH HEADER LINE.
DATA lit_objtxt TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0.
DATA lit_objpack TYPE STANDARD TABLE OF sopcklsti1 INITIAL SIZE 0.
DATA lit_objbin TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0.
DATA lit_receiver TYPE STANDARD TABLE OF somlreci1 INITIAL SIZE 0.
* Workarea declarations
DATA lwa_ctrlop TYPE ssfctrlop .
DATA lwa_compop TYPE ssfcompop .
DATA lwa_return TYPE ssfcrescl .
DATA lwa_tline TYPE tline .
DATA lwa_objtxt TYPE solisti1 .
DATA lwa_objpack TYPE sopcklsti1.
DATA lwa_doc_data TYPE sodocchgi1.
DATA lwa_objbin TYPE solisti1 .
DATA lwa_receiver TYPE somlreci1 .
DATA lwa_temp TYPE gty_gr_creat.
* Variable declarations
DATA lv_form_name TYPE tdsfname VALUE 'ZZ_PTS446_MASTER_TR_REPORT'.
DATA lv_dlist TYPE so_obj_nam VALUE 'ZPTS446'.
DATA lv_func_mod TYPE rs38l_fnam .
DATA lv_len_in LIKE sood-objlen.
DATA lv_time TYPE syuzeit .
DATA lv_time2 TYPE char8 .
DATA lv_date2 TYPE char10 .
DATA lv_info TYPE so_text255 .
DATA lv_lines TYPE i .
DATA lv_buffer TYPE string .
* Constants declarations
CONSTANTS lc_x TYPE char1 VALUE 'X' .
CONSTANTS lc_c TYPE so_escape VALUE 'C' .
CONSTANTS lc_locl TYPE rspopname VALUE 'LOCL' .
CONSTANTS lc_printer TYPE tddevice VALUE 'PRINTER'.
CONSTANTS lc_raw TYPE so_obj_tp VALUE 'RAW' .
CONSTANTS lc_pdf TYPE so_obj_tp VALUE 'PDF' .
CONSTANTS lc_colon TYPE char1 VALUE ':' .
CONSTANTS lc_slash TYPE char1 VALUE '/' .
CONSTANTS lc_int TYPE char3 VALUE 'INT' .
* Moving record from GIT_GR_CREAT to GIT_TEMP internal table
lit_temp[] = git_gr_creat[].
* Delete record from internal table GIT_TEMP, where STAT is not initial
* DELETE lit_temp WHERE NOT stat IS INITIAL.
DELETE lit_temp WHERE stat EQ 'X'.
DELETE lit_temp WHERE stat EQ 'Q'.
* CLEAR lwa_temp.
* LOOP AT lit_temp INTO lwa_temp.
* IF lwa_temp-stat EQ 'X'
* OR lwa_temp-stat EQ 'Q'.
* DELETE lit_temp FROM lwa_temp.
* ENDIF.
* ENDLOOP.
IF NOT lit_temp[] IS INITIAL.
*-- Select data from MSEG table
SELECT matnr "Material Number
erfmg "Quantity in unit of entry
tbnum "Transfer Requirement Number
INTO CORRESPONDING FIELDS OF TABLE lit_mseg
FROM mseg "Document Segment: Material
FOR ALL ENTRIES IN lit_temp
WHERE mblnr = lit_temp-mblnr
AND mjahr = lit_temp-gjahr.
*-- If select successful
IF sy-subrc EQ 0.
*---- Get name of the function module for smartform 'ZZ_PTS446_MASTER_TR_REPORT'
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lv_form_name
IMPORTING
fm_name = lv_func_mod
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
*---- Check function module name is not initial.
IF NOT lv_func_mod IS INITIAL.
*------ Select default printer based on User settings
SELECT SINGLE spld
FROM usr01
INTO usr01-spld
WHERE bname = sy-uname.
IF sy-subrc IS INITIAL.
lwa_compop-tddest = usr01-spld. "Device type
ELSE.
lwa_compop-tddest = lc_locl. "Device type
ENDIF.
lwa_compop-tdnoprev = lc_x. "No print preview
lwa_compop-tdnoprint = lc_x. "No printing from print preview
lwa_compop-tdiexit = lc_x.
*------ Setting control parameters
lwa_ctrlop-getotf = lc_x.
lwa_ctrlop-no_dialog = lc_x.
lwa_ctrlop-device = lc_printer.
*------ Call smartform function module
CALL FUNCTION lv_func_mod
EXPORTING
control_parameters = lwa_ctrlop
output_options = lwa_compop
IMPORTING
job_output_info = lwa_return
TABLES
it_mseg = lit_mseg
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
*------ If smartform function module successful
IF sy-subrc EQ 0.
*-------- Transfer OTF data to internal table LIT_OTF
lit_otf[] = lwa_return-otfdata[].
*-------- Convert to PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = lv_len_in
TABLES
otf = lit_otf
lines = lit_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
*-------- If above function module is successful
IF sy-subrc EQ 0.
*---------- Mail body
CLEAR lwa_objtxt.
CONCATENATE 'TR Report of RF Inbound Deliveries'(001)
'is attached.'(002)
INTO lwa_objtxt SEPARATED BY space.
APPEND lwa_objtxt TO lit_objtxt.
*---------- Append Date and Time into Body of email.
CLEAR lwa_objtxt.
MOVE 'File is generated on'(003) TO lv_info.
lv_time = sy-uzeit.
CONCATENATE lv_time+0(2)
lv_time+2(2)
lv_time+4(2)
INTO
lv_time2 SEPARATED BY lc_colon.
CONCATENATE sy-datum+4(2)
sy-datum+6(2)
sy-datum+0(4)
INTO lv_date2 SEPARATED BY lc_slash.
CONCATENATE lv_info
lv_date2
'At'(004)
lv_time2
INTO lv_info
SEPARATED BY space.
lwa_objtxt = lv_info.
APPEND lwa_objtxt TO lit_objtxt.
*---------- Document size
CLEAR: lv_lines, lwa_objtxt.
DESCRIBE TABLE lit_objtxt LINES lv_lines.
READ TABLE lit_objtxt INTO lwa_objtxt INDEX lv_lines.
*---------- Populate packing list for body text
CLEAR lwa_objpack.
lwa_objpack-head_start = 1.
lwa_objpack-head_num = 0.
lwa_objpack-body_start = 1.
lwa_objpack-body_num = lv_lines.
lwa_objpack-doc_type = lc_raw.
APPEND lwa_objpack TO lit_objpack.
CLEAR lwa_objpack.
*---------- Mail subject line
CLEAR lwa_doc_data.
lwa_doc_data-obj_name = 'TR REPORT'(005).
lwa_doc_data-obj_descr = 'TR Report of RF Inbound Deliveries'(001).
lwa_doc_data-doc_size = ( lv_lines - 1 ) * 255 + STRLEN( lwa_objtxt ).
*---------- Populating internal table LIT_OBJBIN
LOOP AT lit_tline INTO lwa_tline.
TRANSLATE lwa_tline USING ' ~'.
CONCATENATE lv_buffer lwa_tline INTO lv_buffer.
ENDLOOP.
TRANSLATE lv_buffer USING '~ '.
DO.
APPEND lv_buffer TO lit_objbin.
SHIFT lv_buffer LEFT BY 255 PLACES.
IF lv_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
*---------- Get total no.of lines of Object table(attachment)
CLEAR lv_lines.
DESCRIBE TABLE lit_objbin LINES lv_lines.
*---------- Packing list for attachment
lwa_objpack-transf_bin = lc_x .
lwa_objpack-head_start = 1 .
lwa_objpack-head_num = 1 .
lwa_objpack-body_start = 1 .
lwa_objpack-body_num = lv_lines.
lwa_objpack-doc_type = lc_pdf .
lwa_objpack-obj_name = 'TR REPORT'(005).
lwa_objpack-obj_descr = 'TR_REPORT'(006).
lwa_objpack-doc_size = lv_lines * 255.
APPEND lwa_objpack TO lit_objpack.
CLEAR lwa_objpack.
*---------- Giving the receiver email-id
CLEAR lwa_receiver.
lwa_receiver-receiver = lv_dlist.
lwa_receiver-rec_type = lc_c.
APPEND lwa_receiver TO lit_receiver.
*---------- Calling the function module to sending email
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = lwa_doc_data
put_in_outbox = lc_x
commit_work = lc_x
TABLES
packing_list = lit_objpack
contents_bin = lit_objbin
contents_txt = lit_objtxt
receivers = lit_receiver
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.
*------------ Wait upto 2 secounds
WAIT UP TO 2 SECONDS.
*------------ Call the RSCONN01 (SAPconnect: Start Send Process)
SUBMIT rsconn01 WITH mode = lc_int
* WITH output = 'X'
AND RETURN.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
REFRESH: lit_mseg , lit_temp , lit_otf , lit_tline ,
lit_objtxt , lit_objpack, lit_objbin , lit_receiver.
CLEAR: lwa_ctrlop , lwa_compop , lwa_return , lwa_tline ,
lwa_objtxt , lwa_objpack, lwa_doc_data, lwa_objbin ,
lwa_receiver.
CLEAR: lv_func_mod , lv_len_in , lv_time , lv_time2 ,
lv_date2 , lv_info , lv_lines , lv_buffer .
Code Formatted by: Alvaro Tejada Galindo on Feb 15, 2008 3:13 PM -
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 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? -
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. -
Error on opening a PDF download
Please do not have your subject in all CAPITALS
HI,
i am geeting the below error message on trying to open the pdf download
**"Adobe reader could not open file because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email and wasn't correctly decoded"**
however on analysis i found the following
no data on PDF because the otf internal table is empty.
actually i am converting a spool containg script into pdf download.
i am working with version 3.1i , so i dont use function module and use C function to convert spool to otf and then use convert_pdf to convert to pdf.
when i debug my call function on the do loop executes once corrcetly and on the second time of execution immediately loaded with error message 'end of data' .... and so my otf conversion is not happening . ie otf_page intertal table gets empty without appending .
sometimes i get error number 2048 ( illegal line length )
i could not locate the error , as this application was working earlier good and recently got into trouble.
pl guide if i need to check any settings.
to my knowledge i found the program , layout and spool informations are okay.
thanks in advance for your clue towards a progressive solution.
Edited by: Matt on Mar 12, 2009 3:44 PMPlease do not have your subject in all CAPITALS
-
Error while opening the PDF attachment
HI SDN's
I have to send order confirmation thru mail as a pdf attachment as soon as order has been saved.
I have written the code and assigned to output type.
Here I am getting an error opening a converted pdf file with Adobe Reader
The error message reads:
Adobe Reader could not open "filename.PDF" because it is either not a supported file type or because the file has been corrupted (for example, it was sent as an email attachment and wasn't correctly decoded).
Any help would be appreciated.
Thanks in advance
VRhello, i have the same problem as VR's. The pdf file sent to my email is not able to open. You mentioned that this is only supported by early releases of Adobe. But anyhow, I followed your advice to have my spool converted to PDF, instead of OTF to PDF. But I get this error: Spool request 23595 contains no ABAP list data.
What exactly my transaction does is that, it makes use of a sapscript layout via VL02N using an output type. I retrieve the OTF data in CLOSE_FORM function module. OTF is then converted to PDF via SX_OBJECT_CONVERT_OTF_PDF, then send via email through SO_NEW_DOCUMENT_ATT_SEND_API1.
When I view the sent PDF file in my email, It cannot be opened.
I would appreciate your help guys! thank you very much.
Maybe you are looking for
-
From Compressor to iPhone.... Videos not working.
So I'm exporting with Compressor at 320x240, settings are as follows: File Format: Quicktime Movie Video: Enabled, h.264, keyframes automatic, faster encode (single pass), data rate restricted to 699kbits sec. Audio: AACm 48.00khz, Quality better, Va
-
ITunes will 'mostly' not connect to the iTunes Store
So, I have been having thisproblem for a couple of months, but I've been doing all my iTunes storepurchases on my iPad so it hasn't been a problem. With the new iPhonecoming out and moving back from Android to iOS I need to get my iTunes store worki
-
Hi, In BOM we maintain by-product with –ve quantity. After confirming production order with CO11N, I can see one of material stuck in COGI with movement 531 but –ve quantity (eg: 15.5-). As per my knowledge system never move material to COGI with –ve
-
Program for multiple workspaces?
Hey, i'm looking for a program that lets me have multiple workspaces (like in linux). I use my mac to reduce astronomy data which requires a bunch of windows, and it'd be more convenient to be able to have an entire workspace for that. Any recommenda
-
HOW TO MAKE AUDIO SHOW THE SOUND WAVES?
I was wondering if it was possible to show the sound waves on the audio track, whenever I plug in audio I cant seem to figure out how to make it show like it does in other programs such as Adobe Premiere? Thanks!