Sapscript-PDF-Mail error: Insufficient data for an image

Hi, I've made a function module that takes a Purcharse Orden from spool, converts to PDF file and then send the form via mail. Everything work fine but the corporative logo in the form can't be seen... When I try to open the attachment, Acrobat Reader launchs a popup with the message "Insufficient data for an image" and then ONLY the logo is not displayed.
Here's the MF code. I'll give points to useful answers. Thank you.
FUNCTION Z_WF_SENDMAIL_PO_PDF.
*"*"Interfase local
*"  IMPORTING
*"     VALUE(PO_ORDER) LIKE  EKKO-EBELN
*"     VALUE(DELETE_SPOOL) LIKE  SYST-FTYPE OPTIONAL
*"     VALUE(FILENAME) LIKE  P05T_RESPONSE-FILENAME OPTIONAL
*"     VALUE(RECEPTOR) LIKE  SWHACTOR STRUCTURE  SWHACTOR
*"  EXCEPTIONS
*"      SENDING_FAILURE
*"      CONVERSION_ERROR
*"      NO_SPOOL
*"      UPLOAD_ERROR
  DATA: T_TSP01 TYPE TSP01 OCCURS 0 WITH HEADER LINE,
        PDF TYPE TLINE OCCURS 0 WITH HEADER LINE.
  DATA: NUMBYTES TYPE I,
        PDFSPOOLID TYPE TSP01-RQIDENT,
        JOBNAME TYPE TBTCJOB-JOBNAME,
        JOBCOUNT TYPE TBTCJOB-JOBCOUNT,
        SPOOLS TYPE I.
  DATA: gd_cnt TYPE i,
        gd_sent_all(1) TYPE c,
        gd_doc_data LIKE sodocchgi1,
        gd_error TYPE sy-subrc.
  DATA: it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
  DATA: lt_objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE,
        lt_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
        lt_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
        lt_objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
        lt_reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE,
        l_document_data TYPE sodocchgi1.
  DATA: l_att_lines TYPE i,
        gd_buffer type string.
  DATA: BEGIN OF lt_mails occurs 0,
          bname like usr21-bname,
          smtp_addr like adr6-smtp_addr,
        END OF lt_mails.
  REFRESH : pdf, it_packing_list.
  CLEAR : pdf, it_packing_list.
  SELECT RQIDENT
  INTO T_TSP01-RQIDENT
  FROM TSP01
  WHERE RQOWNER EQ receptor-objid
    AND RQCLIENT EQ SY-MANDT.
    APPEND T_TSP01.
  ENDSELECT.
  IF SY-SUBRC NE 0.
    RAISE NO_SPOOL.
  ELSE.
    SORT T_TSP01 DESCENDING.
    READ TABLE T_TSP01 INDEX 1.
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
      EXPORTING
        SRC_SPOOLID              = T_TSP01-RQIDENT
        NO_DIALOG                = ''
      IMPORTING
        PDF_BYTECOUNT            = NUMBYTES
*        PDF_SPOOLID              = PDFSPOOLID
*        BTC_JOBNAME              = JOBNAME
*        BTC_JOBCOUNT             = JOBCOUNT
      TABLES
        PDF                      = PDF
      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
        OTHERS                   = 12.
    IF SY-SUBRC NE 0.
      RAISE CONVERSION_ERROR.
    ELSE.
      IF NOT FILENAME IS INITIAL.
        open dataset filename for output in binary mode.
        if sy-subrc ne 0 .
          RAISE UPLOAD_ERROR.
        endif.
        loop at pdf.
          transfer pdf to filename.
          if sy-subrc ne 0 .
            RAISE UPLOAD_ERROR.
          endif.
        ENDLOOP.
      ENDIF.
      IF NOT DELETE_SPOOL IS INITIAL.
        DELETE FROM TSP01 WHERE RQIDENT EQ T_TSP01-RQIDENT.
      ENDIF.
      CHECK NOT ( receptor IS INITIAL ).
      CLEAR: lt_reclist, lt_reclist[],
             lt_objhead, lt_objhead[],
             lt_objtxt, lt_objtxt[],
             lt_objbin, lt_objbin[],
             lt_objpack, lt_objpack[].
      CLEAR l_document_data.
