Hi guys, recently I got into trouble with some SAP 4.7 developments, I have SAP 4.7 release 620 at level 0063. I don't really know what the basis team upgraded but some reports begun to generate wrong PDF files. In SAP preview there was no problem but when you downloaded or sent them by email and then opened with Adobe Reader a message was shown: "Insufficient Data for an Image" / "Datos insuficientes para una imagen" (I have Adobe in Spanish version).
Basically the problem happened with the FMs 'CONVERT_OTFSPOOLJOB_2_PDF' and 'CONVERT_ABAPSPOOLJOB_2_PDF' when trying to flat compress images and font types to attach PDF binaries to an email. To solve it you need to check if one of these options meets your case:
A. Using report RSTXPDF3:
This report is used to maintain the OTF-PDF conversion parameters in SAP. The parameter FLATE_COMPR_OFF (Do not use flat compression) must be set to ON, this way you disable flat compression and the PDF are generated correctly. To do it follow the next sequence:
1. Go to SE38 and run report RSTXPDF3. |
2. Select 'List settings' check box and execute it. |
3. Check if the value of parameter FLATE_COMPR_OFF is set to ON. |
4. Go back and select 'Change Settings' check box, in the field Name enter the parameter you want to change and execute it. |
5. Click on 'ON' button. |
6. The parameter's value is changed, now you can test your PDF generation again. |
B. Implementing SAP Notes:
Number | Description |
---|---|
0000924752 | PDF converter: Logging OTF data |
0001029572 | Prerequisite for Note 1499987 |
0001112170 | Error in SAPconnect OTF documents with format=TXT |
0001125846 | CONVERT_OTF: Adobe Reader does not display any creation date |
0001151257 | Converting document content |
0001278061 | CONVERT_OTF: Overriding "Author" field in the PDF |
0001320163 | Incorrect PDF data after Unicode conversion |
0001324547 | Sending a spool request as PDF via e-mail |
Go to transaction SNOTE to implement the notes.
Hope these help you if you experience this problem.