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

How we should write the code for generating email

0 Likes
887

Hello everyone, I am working with project and i need to write the code for generating email can any one help me out.

3 REPLIES 3
Read only

former_member187007
Active Participant
0 Likes
773

Hello Mortha, you could use function module SO_DOCUMENT_SEND_API1, that's one way to do it. In this blog there is an example.

Regards.

Jhon Jairo.

Read only

Former Member
773

You can use CL_BCS Class for generating email.

Please refer to programs BCS_EXAMPLE_* for sample implementations.

Read only

BGarcia
Active Contributor
0 Likes
773

Hi Mortha,

Just to add one more alternative:
https://wiki.scn.sap.com/wiki/display/Snippets/Abap+-+Sending+email+with+class+CL_CRM_EMAIL_DATA

You have plenty of choices 🙂

Kind regards,
Garcia