Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

auto-mail in iw21

Former Member
0 Likes
863

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.

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.

2 REPLIES 2
Read only

Former Member
0 Likes
633

Hi,

perhaps you can use the BTE: PM000010.

Have a look into tcode FIBF.

Hope it helps.

Regards, Dieter

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
633

Which function module are you using to send email. Dont use commit work as SAP will also do a commit.

Nabheet