Skip to Content
author's profile photo Former Member
Former Member

Image is not coming in the PDF

Hi all,

I am using the FM "CONVERT_OTFSPOOLJOB_2_PDF" to convert my smartform to PDF

CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
      EXPORTING
        src_spoolid              = lv_rspoid
        no_dialog                = ' '
      IMPORTING
        pdf_bytecount            = lv_numbytes
        pdf_spoolid              = lv_pdfspoolid
      TABLES
        pdf                      = i_pdf1

Then I am using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1" to send it as email attachment.

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              = wa_objhead
      contents_bin               = i_objbin
      contents_txt               = i_objtxt
      receivers                  = i_reclist

Everything is working fine only the logo is not coming in the PDF.

When I am opening the PDF document it is giving me a Popup "An Error Exixts on this page. Acrobat may not be able to display the page correctly".

Regards,

Niks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2011 at 12:05 PM

    Hi Nikhil,

    Where you tried with the Function Module CONVERT_OTF , to convert to PDF.

    It may help you.

    Thanks and Regards,

    Prakash K

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 18, 2011 at 03:50 PM

    Hi,

    See trhread pdf-conversion-issue-images-are-not-print-properly. Check if it helps to set the 'FLATE_COMPR_OFF' option via RSTXPDF3.

    Regards,

    Aidan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.