Application Development 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: 

Please Help in implementing Email Notification utility

Former Member
0 Kudos

Hello,

I am planning to implement a email notification utility in my system when a update is happening in user administration.

Can any one please suggest me how to proceed and implement this?

Any suggestion in this regard will help me a lot.

Regards,

Sujith

Edited by: Sujith K on Aug 1, 2008 3:05 PM

2 REPLIES 2

Former Member
0 Kudos

Hi,

Find out in which tcode you want to implement the email facility. Then write a program to send email. Say for example we have done a program when backup has been made. Automatically when we run this program the latest backup details will be sent to the email id's mentioned in the selection screen.

ian_maxwell2
Active Participant
0 Kudos

Some Options:

1) There is a BOR object called "USER" (Refer to transaction SWO1). The object has an event on it called "USER.Cloned" which has the description "User created or changed". Based on this I think that you should be able to configure a workflow to be triggered on change of a user and the sending of an eMail.

2) Utilize an enhancment point in the user maintance API to send an eMail. Note, there are several different functions and classes for sending eMails, you can search the forum for the specifics.

3) Utilize the change documents on the user master tables to trigger change pointers. If you refer to the program RSUSR100 you'll see how SAP handles the change documents for the user master, which I think is slightly different then other change documents. This would then require a batch program to run at certain intervals, pick up the changes and send an eMail.

4) Also maybe investigate the CUA APIs to see if there is a hook in there that you could use to do the trigger.

~Ian