‎2007 Feb 21 2:21 PM
Hi,
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 = 'john.x@abc.com'.
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......
‎2007 Feb 21 2:34 PM
Hi,
chk the following links:
http://www.sapfans.com/forums/viewtopic.php?p=743119&sid=ed01e43e860afd39624bd5d867064df6
regards,
madhumitha
‎2007 Feb 21 2:46 PM
Praveen,
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.
Regards.