cancel
Showing results for 
Search instead for 
Did you mean: 

logo not good

Former Member
0 Kudos

Hi i have attached a smartform to a mail, but the logo that is in the top does not appear right.

Does anybody know why, i have used the ztest_nreddy_pdf_mail to develop this.

Thanx

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jon,

Try to upload the logo once again in the smartform and check it.

Regards,

Sravanthi

Answers (4)

Answers (4)

Former Member
0 Kudos

hi

Adjust and theResolution or Change the dimensions of the logo in PAINT or PCITURE EDITOR and use the below links to send the mail

Check this link

http://www.abapcode.info/2007/06/smartform-to-mail-as-pdf-attachment.html

SMART form to PDF

https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertSmartformtoPDFformat

smartform to MAIL

https://wiki.sdn.sap.com/wiki/display/Snippets/SmartformtoMailasPDF+attachment

http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

Surya

Former Member
0 Kudos

Hi Jon,

Try to give the resolution as 200

Hope this helps you.

Regards,

Rajani

Former Member
0 Kudos

Hi,

How did you attach the form to the mail. Did you generate the spool and used that spoll to create mail..

Regards

Ansari

Former Member
0 Kudos

this way

CALL FUNCTION u2018CONVERT_OTFu2019

EXPORTING

FORMAT = u2018PDFu2019

MAX_LINEWIDTH = 132

IMPORTING

BIN_FILESIZE = V_LEN_IN

TABLES

OTF = I_OTF

LINES = I_TLINE

EXCEPTIONS

ERR_MAX_LINEWIDTH = 1

ERR_FORMAT = 2

ERR_CONV_NOT_POSSIBLE = 3

OTHERS = 4.

  • Fehlerhandling

IF SY-SUBRC <> 0.

ENDIF.

LOOP AT I_TLINE.

  • importante meterlo asi

TRANSLATE I_TLINE USING u2018 ~u2019.

CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.

ENDLOOP.

TRANSLATE WA_BUFFER USING u2018~ u2019.

DO.

I_RECORD = WA_BUFFER.

APPEND I_RECORD.

SHIFT WA_BUFFER LEFT BY 255 PLACES.

IF WA_BUFFER IS INITIAL.

EXIT.

ENDIF.

ENDDO.

Former Member
0 Kudos

hi

Check the Resolution *** DPI

surya

Former Member
0 Kudos

i've checked the resolution of the logo in the se78 and it's of 75 dpi, i have read that it must be 600 am i right?