* Chequea si fue bajada la orden de spool
      CHECK NOT ( pdf[] IS INITIAL ).
* Transferir los strings de 132 caracters a strings de 255 caracteres.
      loop at pdf.
        translate pdf using ' ~'.
        concatenate gd_buffer pdf into gd_buffer.
      endloop.
      translate gd_buffer using '~ '.
      do.
        lt_objbin = gd_buffer.
        append lt_objbin.
        shift gd_buffer left by 255 places.
        if gd_buffer is initial.
          exit.
        endif.
      enddo.
* Cuerpo del mail
      CONCATENATE 'Se adjunta Pedido de Compra' PO_ORDER INTO lt_objtxt SEPARATED BY SPACE.
      APPEND lt_objtxt.
      DESCRIBE TABLE lt_objtxt LINES l_att_lines.
      READ TABLE lt_objtxt INDEX l_att_lines.
* Titulo del mail
      l_document_data-obj_descr = 'Envio de Pedido de Compra'.
      l_document_data-obj_name = 'Pedido'.
      l_document_data-sensitivty = 'F'.
      l_document_data-expiry_dat = sy-datum + 10.
      l_document_data-doc_size = ( l_att_lines - 1 ) * 255 + strlen( lt_objtxt ).
      l_document_data-obj_langu = sy-langu.
      lt_objhead = 'ORDERS'.
      APPEND lt_objhead.
* Configuración del cuerpo del mail
      CLEAR lt_objpack.
      REFRESH lt_objpack.
      lt_objpack-transf_bin = space.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
*      lt_objpack-body_num = 1.
      lt_objpack-body_num = l_att_lines.
      lt_objpack-doc_type = 'RAW'.
*      lt_objpack-doc_size = STRLEN( lt_objtxt ).
      APPEND lt_objpack.
* Configuración del archivo adjunto del mail
      DESCRIBE TABLE lt_objbin LINES l_att_lines.
      READ TABLE lt_objbin INDEX l_att_lines.
      clear lt_objpack.
      lt_objpack-transf_bin = 'X'.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 1.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_att_lines.
      lt_objpack-doc_type = 'PDF'.
      lt_objpack-obj_name = 'Pedido'.
      lt_objpack-obj_descr = 'Pedido de Compra'.
*      lt_objpack-doc_size = ( 255 * ( l_att_lines - 1 ) ) + STRLEN( lt_objbin-line ).
      lt_objpack-doc_size = 255 * l_att_lines.
      append lt_objpack.
* Lista de receptores
      SELECT u~bname a~smtp_addr
        FROM usr21 as u
        INNER JOIN adr6 as a
        ON u~persnumber = a~persnumber
        INTO TABLE lt_mails
        WHERE bname = receptor-objid.
      LOOP AT lt_mails.
        clear lt_reclist.
        refresh lt_reclist.
        lt_reclist-receiver = lt_mails-smtp_addr.
        lt_reclist-rec_type = 'U'.
        lt_reclist-com_type = 'INT'.
        APPEND lt_reclist.
      ENDLOOP.
* Envio del mail
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = l_document_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = lt_objpack
          object_header              = lt_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_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 NE 0.
        RAISE SENDING_FAILURE.
      ENDIF.
    ENDIF.
  ENDIF.
ENDFUNCTION.

I guess this could be one of the reasons, check you have authorizations on image.
Regards,
SaiRam

