on 08-24-2009 12:38 PM
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
Hi Jon,
Try to upload the logo once again in the smartform and check it.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jon,
Try to give the resolution as 200
Hope this helps you.
Regards,
Rajani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How did you attach the form to the mail. Did you generate the spool and used that spoll to create mail..
Regards
Ansari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
hi
Check the Resolution *** DPI
surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.