cancel
Showing results for 
Search instead for 
Did you mean: 

Logo in Email and smartform

Former Member
0 Kudos

Hi,

I'v created a smartform which has a logo in it.

This smartform is being called in a Portal.

Smartform is properly getting displayed in .pdf format in the portal but when the same smartform which has to be displayed in an E-mail , the logo is missing,

The text and other contents being intact.

Can anyone please let me know,why the logo is missing in the E-mail.

Thanks,

Swe.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I am also facing the same problem. Can you please give me a detail example from smartform to Email attachment.

Thanks n Regards,

Magesh Basavaraj.

former_member186143
Active Contributor
0 Kudos

I had a similiar problem a few years ago where I send the pdf as attachment and only the logo got corrupted

at first we translated the spool to pdf, we changed that to otf to pdf and the problem was solved.

we just used sapscript and there we had to change the open form and close form also.. don't know how it works regarding smartforms.

here the function to translate to otf

kind regards

arthur de smidt



* Attachment opbouwen

* OTF-tabel converteren naar tabel van format solix
  LOOP AT t_attachment.
    MOVE t_attachment TO wa_objbintmp-line.
    APPEND wa_objbintmp TO t_objbintmp.
  ENDLOOP.

  DESCRIBE TABLE t_objbintmp LINES tablines.
  READ TABLE t_objbintmp INTO wa_objbintmp INDEX tablines.
  tabsize = ( tablines - 1 ) * 255 + STRLEN( wa_objbintmp ).
  MOVE t_objbintmp[] TO t_cont_txt[].
* OTF converteren naar PDF
  CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
       EXPORTING
            format_src      = 'OTF'
            format_dst      = 'PDF'
            devtype         = 'MAIL'
*           FUNCPARA        =
       CHANGING
            transfer_bin    = xtransfer_bin
            content_txt     = t_cont_txt
            content_bin     = t_cont_bin
            objhead         = objhead_att
            len             = tabsize
       EXCEPTIONS
            err_conv_failed = 1.