Wednesday, 28 August 2013

SAP- E-Mail not sent to distribution list

In some cases after SAP upgrade to SAP ECC 6.0 EHP 6.0, mails triggered through custom program will not work.

The reason behind is, the functional module SO_NEW_DOCUMENT_SEND_API1 is no more valid, hence if this function module is used the mail send program will not work.

There are two solutions for this

1) Use CL_BCS function module instead of SO_NEW_DOCUMENT_SEND_API1.

2) Add parameter in the program for the function module SO_NEW_DOCUMENT_SEND_API1
with  COMMIT_WORK='X'.

Please check the following SAP Notes:-

Note 629786 - E-mail is not sent to distribution list

Note 759587 - E-mail is not sent to distribution list

For more information on different function modules used for mail sending is explained in the below link,



No comments:

Post a Comment

Pages