Similar Messages

  • I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.

    Hi all,
    I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.
    I have already set the preferences to for page view to low zoom settings, and page fit view settings, but it never opens the pdf. Please check and provide a solution asap.
    Thanks in advance!

    Most of the documents have sensitive info on them.  I will have to do some looking for some that i can share, but will get something to upload (dropbox) as soon as I can.
    Thanks for you help.

  • Why do I keep getting an error "insufficient data for an image" when opening a document

    why do I keep getting an error "insufficient data for an image" when opening a document in Adobe Reader XI 11.0.06

    I am also having this problem, especially with scanned documents. Since I need to download scanned documents in my work this is a big problem!Sometimes I can read but not save the document, sometimes one or two of the pages will be blank from the start. I have the latest version of Adobe Reader XI (11.0.10). I tried reducing the page zoom, a suggested workaround on this page: Acrobat: “Insufficient data for an image” error after updating to 10.1.4 or 9.5.2,  but that did not help at all. FWIW I use a Windows 8.1 PC with 4 GB RAM. I usually download PDFs from the internet using Firefox.

  • Reader version 9 not opening some files: error "insufficient data for an image"

    Adobe reader version 9 is having difficulties opening PDF's, mainly with PDF's that contain charts or jpg's.
    When using Google Chrome browser, I get the message "insufficient data for an image."
    I am using windows XP.  When I open these same PDF's using Internet Explorer, they display fine, but some of them don't print, and cause the printing spooler to malfunction, i.e., the print spooler begins turning itself off repeatedly, and then I can't print anything from any program. This print spooler problem is really difficult to solve. But I think all of this is originating from some inability of the current version of Adobe to handle some PDF's, which is a recent phenomenon. I've never had problems like this before with previous versions.

    I've had the same problem then it got "magically" fixed by itself. A big thanks to Adobe for their updates

  • PDF from postscript (ps2pdf) displays "Insufficient data for an image" error in Reader

    Hello,
    I'm not fully confident this is the best place for this, but I'll start here. Note that this is NOT the same as the issue that was recently fixed in Reader 11 (found at http://helpx.adobe.com/acrobat/kb/insufficient-data-image.html)
    I am using the command "ps2pdf" (using Ghostscript) to convert postscript files to PDF. To get better quality, I use the ps2pdf options "-dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode", which force lossless encoding for color images. However, there are images on certain pages that yield the error "Insufficient data for an image" when opened in Adobe Reader XI (current version), and the image on that page is not viewable (or rather, it can be viewed, but only until you get the whole image on the screen; then the image disappears). If the PDF is printed, the image will not print. The error also occurs in Acrobat 9.4.0, and possibly other versions. However, Reader 8 displays the files with no issues. Also, Foxit reader displays the PDF files fine.
    The postscript files are screenshots generated by the user dragging a box to define the area of the screen to be printed to file. This issue only occurs for some size boxes that the user draws; others come out fine and are read by Reader just fine.
    This only happens when using FlateEncode; using lossy JPEG compression (e.g. the default ps2pdf output) does not yield files that produce the error.
    Here are some example files to demonstrate the issue (hey, maybe the issue is not even reproducible for other people! That would be helpful to know if true, so even if you can't help solve the problem, if you could verify whether this issue occurs when you open one of these files in Reader or Acrobat, it would awesome).
    bad pdf where error occurs: http://www.mediafire.com/file/zbk36yfy7vrhvhw/gmbad.pdf
    good pdf (very similar, but slightly different box drawn): http://www.mediafire.com/file/649fuxul0td5bsx/gmgood.pdf
    Merged good and bad: http://www.mediafire.com/file/54nwwebh3da7p9w/good_and_bad.pdf
    If anyone has any ideas on this issue, I would greatly appreciate it. Or if you think this isn't the right place for this, and perhaps know of a better place for my question, I'd appreciate that too. Thanks!
    Additional possibly relevant information:
    ps2pdf is being run using Ghostscript 8.15 on Unix Solaris 10. I also ran the same postscript files through ps2pdf (again using Ghostscript 8.15) on a Windows 7 machine, and the resulting PDFs did not exhibit the same errors when opened in Reader or Acrobat.
    Adobe Reader 8 and 11, and Foxit were run on Windows 7. Acrobat 9.4.0 was run through a Citrix server, and I'm not sure what version of Windows it runs on.
    I tried lots of different options in ps2pdf, and also tried running the postscript through ghostscript directly (using the "gs" command). Nothing was able to eliminate the error without resorting to using lossy JPEG compression.
    I am now using lossy (but fairly high quality) JPEG compression in the workflow, accepting the loss in quality and (paradoxically) doubled filesize of the JPEG-compressed PDF files, so I'm really just pursuing this to figure out what the heck is going on, not because it is mission critical.
    Postscript files used to create the above pdfs:
    bad: http://www.mediafire.com/file/v656dp45h2jeyj6/gmbad.ps
    good: http://www.mediafire.com/file/47sn60dgbzbxrs6/gmgood.ps
    The .ps files are very similar to each other, differing only in the image content and the image location/translation.
    The postscript files give multiple warnings/errors when opened in gsview (this happens with all .ps files created by Pinnacle, not just the ones giving me issues).
    The program that is used to create the postscript files is Philips (Adac) Pinnacle^3, a treatment planning system for radiation oncology.

    Hi, thanks for getting back to me so quickly.  Our application uses scanned images up to 10 years old, and there are thousands of images so we cannot rescan these unfortunately.   
    I work in a large organisation with it's own desktop team so unfortunately I can't upgrade the version of Reader on our user's machines to see if this resolves either.  The desktop team will also not upgrade the version as the problem appears to have only started in 9.5.2. 
    Does anyone know how I can confirm if the problem was first seen in 9.5.2 or if there were instances in 9.5.1 also?
    Thanks again

  • "Insufficient data for an image" when opening a PDF, even with Adobe Reader 11.0.06

    I have extracted some pages from a large, scanned, PDF into a separate document, using a product called Nuance PDF Converter 7, and when we try to open that with Adobe Reader 11.0.06, we receive the error "Insufficient data for an image".  I have read that this error was supposed to be fixed with the latest version of Adobe Reader 11, but I have installed that, and it doesn't help.

    I am also having this problem, especially with scanned documents. Since I need to download scanned documents in my work this is a big problem!Sometimes I can read but not save the document, sometimes one or two of the pages will be blank from the start. I have the latest version of Adobe Reader XI (11.0.10). I tried reducing the page zoom, a suggested workaround on this page: Acrobat: “Insufficient data for an image” error after updating to 10.1.4 or 9.5.2,  but that did not help at all. FWIW I use a Windows 8.1 PC with 4 GB RAM. I usually download PDFs from the internet using Firefox.

  • Adobe Standard 9.5.2 after update I get "Insufficient data for an image" error

    After updating to Acrobat Standard and Readre 9.5.2, some (but not all) of my pdf files are now opening with the error "Insufficient data for an image." The files open, but they are fuzzy, pixelated and are missing the bates stamp I applied earlier (using a utility from LexisNexis Casemap). I can open the files fine on another computer with Acrobat Standard 9.5.1.
    How can I uninstall the 9.5.2, or get it to work again?

    Windows 7 64-bit with Samsung SSD on an i5 Lenovo laptop. Yes, I have both Acrobat Standard and Reader 9.5.2 on the machine. Both give the same error when opening the attached file.
    -Dan-
    [email protected]
    Date: Thu, 16 Aug 2012 23:06:52 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adobe Standard 9.5.2 after update I get "Insufficient data for an image" error
        Re: Adobe Standard 9.5.2 after update I get "Insufficient data for an image" error
        created by vamalik in Acrobat Installation & Update Issues - View the full discussion
    Hi osieko,Can you share across any such sample pdf file? Also, what OS are you working upon?You have both Acrobat Standard 9.5.2 and Reader 9.5.2 installed on your machine. Right? One option that you can try is to repair your Acrobat/Reader from Programs in Control Panel and see if that resolves the issue.Otherwise kindly attach a screenshot of the error you are receiving along with any sample pdf file.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4627764#4627764
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4627764#4627764. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Acrobat Installation & Update Issues by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • "insufficient data for an image" error using Firefox 3/Reader 9

    I find some PDF files won't open in Firefox (3.0.3), giving the error "insufficient data for an image". usually the first page displays (partly garbled), then when I try to page down, I get this error. The PDF files are fine -- if I "Save as" they open without problems and they open in IE6.
    The problem is not consistent: the same file will open at one attempt and not at the next (and vice versa).
    Anyone come across this problem?
    Thanks, Jim

    The same error occurs in Google Chrome and even in the actual reader itself when trying to open certain PDFs. Adobe is almost impossible to contact directly and there are few clues as to how to resolve this issue on their website.
    Not only were there "insufficient data for an image" errors, other errors also displayed, sometimes resulting in freezing the browser and forcing a Ctrl, Alt, Del / end program procedure.
    An uninstall and reinstall of Adobe 9 did not resolve the issue. After discussion with another user who did not have Adobe 9 installed, and was still using Adobe 8, it was clear that the issues surround Adobe 9. This was uninstalled and replaced with Adobe 8 and so far all documents that did not previously open now open without a problem.
    While one cannot with certainty verify whether this solution works with Firefox, it is clear that Adobe 9 has a number of issues. Backward compatibility may be one of them. Documents constructed to display on older readers obviously create problems for Adobe 9. An interesting point is that even with Adobe 9 installed, by uploading the direct link to the PDF in question to Google Docs, the document displays without a problem within Google Docs itself, though a download of the same reproduces the same errors as outlines above.
    So in summary, try uninstalling Adobe 9 and install Adobe 8. NB: it is advisable to close all browsers before initiating the new install to enable browser integration.
    Good luck.

  • The error was insufficient data for an image file.

    Dear All,
    Does anybody know why it is happening while opening a pdf file?
    insufficient data for an image file.
    Any Help in this regards,
    Rgds,
    Aligahk006

    Hello,
    I'm sorry you're having trouble. Unfortunately, this forum is for questions about Acrobat.com (www.acrobat.com) only; we can't help with problems experienced with other products. Here is a thread in the Adobe Reader forum that may pertain to your question:
    http://forums.adobe.com/thread/391798
    Here is a link to the Reader forum, in case you want to do your own search:
    http://forums.adobe.com/community/adobe_reader_forums/adobe_reader
    For future questions about Adobe Reader software, please use that forum instead. Thank you!
    Kind regards,
    Rebecca

  • "Insufficient data for an image" when opening file

    I am the administrator of a corporate environment.
    We have 25 users with Acrobat Standard 9 on Windows XP.
    ONE user is coming to me about an error "Insufficient data for an image" while trying to open some PDF files.
    There is no rhyme or reason to which files cause this error and it only effects her.
    I've looked online and seen alot of people complaining about this errror message, but no one with a solution.
    Can anyone assist?
    Thanks
    John

    Are these PDFs that have been received via e-mail ?
    In doing the research on this error, it seems that there isn'nt any commonality except that these are PDFs being received either from the web or via e-mail. In one case the fella solved it my realizing that the image was 24/bit but had been saved as 8/bit (not sure if that was a source problem or transfer issue). But that might have been a one off solution.
    A lot of users were complaining about this problem after receiving a PDF via e-mail. Sending PDFs through e-mail wthout using an archive format such as "zip/WinRAR" can be problematic as some e-mail servers/clients assume that the PDF is text and munge it.
    Is this one user using the same e-mail client with the exact same settings as everyone else ?

  • "Insufficient data for an image" error

    Licensee: Accenture
    Adobe Reader 10.0.1
    OS: Windows 7 Enterprise  x64
    Sub Product: ABCpdf .NET Version 6.1.1.5
    Hello,
    We are using ABC pdf to generate pdf reports in our website and then a mail sending routine executes and mail those reports to our clients. Some times when user recieves the mails then he is not able to see the reports properly using adobe reader X  and it shows "Insufficient data for an image" error. These reports are multiple page reports. Although reports saved at our end are genreted properly and we are able to open them proeperly. So is there any work around for this?
    Please let me know in case of any query.

    I checked out the link, that is the exact error I get when I open the file.  I tried the suggested Work Arounds.  Changing the zoom does not make the problem go away.  Optimizing the file and then saving it, and then opening the newly saved file does not fix it either.  Thanks for your time. , though.
    This file opens fine in earlier versions of Acrobat, no problem.

  • Error when opening legitimate documents "Insufficient data for an image"

    I work for a company who has sold "downloadable resources" via PDF for years now. We created a large batch of PDF documents in 2003 with
    Adobe Acrobat 6.0 paper capture, and these are all PDF 1.5 type documents. We've provided these resources for years, however just today we were notified by a user that upon downloading the file they get a message "Insufficient data for an image". These ARE NOT HACKED PDF's. and they worked fine until 9.0. I have tried 9.0 and 9.1, on multiple computers and have confirmed this issue.
    Now we are stuck with hundreds of PDF's that won't open in 9.x.
    I did try downloading a free demo of "PDF-TOOLS" Recovery & Analysis tool, and I open the file using that program, scan the file - TELLS ME ALL IS OK, then resave it using that program.
    Only then can I open it in 9.x.
    What are we to do now short of buying a $200 tool and taking perhaps several days of time to open and save hundreds of "previously working" PDF files???

    RollingRocker, did you ever get a solution for this? I am having the same problem. I produce a pdf using a JSF third party api called flying saucer, which actually uses itext to produce the pdf. I can attempt to produce the same exact pdf over and over and about 85% of the time the error occurs and the rest of the time the pdf opens successfully with no error. Obviously 15% of the time the reader is completely happy with this pdf, so it is not a malicious document in any way.

  • Reader XI (11.0.0) fails to fix "insufficient data for an image" error

    after updating to 10.1.4 we were getting numerous "insufficient data for an image" errors on some pages only.  These are documents (construction plans) scanned by a client and we have no control over their workflow or methods.  The device reported in the pdf file proerties is a Canon iR C3850. 
    The problem persists in Reader XI on both Win7-32bit and XP Pro SP3 PCs.  Rolling back to 10.1.3 was also ineffective.  Any ideas why the docmented fix does not work?
    Thanks.
    BC.

    Please see this 43.8 MB, 600 page, scanned book:
    http://archive.org/download/historyofmovies00hamp/historyofmovies00hamp.pdf
    Under Reader X it works fine.
    Thanks.

  • Insufficient data for an image error message

    Insufficient data for an image error message on latest version of adobe reader

    Change the zoom settings so you can see the contents of the document. Try reducing the Zoom factor, or click Fit One Full Page To Window. You can make this setting persistent (to avoid changing for every document) in Edit > Preferences > Page Display > Zoom > Fit Page.
    Resave the PDF in Acrobat (you can download trial from http://www.adobe.com/cfusion/tdrc/index.cfm?product=acrobat_pro&loc=us ) as an Optimized PDF, using the Standard PDF Optimizer settings, or as a Reduced File Size PDF.

  • Insufficient data for an Image in smartform as a PDF

    Hi Guys,
    I am sending a smartform by email as a PDF attachment.
    Everything is working fine, but the logo is not getting displayed.
    Whenever I am opening the PDF I am getting the pop up as "Insufficient data for an image".
    Thanks,
    Nikhil

    Hi Nkil,
    This can be related to the FlateDecode compression described in SAP Note #843480.
    The option 'FLATE_COMPR_OFF' needs to be set to 'On' via reprto RSTXPDF3 to turn off the FlateDecode compression.
    After switching off the FlateDecode compression, create another PDF and see if the problem is resolved?
    Regards,
    Aidan

Maybe you are looking for