2014 Apr 30 11:38 AM
Hi ,
In my requirement i am send attachment to external send using open_form function module with email content blank,So now my requirement is add 2 to 3 line email content should come in external mail with attachment through open_form function module for that any one can help me if faced this kind of object it will be very help full for me.
Thanks,
2014 Apr 30 12:21 PM
2014 Apr 30 1:55 PM
Hi,
If i will use cl_bcs my attachment pdf going corrupt,any solution through open_form function module.
Thanks,
2014 Apr 30 4:19 PM
Hi,
Please look at http://scn.sap.com/message/14309154#14309154
http://scn.sap.com/servlet/JiveServlet/download/14309154-180712/y_r_eitan_test_10_02.txt.zip
Program y_r_eitan_test_10_02 FORM mail_1_prep_4
It is using the otfdata to create pdf attachment .
Regards.
2014 Apr 30 2:44 PM
Hi,
Trying using the FM - SO_DOCUMENT_SEND_API1.
Regards,
Suresh
2014 May 01 2:05 PM
Hello Sir,
I want to send through function module open_form only,If i use some other function module means its corrupting that file while converting from otf to pdf.So through open_form email body content is possible then send me some sample coding it will be very help full.
Thanks,
2014 May 01 2:32 PM
Hi Pradeep,
Use below function modules.
CONVERT_OTF
SX_TABLE_LINE_WIDTH_CHANGE
SO_NEW_DOCUMENT_ATT_SEND_API1
Thanks,
Ashok.
2014 May 01 3:43 PM
Hi Ashok,
Already i have these function modules while that otf converting pdf file getting corrupting or encoded error,This is support work this script is 9 yrs old,So please suggest me how i can get email content 2-3 line in body of email through function module open_form because before some is converting all those converting part using open_form.
Thanks.
2014 May 01 5:51 PM
Hi,
Is your solution using DEVICE = 'MAIL' when calling OPEN_FORM? If yes, please read through OSS Note 311037 - Printing using e-mail. You should be able to define up to 10 lines, as a static cover page for printouts sent via mail (I have not verified if this works). If that doesn't suffice, you are out of luck, I'm afraid. You'd be better off sorting out the otf to pdf conversion problem.
Edit in: alternatively, you could of course try to extend FM SO_OBJECT_SEND via implicit enhancement... All you really need to do there is to populate the table NOTE_TEXT, which will then get converted into e-mail body Create a singleton to hold text, set text in in the driver program before open_form, get it in the implicit enhancement at the beginning of SO_OBJECT_SEND, and, if note_text is empty, take over your text and clear the singleton instance...
cheers
Janis
Message was edited by: Jānis B