‎2007 Aug 10 2:35 PM
Hi
I'm sending pdf file by email but i have problem when i'm going to open this file, for example :
1.-problem when reading the document (16)
2.-Problem when reading the document(110)
I already saw others thread in this page but i don't know because it happens this.
i'm using the next FM in my program:
SSF_FUNCTION_MODULE_NAME, for search FM of my smartform
My smartforms FM
CONVERT_OTF, for change otf to pdf format
SO_NEW_DOCUMENT_ATT_SEND_API1, for send email
I need your Help
thanks
Gregory
‎2007 Aug 10 10:36 PM
I dont remember exactly but I think after using the OTF to PDF convertion you need to convert PDF again to another format . Use QCE1_CONVERT fm and attach this output table in SO_NEW_DOCUMENT_ATT_SEND_API1.
-Kriss
‎2007 Aug 13 1:52 PM
Hi
Ready, exactly i had a problem with OTF to PDF convertion.
I used this FM <b>SX_OBJECT_CONVERT_OTF_PDF</b>
Thanks for your answer
Regards
Gregory
‎2007 Oct 10 12:22 PM
hi kriss,
I want to send an email attachment(.pdf) to an external ID. I am using followin FM in sequence,
'CONVERT_OTF' to covert OTF data to PDF.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOCUMENT
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = IT_PACKING
CONTENTS_BIN = IT_CONTENTS_BIN
CONTENTS_TXT = IT_CONTENTS_TXT
RECEIVERS = IT_RECEIVERS.
Here when i download the pdf form, it's working fine but when i am sending the mail and then opening attachment of that mail , it's giving an error "Token BT70.5 not found". So the error comes when we open the PDF form which has been sent in mail.
Note: I am working on SAP R/3 4.7
Replay ASAP.
Thanks in Advance
‎2007 Oct 10 12:22 PM
hi Gregory,
I want to send an email attachment(.pdf) to an external ID. I am using followin FM in sequence,
'CONVERT_OTF' to covert OTF data to PDF.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOCUMENT
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = IT_PACKING
CONTENTS_BIN = IT_CONTENTS_BIN
CONTENTS_TXT = IT_CONTENTS_TXT
RECEIVERS = IT_RECEIVERS.
Here when i download the pdf form, it's working fine but when i am sending the mail and then opening attachment of that mail , it's giving an error "Token BT70.5 not found". So the error comes when we open the PDF form which has been sent in mail.
Note: I am working on SAP R/3 4.7
Replay ASAP.
Thanks in Advance