‎2010 Sep 27 8:39 AM
Hi,
We have a workflow configured for the change of PO.
When a PO has error during the changes, system will send email users from distribution list triggered by workflow.
The email code should send one email with same content only BUT we have received duplicated email.
Please suggest me any reason of this!
Thanks,
Khanh
‎2010 Sep 27 8:44 AM
check receiver list which is passed to FM.
sort the internal table holding receivers and then delete adjacent duplicates from the list and check again.
‎2010 Sep 27 8:47 AM
Hi!
You might check out the transaction SOST for the sent e-mails from SAP.
An another possible problem, you have to check the receivers of the SO_DOCUMENT_SEND_API1 FM. You might check, is your SO_DOCUMENT_SEND_API1 fm called 2 times somehow or not?
Regards
Tamá
‎2010 Sep 27 9:05 AM
Hi ,
THanks for your quick promt.
Since this is using workflow so I cannot do debug.
1. I use a global variable to count how many times this function is called and the answer is 1.
2. There is only one user in the distribution list. I only hard-coded the receiver to one person only - same result.
Please advice me!
Thanks,
Khanh
‎2010 Sep 27 10:53 AM
Hi Khanh,
Please check the workflow log and also T-Code SOST.
Regards,
Ramu N.
‎2010 Sep 28 3:05 AM
Hi all,
We check with the workflow guy, he configured the event Change two times by mistake instead of Change and Cancel.
Thank you all for your time!
Nice week!
Thanks,
Khanh