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.
Showing results for 
Search instead for 
Did you mean: 

Mail not sent while using the shared distribution list

0 Kudos


I m using ALV for output and i want to send mail while the program is running in the background.

I have used the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send the email. I have also created the distribution list in SO02 where i have given the email ids in which the mails are to be sent.

I m using internal table i_reclist which includes the structure "somlreci1".

Now the issue is that

case 1:

i_reclist-receiver = ''.

i_reclist-rec_type = 'U'.

APPEND i_reclist.

Mail is sent to the following person....

case 2:

i_reclist-receiver = 'z_distirbution'.

i_reclist-rec_type = 'C'.

APPEND i_reclist.

now the program is not sending any emails..??

Can u Plz help on this issue urgently...

Thanks in advance......


Former Member
0 Kudos

Active Contributor
0 Kudos


Can u try appending these other parameters.......

i_reclist-receiver = 'z_distirbution'.

i_reclist-rec_type = 'C'.

i_reclist-sndpri = '1'.

i_reclist-sndart = 'INT'.

i_reclist-mailstatus = 'E'.

If you already did so then check the status in SCOT transaction.