cancel
Showing results for 
Search instead for 
Did you mean: 

How to send the invoice doc. through the email to multiple recepients ?

Former Member
0 Kudos

Hi Experts,

I have a requirement to send the invoice document to multiple recepients through the email.

Do I need to repeat all the FMs "OPEN_FORM, START_FORM, WRITE_FORM, END_FORM and CLOSE_FORM' in the loop. Otherwise it is fine if we loop the FMs OPEN_FORM and CLOSE_FORM only ? Please confirm.

Thanks,

Sreenivas.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sreenivas,

You can try converting the spool to PDF using FM CONVERT_OTFSPOOLJOB_2_PDF and then send it as an attachment using FM SO_NEW_DOCUMENT_ATT_SEND_API1. This FM has a receiver parameter wherein you can place multiple email addresses, SAP IDs, etc.

br

ranilo

andrs_sarcevic
Contributor
0 Kudos

You can try converting the spool to PDF using FM CONVERT_OTFSPOOLJOB_2_PDF and then send it as an attachment using FM SO_NEW_DOCUMENT_ATT_SEND_API1.

I did say that, didn't I? Let's avoid duplicate replies.

Cheers,

Former Member
0 Kudos

Hello.

U need to loop any FM'S try to get the spool number and convert it to PDF.

Retrieve the multiple receipients whom u want to send and collect all these in a table then call the mail trigeering FM.

This is the easy way u can do.

Still u have doubts plz revert.

Tnx,

Arun.

andrs_sarcevic
Contributor
0 Kudos

You could convert the spool order to PDF with FM CONVERT_OTFSPOOLJOB_2_PDF and send it with FM SO_NEW_DOCUMENT_ATT_SEND_API1.

Cheers,