2008 Jun 22 10:00 AM
Hi,
I am calling FM in update task in BADI.
FM in turn calls FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send email notification.
I have passed one parameter commit work = 'X' so that e-mail can be send.
While execution i received a dump stating external commit is not in update task.
Is there any way to send e-mails in FM which is called in update task.
Rgds,
Ganesh
Hi,
I am calling FM in update task in BADI.
FM in turn calls FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send email notification.
I have passed one parameter commit work = 'X' so that e-mail can be send.
While execution i received a dump stating external commit is not in update task.
Is there any way to send e-mails in FM which is called in update task.
Rgds,
Ganesh
2008 Jun 22 12:41 PM
Hi,
Call function 'SO_NEW_DOCUMENT_ATT_SEND_API1' in background task
exporting commit = 'X'
Cheers.
...Reward if useful
2008 Jun 23 3:59 AM
2008 Jun 23 7:27 AM
Hi Ganesh,
I think this is a Standard Error that happens with SO_NEW_DOCUMENT... I think there's a SAP Note for this.
Regards,
Sai
2008 Jun 24 1:38 PM
Explicit commit work does not work in update task and mostly this is seen and faced in transactions like PA30 PA40 etc... our developer faced it and nothing worked..
we searched on net and found following utility program it is not free but it puts back all SO-672 '"still no entry in queue" messages back in queue and from there our standard process sends them as normal...program can be scheduled in backgroud or can be used as SUBMIT REPORT syntax in update task.. we have scheduled it every half an hour...
this is working for us...see if it works for u or not...
Kindly reward points if useful...
2008 Aug 21 12:42 PM
thanks Michell...this program worked for me and now my client is happy...
2008 Oct 08 10:45 PM
We tried this program for single address. It works great. Have you tried sending e-mail using distribution list? We are facing problem using Distribution list. For some reason we see entries on SOST for all the recipients of Distribution list but actual send RSCONN01 sends the first one while giving following error fort the remaining entries.
Internal error: SO_OBJECT_MIME_GET Exception: 3
Any help on this would be great.
Thanks.
2008 Oct 16 9:36 AM
Hi Narayan Tendolkar ,
At my client its working fine for single entry and also for distribution list.Just make sure SOST settings are proper.If possible try to debugg RSCONN01 with the help of technical consultant.This debugging might tell you where exactly the problem is.
Thanks & Regards,
Birju Shah
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |