Skip to Content
0
Former Member
Mar 17, 2009 at 02:24 PM

Issue while mail triggering using function module SO_NEW_DOCUMENT_SEND_API1

344 Views

Hi all,

I have requirement to send mails from BADI.For that i used following function modules-SO_NEW_DOCUMENT_SEND_API1

and

SO_NEW_DOCUMENT_ATT_SEND_API1,

Both of these two function module requires to use COMMIT WORK statement.

But if we use COMMIT WORK statement in BADI a run time error is occuring as its not allowed in BADI.

Can anybody provide solution for this or provide another function module.

Thank you.