Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function moduls to create csv-file and send it per mail

Former Member
0 Likes
953

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
635

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

3 REPLIES 3
Read only

Former Member
0 Likes
636

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

Read only

0 Likes
635

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

Read only

0 Likes
635

refer standard report-

BCS_EXAMPLE_7

or this [LINK|http://wiki.sdn.sap.com/wiki/display/ABAP/SendingMails-HomePage]

Sumit