Skip to Content
0
Former Member
Dec 01, 2011 at 12:21 PM

auto-mail in iw21

188 Views

I need to send auto-mail to the user in IW21 after saving the Notification.

I am working for it in User Exit ZXQQMU20 using method

CALL FUNCTION 'ZSEND_MAIL_ATTACHMENT' for sending mail.

But this User Exit fires on pressing the SAVE button. After sending the mail, It does Commit Work in the function Module,

which creates problem in saving the notification because of commit work.

Database is not going to update. and giving error of 'Status Management'.

Please tell me any method to send mail without commit work or

an User Exit or BADI which fires after saving the whole data.

Please help. thank You.