cancel
Showing results for 
Search instead for 
Did you mean: 

Image is not coming in the PDF

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

aidan_black
Active Contributor
0 Kudos

Hi,

See trhread . Check if it helps to set the 'FLATE_COMPR_OFF' option via RSTXPDF3.

Regards,

Aidan

Former Member
0 Kudos

Hi Nikhil,

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

It may help you.

Thanks and Regards,

Prakash K