Application Development 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: 

smartform mail to external id

Former Member
0 Kudos

Hi,

I'm using FM ' SO_NEW_DOCUMENT_ATT_SEND_API1 ' to send mails to sap id. but when i tried it, giving non sap id i.e. external mail id, it did not deliver.

Please tell me what is the procedure to send mail to external id's?.

Also tell me how to create a distribution list with multiple user-id's in SAP.

Regards,

Subbu.

3 REPLIES 3

Former Member
0 Kudos

check this include : RPTREQ_MAIL

Former Member
0 Kudos

HI,

CLEAR t_receivers.

REFRESH t_receivers.

t_receivers-receiver = ld_email.

t_receivers-rec_type = 'U'. -


> External Email

t_receivers-com_type = 'INT'.

t_receivers-notif_del = 'X'.

t_receivers-notif_ndel = 'X'.

APPEND t_receivers.

For Distribution list

t_receivers-receiver = ld_distlist.

t_receivers-rec_type = 'C'. -


> Distribution list

Refer to this link..https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/smartformSendvia+Email

Use Tcode SO15/SO23 to Create the Distribution list.

Former Member
0 Kudos

answered