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

Extra emails using SO_NEW_DOCUMENT_ATT_SEND_API1.

Former Member
0 Likes
420

Hello,

I have a requirement to send Purchase order email to a group of people besides the vendor.

I set the configuration to send the first email to the vendor and it is working fine.

I would like to use SO_NEW_DOCUMENT_ATT_SEND_API1 to send the SAME EMAIL to a group of persons but I am not sure where to read the information of the already generated email to populate the FM.

I saw some code in the forum to read the form and send it with SO_NEW_DOCUMENT_ATT_SEND_API1, but I could not find where you enter the Purchase Order number to generate the form in base of it.

Could anybody help me to understand how to populate SO_NEW_DOCUMENT_ATT_SEND_API1 with the information of the already generated email?

Thank you.

Monica.

3 REPLIES 3
Read only

former_member187255
Active Contributor
0 Likes
382

Monica,

You can Create a Distribution List with all the emails... and pass that Distribution List when ur calling SO_NEW_DOCUMENT_ATT_SEND_API1.

Hope this helps.

Chandra.

Read only

0 Likes
382

Hi Chandra,

Thank you for your answer.

I did a little more research and realized that the email sent is not stored. This takes me to the option of emailing a SAPscript form with my PO.

I found some code in the forum to email a SAPscript but I do see where you enter the PO number or the reference to it.

Do you know?

Monica.

Read only

0 Likes
382

Monica,

I am not sure but .. if you need any help sending email to Distribution List .. then let me know..

Thanks,

Chandra.