‎2010 May 05 11:03 AM
Hello,
we have the following requirement.
We created an eventhandler.
Inside this eventhandler we built up an internal table with 1-n entries.
Now we want to create a csv-file or excel-file in background and send it to the users mailadress.
Are there standard function modules which we can use for this requirement.
We can´t download the file directly to the users client with cl_gui_frontend_services because we are not in SAP GUI but in CRM Webclient UI.
Thank you
Best regards
Manfred
‎2010 May 05 11:10 AM
dont know if your CRM Webclient UI will make any difference, but you have a lot of threads for sending mails with attachments.
use FM SO_NEW_DOCUMENT_ATT_SEND_API1
revert if you have issues..
Regards,
Sumit
‎2010 May 05 11:10 AM
dont know if your CRM Webclient UI will make any difference, but you have a lot of threads for sending mails with attachments.
use FM SO_NEW_DOCUMENT_ATT_SEND_API1
revert if you have issues..
Regards,
Sumit
‎2010 May 05 11:24 AM
hello,
thank you.
a coding example would be very helpfull.
the internal table shall be added as csv-attachment to the mail and the recipient shall be the current user.
Thanks a lot in advance.
Kind regards
Manfred
‎2010 May 05 11:48 AM
refer standard report-
BCS_EXAMPLE_7
or this [LINK|http://wiki.sdn.sap.com/wiki/display/ABAP/SendingMails-HomePage]
Sumit