Sending emails on Hiring/Firing/Retirement

Use dynamic actions (IT0000) to send emails for hiring and terminating actions 
from PA40. This is sample code: 

0001 06 100 ** SEND MAILS ON TERMINATIONS OR 
RETIRES 
0001 06 105 P PSPAR-MASSN=’Z5’/X “TERMINATION 
0001 06 110 P PSPAR-MASSN=’Z7’/X “RETIREMENT 
0001 06 115 M ZM01T 

where ZM01T is a feature maintained via PE03 (copy of M001) in which you 
specify the standard text message and distribution list. 


The trickier part is that the email goes to 
SAPmail, so you have to know how to configure the SAPmail/workplace to your 
own email server.