on 11-23-2011 5:06 PM
Hello,
I have a requirement to fetch order attachment and email it on save event. Also if possible a URL to an attachment in the same email. I am trying to use CL_CRM_DOCUMENTS class & method SEND_DOCUMENTS but it is popping the standard send email screen and then we need to click on send button to process it. As my code needs to be run in the background how to handle this situation.
Or is there any other way to send existing attachment as email.
Rgds,
Shobhit
Hello, Shobhit.
Try to use a class CL_DOCUMENT_BCS.
Check [this wiki|http://wiki.sdn.sap.com/wiki/display/Snippets/Sending+attachmentusingcl_bcsclasses] and [this blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1135] [original link is broken] [original link is broken]; for details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.